/* Doorguide - Premium Design System */
/* Based on prototype: Dark green + warm accent */

:root {
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --accent: #D4A373;
    --accent-light: #FAEDCD;
    --bg: #FAFAF8;
    --bg-card: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E8E5E0;
    --success: #059669;
    --danger: #DC2626;
    --warning: #F59E0B;
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1100px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.page {
    padding: 2rem 0;
}

/* Navbar */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand:hover {
    text-decoration: none;
    color: var(--primary);
}

.navbar-brand .logo-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

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

.navbar-nav a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.navbar-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-user-name {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.navbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.card-accent {
    background: var(--accent-light);
    border-color: rgba(212, 163, 115, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Section title (with icon) */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.section-title .icon {
    font-size: 1.375rem;
}

.section-title h3 {
    margin: 0;
    font-size: 1.125rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.badge-success {
    background: rgba(5, 150, 105, 0.08);
    color: var(--success);
}

.badge-muted {
    background: rgba(107, 114, 128, 0.08);
    color: var(--text-muted);
}

.badge-accent {
    background: rgba(212, 163, 115, 0.15);
    color: var(--accent);
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    text-decoration: none;
    opacity: 0.85;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
}

.btn-secondary {
    background: var(--accent-light);
    color: var(--primary);
    border: 1px solid var(--border);
}

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

.btn-ghost {
    background: transparent;
    color: var(--primary);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: #047857;
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s ease;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary);
}

/* Flash messages */
.flash {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flash-success {
    background: rgba(5, 150, 105, 0.08);
    color: #065F46;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.flash-error {
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.flash-warning {
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ==================== */
/* LANDING PAGE         */
/* ==================== */

.hero {
    text-align: center;
    padding: 5rem 2rem 3.75rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 163, 115, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero .subtitle {
    font-size: 1.1875rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 2.5rem 0 5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* How it works section */
.how-it-works {
    background: var(--primary);
    padding: 4rem 2rem;
    color: #fff;
}

.how-it-works-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 3rem;
    font-weight: 700;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.how-it-works-step .step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.how-it-works-step h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.how-it-works-step p {
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Domain badges */
.domains {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.domains-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.domains-list {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.domain-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==================== */
/* DASHBOARD            */
/* ==================== */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin: 0;
}

.dashboard-header .subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Property list (list style like prototype) */
.property-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.property-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.property-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.property-card-info {
    flex: 1;
}

.property-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}

.property-card-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}

.property-card-address {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.property-card-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
}

.property-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ==================== */
/* EDITOR               */
/* ==================== */

/* Pill-style tabs (like prototype) */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.625rem 1.125rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

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

.tab.active {
    border: 2px solid var(--primary);
    background: rgba(27, 67, 50, 0.03);
    color: var(--primary);
}

.tab-content,
.tab-content-extra {
    display: none;
}

.tab-content.active,
.tab-content-extra.active {
    display: block;
}

/* Link sharing card */
.link-card {
    margin-bottom: 1.25rem;
    background: var(--accent-light);
    border: 1px solid rgba(212, 163, 115, 0.25);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.link-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.link-card-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.link-card-url {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.link-card-password {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.link-card-divider {
    height: 1px;
    background: rgba(212, 163, 115, 0.3);
    margin: 0.25rem 0;
}

.link-card-staff {
    background: var(--bg-card);
    border-color: var(--border);
    margin-top: 0.5rem;
}

.link-card-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.625rem;
}

/* Image gallery */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.image-item-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* ==================== */
/* GUEST PASSWORD       */
/* ==================== */

.password-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--primary);
    padding: 1.25rem;
}

.password-box {
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.password-box .logo-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.password-box h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.password-box .address {
    color: rgba(255,255,255,0.56);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.password-box .subtitle {
    color: rgba(255,255,255,0.56);
    margin-bottom: 2rem;
}

.password-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    text-align: center;
    outline: none;
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.password-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.password-input:focus {
    border-color: var(--accent);
}

.password-box .btn-accent {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
}

.password-footer {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

.password-footer a {
    color: rgba(255,255,255,0.25);
}

.password-footer a:hover {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.password-box .flash {
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.3);
    margin-bottom: 1rem;
}

/* ==================== */
/* GUEST VIEW           */
/* ==================== */

.guest-page {
    background: var(--bg);
    min-height: 100vh;
}

.guest-hero {
    background: var(--primary);
    padding: 2.5rem 1.25rem 3rem;
    text-align: center;
    color: #fff;
    border-radius: 0 0 2rem 2rem;
}

.guest-hero-subtitle {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.guest-hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.375rem;
}

.guest-hero-address {
    opacity: 0.7;
    font-size: 0.9375rem;
}

.guest-hero-host {
    opacity: 0.5;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

.guest-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.guest-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.guest-quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    padding: 1.25rem;
}

.guest-quick-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.guest-quick-card .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: monospace;
}

.guest-quick-card .value-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.guest-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.guest-card-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.guest-card-title .icon {
    font-size: 1.375rem;
}

.guest-card-title h3 {
    margin: 0;
    font-size: 1.125rem;
}

.guest-wifi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-wifi-name {
    font-weight: 600;
    font-size: 1rem;
}

.guest-wifi-pass {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.guest-rule {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.guest-rule:last-child {
    border-bottom: none;
}

.guest-checkout-card {
    background: var(--accent-light);
    border: 1px solid rgba(212, 163, 115, 0.25);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.guest-checkout-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0;
    font-size: 0.875rem;
}

.guest-checkout-time {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--primary);
    margin-top: 0.75rem;
}

.guest-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.guest-contact-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.guest-section {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.guest-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 1.5rem 1rem;
}

.guest-footer a {
    color: var(--text-muted);
}

.guest-footer a:hover {
    color: var(--primary);
}

/* ================================= */
/* GUEST GUIDE V2 (g2-*)             */
/* ================================= */

/* Hero */
.g2-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3.5rem 1.25rem 4rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.g2-hero--img {
    background-size: cover;
    background-position: center;
    padding: 5rem 1.25rem 5rem;
}

.g2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,67,50,0.88) 0%, rgba(45,106,79,0.82) 100%);
}

.g2-hero--img .g2-hero-overlay {
    background: linear-gradient(180deg, rgba(27,67,50,0.7) 0%, rgba(27,67,50,0.92) 100%);
}

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

.g2-hero-welcome {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.g2-hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}

.g2-hero-room {
    font-size: 1.0625rem;
    opacity: 0.85;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.g2-hero-address {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    opacity: 0.7;
    font-size: 0.9375rem;
}

.g2-hero-address svg {
    flex-shrink: 0;
}

.g2-hero-host {
    opacity: 0.5;
    font-size: 0.8125rem;
    margin-top: 0.625rem;
}

.g2-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1;
}

/* Sticky Navigation */
.g2-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.g2-nav-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.g2-nav-inner::-webkit-scrollbar {
    display: none;
}

.g2-nav-link {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

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

.g2-nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* Content area */
.g2-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

.g2-section {
    margin-bottom: 0.5rem;
}

.g2-section-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.25rem;
}

/* Essential quick cards */
.g2-essentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.g2-ecard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

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

.g2-ecard[data-copy]:active {
    transform: scale(0.97);
}

.g2-ecard--copied {
    border-color: var(--success) !important;
}

.g2-ecard--copied::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 150, 105, 0.06);
    pointer-events: none;
}

.g2-ecard-icon {
    margin-bottom: 0.625rem;
}

.g2-ecard-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.g2-ecard-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.g2-ecard-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.g2-ecard-copy {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.g2-ecard--copied .g2-ecard-copy {
    color: var(--success);
    font-weight: 600;
}

.g2-mono {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: 0.05em;
}

/* Cards */
.g2-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.g2-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
}

.g2-card-header-left {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.g2-card-header h3 {
    font-size: 1.0625rem;
    margin: 0;
}

.g2-card-icon {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.g2-card-icon svg {
    stroke: var(--primary);
}

.g2-card-icon--danger svg {
    stroke: var(--danger);
}

.g2-card-body {
    padding: 0 1.25rem 1.25rem;
}

/* Expandable cards */
.g2-card--expandable .g2-card-header {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.g2-card--expandable .g2-card-header:hover {
    background: rgba(0,0,0,0.015);
}

.g2-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.g2-card--expandable[data-expanded="false"] .g2-chevron {
    transform: rotate(-90deg);
}

.g2-card--expandable[data-expanded="false"] .g2-card-body {
    display: none;
}

.g2-text-block {
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-line;
    color: var(--text);
}

/* Rules grid */
.g2-rules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.g2-rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.g2-rule-chip--no {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
}

.g2-rule-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Checkout checklist */
.g2-card--checkout {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.g2-checkout-progress {
    height: 3px;
    background: rgba(0,0,0,0.06);
    margin: 0 1.25rem;
}

.g2-checkout-progress-bar {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.g2-checkout-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: opacity 0.2s;
}

.g2-checkout-item:last-of-type {
    border-bottom: none;
}

.g2-checkout-cb {
    display: none;
}

.g2-checkout-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}

.g2-checkout-check svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.g2-checkout-cb:checked + .g2-checkout-check {
    background: var(--success);
    border-color: var(--success);
}

.g2-checkout-cb:checked + .g2-checkout-check svg {
    opacity: 1;
    transform: scale(1);
}

.g2-checkout-text {
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.2s;
}

.g2-checkout-item--done .g2-checkout-text {
    text-decoration: line-through;
    opacity: 0.5;
}

.g2-checkout-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact card */
.g2-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}

.g2-contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
}

.g2-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.g2-contact-info {
    flex: 1;
    min-width: 0;
}

.g2-contact-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}

.g2-contact-phone {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.g2-contact-action {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

/* Tips */
.g2-tip {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
}

.g2-tip:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.g2-tip-title {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.g2-tip-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: pre-line;
    line-height: 1.5;
}

/* Business cards */
.g2-biz-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.g2-biz-card:last-child {
    border-bottom: none;
}

.g2-biz-card:hover {
    text-decoration: none;
}

.g2-biz-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}

.g2-biz-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.g2-biz-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* City explore card */
.g2-city-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: var(--radius);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
    margin-bottom: 0.75rem;
}

.g2-city-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
}

.g2-city-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.g2-city-content svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

.g2-city-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}

.g2-city-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Gallery */
.g2-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.g2-gallery-item {
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.g2-gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.g2-gallery-item:hover img {
    transform: scale(1.04);
}

.g2-gallery-caption {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.375rem 0 0;
}

/* Lightbox */
.g2-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.g2-lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.g2-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.g2-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll reveal animation */
.g2-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.g2-reveal.g2-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.g2-footer {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
}

.g2-footer-brand {
    font-size: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.g2-footer-brand:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 400px) {
    .g2-hero-title {
        font-size: 1.75rem;
    }
    .g2-essentials {
        gap: 0.5rem;
    }
    .g2-ecard {
        padding: 1rem 0.75rem;
    }
    .g2-ecard-value {
        font-size: 1.1rem;
    }
}

/* ==================== */
/* AUTH PAGES           */
/* ==================== */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background: var(--bg);
}

.auth-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
}

.auth-box .auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.auth-box .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==================== */
/* UTILITIES            */
/* ==================== */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ==================== */
/* RESPONSIVE           */
/* ==================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

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

    .hero .subtitle {
        font-size: 1rem;
    }

    .how-it-works h2 {
        font-size: 1.75rem;
    }

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

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .property-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .property-card-actions {
        width: 100%;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .navbar-nav a {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .auth-box {
        padding: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .tabs .tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .guest-hero h1,
    .city-hero h1 {
        font-size: 1.5rem;
    }
}

/* ==================== */
/* CITY GUIDE           */
/* ==================== */

/* === CITY GUIDE v3 (cg-*) === */

/* Page */
.cg-page { background: var(--bg); }

/* Containers */
.cg-container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.cg-container-wide { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Hero */
.cg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
.cg-hero--img {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,67,50,0.4) 0%, rgba(27,67,50,0.85) 100%);
}
.cg-hero-content { position: relative; z-index: 2; padding: 0 1.5rem; }
.cg-hero-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
    margin-bottom: 1rem;
    display: block;
}
.cg-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.05;
}
.cg-hero-county {
    font-size: 1.125rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.cg-hero-tagline {
    font-size: 1.25rem;
    opacity: 0.85;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
}
.cg-hero-scroll {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.6;
    animation: cgBounce 2s infinite;
    color: #fff;
}
.cg-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
}
@keyframes cgBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Stats Bar (glassmorphism) */
.cg-stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    padding: 0 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.cg-stats-inner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    overflow-x: auto;
    scrollbar-width: none;
}
.cg-stats-inner::-webkit-scrollbar { display: none; }
.cg-stat { text-align: center; flex-shrink: 0; }
.cg-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.cg-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Section */
.cg-section { padding: 3rem 0; }
.cg-section--dark {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0;
}
.cg-section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.cg-section-title--light { color: #fff; }
.cg-section-sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.cg-section--dark .cg-section-sub { color: rgba(255,255,255,0.6); }
.cg-section-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}
.cg-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.cg-section-header .cg-section-sub { margin-bottom: 0; }

/* About Card */
.cg-about-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.cg-about-text {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Map */
.cg-map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.15);
}
.cg-map { height: 500px; width: 100%; }

/* Bento Grid */
.cg-bento {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.cg-bento-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cg-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.cg-bento-card--large { grid-column: span 2; }
.cg-bento-img { height: 180px; overflow: hidden; }
.cg-bento-card--large .cg-bento-img { height: 260px; }
.cg-bento-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.cg-bento-card:hover .cg-bento-img img { transform: scale(1.05); }
.cg-bento-img--placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.cg-bento-body { padding: 1.25rem; }
.cg-bento-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}
.cg-bento-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
.cg-bento-address {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Carousel */
.cg-carousel { position: relative; }
.cg-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.cg-carousel-track::-webkit-scrollbar { display: none; }
.cg-carousel-nav { display: flex; gap: 0.5rem; }
.cg-carousel-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    color: var(--text);
}
.cg-carousel-btn:hover {
    background: var(--primary); border-color: var(--primary); color: #fff;
}
.cg-carousel-btn:hover svg { stroke: #fff; }

/* Featured Cards (carousel) */
.cg-featured-card {
    min-width: 280px; max-width: 320px;
    flex-shrink: 0; scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none; color: var(--text);
    transition: transform 0.3s, box-shadow 0.3s;
}
.cg-featured-card:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.cg-featured-card--premium {
    border-color: #C4B5FD;
    background: linear-gradient(135deg, #FAFAFE 0%, #F5F3FF 100%);
}
.cg-featured-img { height: 160px; overflow: hidden; }
.cg-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.cg-featured-img--placeholder {
    background: linear-gradient(135deg, var(--accent-light), #FFF8F0);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
}
.cg-featured-body { padding: 1rem 1.25rem; }
.cg-featured-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    margin: 0.5rem 0 0.25rem;
}
.cg-featured-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.cg-featured-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.375rem;
}

/* Badges */
.cg-badge {
    font-size: 0.6875rem; font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 100px; display: inline-block;
}
.cg-badge--premium { background: #EDE9FE; color: #6D28D9; }
.cg-badge--anbefalt { background: var(--accent-light); color: #92400E; }
.cg-badge--sm { font-size: 0.625rem; padding: 0.075rem 0.375rem; }

/* Filter Pills */
.cg-pills {
    display: flex; gap: 0.5rem;
    overflow-x: auto; padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}
.cg-pills::-webkit-scrollbar { display: none; }
.cg-pill {
    flex-shrink: 0;
    padding: 0.5rem 1rem; border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 0.8125rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-body);
    color: var(--text-muted);
}
.cg-pill:hover { border-color: var(--primary); color: var(--primary); }
.cg-pill--active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Business Cards Grid */
.cg-business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.75rem;
}
.cg-biz-card {
    text-decoration: none; color: var(--text); display: block;
}
.cg-biz-card:hover { text-decoration: none; }
.cg-biz-card-inner {
    display: flex; align-items: center;
    gap: 0.875rem; padding: 1rem 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cg-biz-card:hover .cg-biz-card-inner {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.cg-biz-card-logo {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0;
}
.cg-biz-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.cg-biz-card-content { flex: 1; min-width: 0; }
.cg-biz-card-top { display: flex; align-items: center; gap: 0.375rem; }
.cg-biz-card-name { font-weight: 600; font-size: 0.9375rem; }
.cg-biz-card-cat { font-size: 0.75rem; color: var(--text-light); }
.cg-biz-card-desc {
    font-size: 0.8125rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 0.125rem;
}
.cg-biz-card-arrow {
    flex-shrink: 0; stroke: var(--text-light);
    transition: transform 0.2s;
}
.cg-biz-card:hover .cg-biz-card-arrow {
    transform: translateX(3px); stroke: var(--primary);
}

/* CTA */
.cg-cta {
    position: relative; text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, #FFF8F0 50%, #FAFAF8 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cg-cta-emoji { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.cg-cta h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem; margin-bottom: 0.5rem;
}
.cg-cta p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.25rem; }
.cg-cta-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary); color: #fff;
    border-radius: 100px;
    font-weight: 600; font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cg-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27,67,50,0.3);
    text-decoration: none; color: #fff;
}
.cg-cta-sub { font-size: 0.8125rem !important; margin-top: 1rem !important; }

/* Scroll Reveal */
.cg-reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.cg-reveal.cg-visible { opacity: 1; transform: translateY(0); }
.cg-reveal-child {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.cg-reveal-child.cg-visible { opacity: 1; transform: translateY(0); }
@keyframes cgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.cg-footer { text-align: center; padding: 2rem 1rem 1.5rem; }
.cg-footer-brand {
    font-size: 0.75rem; color: var(--text-light);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.375rem;
}
.cg-footer-brand:hover { color: var(--primary); text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .cg-hero { min-height: 85vh; }
    .cg-hero--img { background-attachment: scroll; }
    .cg-stats-inner { gap: 1.25rem; padding: 1rem 1.25rem; }
    .cg-stat-num { font-size: 1.25rem; }
    .cg-section { padding: 2rem 0; }
    .cg-section--dark { padding: 3rem 0; }
    .cg-section-title { font-size: 1.375rem; }
    .cg-map { height: 350px; }
    .cg-business-grid { grid-template-columns: 1fr; }
    .cg-bento-card--large { grid-column: span 1; }
}
@media (max-width: 480px) {
    .cg-hero-title { font-size: 2rem; }
    .cg-stats-inner { flex-wrap: wrap; gap: 0.75rem; }
    .cg-about-card { padding: 1.25rem; }
    .cg-bento { grid-template-columns: 1fr; }
    .cg-cta { padding: 2rem 1.25rem; }
}

/* === CITY GUIDE v1 (legacy) === */

.city-hero {
    background: var(--primary);
    padding: 2.5rem 1.25rem 3rem;
    text-align: center;
    color: #fff;
    border-radius: 0 0 2rem 2rem;
}

.city-hero-subtitle {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.city-hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.375rem;
}

.city-hero-county {
    opacity: 0.7;
    font-size: 0.9375rem;
}

.city-hero-desc {
    opacity: 0.6;
    font-size: 0.875rem;
    max-width: 500px;
    margin: 0.5rem auto 0;
}

.city-category {
    margin-bottom: 1.5rem;
}

.city-category-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.city-featured {
    border-color: var(--accent) !important;
    background: var(--accent-light) !important;
}

.city-badge-featured {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.375rem;
}

.city-biz-name {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.city-biz-custom-cat {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.city-biz-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.city-biz-details {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.city-biz-details a {
    color: var(--primary);
}

.city-biz-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.city-report-btn {
    font-size: 0.75rem !important;
    color: var(--text-light) !important;
}

.city-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
}

.city-modal-inner {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

/* City tips in editor */
.city-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.city-tip-item:last-of-type {
    border-bottom: none;
}

/* ============================================
   PRICING
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card-badge {
    position: absolute;
    top: -0.625rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.pricing-card-header {
    margin-bottom: 1rem;
}

.pricing-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.pricing-card-price {
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--text);
}

/* Subscription required page */
.pricing-box {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    margin-bottom: 0.5rem;
}

/* ============================================
   SUBSCRIPTION STATUS (editor)
   ============================================ */

.sub-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.sub-status-active {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.sub-status-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.sub-status-none {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* ============================================
   ADMIN PANEL
   ============================================ */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.admin-stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.admin-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.admin-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-nav-item {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-nav-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.admin-nav-item span {
    font-size: 1.25rem;
}

.admin-nav-item strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

.admin-nav-item p {
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

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

.admin-table tr:hover td {
    background: var(--bg);
}

/* Badge variants for admin */
.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* City guide - tourist info */
.city-tourist-info {
    border-left: 3px solid var(--primary);
}

.city-tourist-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}

.city-external-links {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.city-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.city-external-link:hover {
    text-decoration: underline;
}

/* City guide - clickable business cards */
.city-biz-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.city-biz-link:hover {
    text-decoration: none;
}

.city-biz-link:hover .city-biz-name {
    color: var(--primary);
}

.city-biz-card {
    transition: box-shadow 0.2s ease;
}

.city-biz-card:hover {
    box-shadow: var(--shadow-md);
}

/* Business detail page */
.biz-hero {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.biz-hero h1 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.biz-hero-cat {
    font-size: 0.9375rem;
    opacity: 0.85;
    margin-top: 0.375rem;
}

.biz-hero-city {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.biz-hero-city a {
    color: #fff;
}

.biz-section-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.biz-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text);
}

.biz-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.biz-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.biz-contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.biz-contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.biz-contact-item p {
    font-size: 0.9375rem;
}

.biz-contact-item a {
    color: var(--primary);
}

/* ==========================================
   BUSINESS TIERS - City Guide Cards
   ========================================== */

/* Tier badges */
.city-badge-premium,
.city-badge-featured {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    margin-bottom: 0.625rem;
}

.city-badge-featured {
    background: #FEF3C7;
    color: #92400E;
}

.city-badge-premium {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: #fff;
}

/* Tier card variants */
.city-tier-gratis {
    border-left: 3px solid var(--border);
}

.city-tier-basis {
    border-left: 3px solid var(--primary-light);
}

.city-tier-anbefalt {
    border-left: 3px solid #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 10%, var(--bg-card) 40%);
}

.city-tier-premium {
    border-left: 3px solid #7C3AED;
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 10%, var(--bg-card) 40%);
    box-shadow: var(--shadow-md);
}

.city-featured {
    position: relative;
}

/* Business logo in city guide */
.city-biz-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    float: right;
    margin-left: 0.75rem;
    margin-bottom: 0.25rem;
}

.city-biz-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.city-biz-custom-cat {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.city-biz-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.375rem;
}

.city-biz-details {
    font-size: 0.8125rem;
    color: var(--text);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    line-height: 1.75;
}

.city-biz-details a {
    color: var(--primary);
}

.city-biz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.city-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.city-category {
    margin-bottom: 1.5rem;
}

/* City hero */
.city-hero {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.city-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.city-hero-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.city-hero-county {
    font-size: 0.9375rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.city-hero-desc {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-top: 0.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Report modal */
.city-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.city-modal-inner {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.city-report-btn {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   PRICING PAGE - 4 Tier Grid
   ========================================== */

.pricing-intro {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
}

.pricing-intro h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-intro p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 520px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card-anbefalt {
    border-color: #F59E0B;
    box-shadow: 0 0 0 1px #F59E0B;
}

.pricing-card-premium {
    border-color: #7C3AED;
    box-shadow: 0 0 0 1px #7C3AED;
}

.pricing-badge {
    position: absolute;
    top: -0.625rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.pricing-badge-popular {
    background: #F59E0B;
    color: #fff;
}

.pricing-badge-premium {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: #fff;
}

.pricing-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-tier-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.pricing-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.125rem;
}

.pricing-price-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    font-size: 0.8125rem;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.25rem;
}

.pricing-features li::before {
    content: "\2713 ";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.25rem;
}

.pricing-feature-muted {
    color: var(--text-muted);
}

.pricing-feature-muted::before {
    content: "\2212 " !important;
    color: var(--text-light) !important;
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn {
    width: 100%;
    text-align: center;
}

/* Free guest guide card */
.pricing-free-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-free-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.pricing-free-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 1rem 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================
   BUSINESS EDIT - Tier Status
   ========================================== */

.biz-tier-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.biz-tier-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.biz-tier-info {
    flex: 1;
}

.biz-tier-name {
    font-weight: 700;
    font-size: 1rem;
}

.biz-tier-price {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Upgrade options */
.biz-upgrade-section {
    margin-top: 1.5rem;
}

.biz-upgrade-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.biz-upgrade-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    background: var(--bg-card);
}

.biz-upgrade-option:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.biz-upgrade-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.biz-upgrade-price {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================
   BUSINESS IMAGES Gallery
   ========================================== */

.biz-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.biz-gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s;
}

.biz-gallery-img:hover {
    transform: scale(1.02);
}

.biz-image-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.biz-image-preview {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.biz-image-card-body {
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.biz-image-caption {
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================
   BUSINESS VIEW STATS (Premium)
   ========================================== */

.biz-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.biz-stat-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.biz-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.biz-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* ==========================================
   GUEST VIEW - Premium Business Cards
   ========================================== */

.guest-premium-section {
    margin-bottom: 1.5rem;
}

.guest-premium-section h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.guest-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.guest-premium-biz {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.guest-premium-biz:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    text-decoration: none;
}

.guest-premium-biz-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.guest-premium-biz-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.guest-premium-biz-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Opening hours display */
.biz-hours {
    font-size: 0.9375rem;
    line-height: 1.7;
    white-space: pre-line;
}

/* Business images upload page */
.biz-images-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.biz-images-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.biz-upload-form {
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.biz-upload-form:hover {
    border-color: var(--primary-light);
}

/* ==========================================
   BUSINESS HERO - Tier Badges
   ========================================== */

.biz-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.biz-hero-badge-anbefalt {
    background: rgba(245, 158, 11, 0.2);
    color: #FEF3C7;
}

.biz-hero-badge-premium {
    background: rgba(124, 58, 237, 0.3);
    color: #EDE9FE;
}

/* === Room Management === */

.room-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.room-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s;
}

.room-card:hover {
    border-color: var(--primary-light);
}

.room-card-info {
    flex: 1;
    min-width: 0;
}

.room-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.room-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.room-card-link {
    font-size: 0.8125rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.room-card-password {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.room-card-overrides {
    margin-top: 0.375rem;
}

.room-card-actions {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    flex-shrink: 0;
}

.property-card-rooms {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.125rem;
}

/* Room edit: field toggle */

.room-field-toggle {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.room-field-toggle:last-child {
    border-bottom: none;
}

.room-field-content {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

/* Guest hero: room name */

.guest-hero-room {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}

/* Badge for room info */

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .room-card {
        flex-direction: column;
        gap: 0.5rem;
    }
    .room-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
