/**
 * twmobile.net — Copper & Stone Design System
 * Warm editorial aesthetic with monospace phone numbers
 * Fonts: Outfit (headings) + Noto Sans TC (body) + Space Mono (numbers)
 */

/* ==================== Design Tokens ==================== */
:root {
    /* Brand Accent — Copper Orange */
    --accent: #EA580C;
    --accent-dark: #C2410C;
    --accent-hover: #9A3412;
    --accent-light: #FFF7ED;
    --accent-surface: #FFEDD5;
    --accent-border: #FED7AA;

    /* Neutral — Warm Stone */
    --ink: #1C1917;
    --ink-soft: #292524;
    --stone-700: #44403C;
    --stone-600: #57534E;
    --stone-500: #78716C;
    --stone-400: #A8A29E;
    --stone-300: #D6D3D1;
    --stone-200: #E7E5E4;
    --stone-100: #F5F5F4;
    --stone-50: #FAFAF9;
    --paper: #FFFFFF;

    /* Semantic */
    --success: #16A34A;
    --success-light: #F0FDF4;
    --success-border: #BBF7D0;
    --danger: #DC2626;
    --danger-light: #FEF2F2;
    --danger-border: #FECACA;
    --warning: #D97706;
    --warning-light: #FFFBEB;
    --warning-border: #FDE68A;
    --info: #2563EB;
    --info-light: #EFF6FF;
    --info-border: #BFDBFE;

    /* Backward-compatible aliases */
    --primary-teal: var(--accent);
    --primary-light: var(--accent-light);
    --primary-dark: var(--accent-dark);
    --primary-surface: var(--stone-50);
    --secondary-teal: var(--accent);
    --secondary-border: var(--accent-border);
    --secondary-hover: var(--accent-surface);
    --success-green: var(--success);
    --danger-red: var(--danger);
    --warning-orange: var(--warning);
    --info-blue: var(--info);
    --text-primary: var(--ink);
    --text-secondary: var(--stone-600);
    --text-muted: var(--stone-400);
    --text-white: #FFFFFF;
    --border-color: var(--stone-200);
    --shadow-color: rgba(28, 25, 23, 0.04);
    --overlay-color: rgba(28, 25, 23, 0.03);
    --primary-amber: var(--accent);
    --primary-yellow: var(--accent);
    --secondary-gold: var(--accent);
    --primary-cream: var(--stone-50);
    --secondary-beige: var(--stone-200);
    --secondary-wheat: var(--stone-100);

    /* Typography */
    --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;
    --font-body: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Menlo', 'Consolas', monospace;

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--stone-50);
    color: var(--ink);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==================== Typography Utilities ==================== */
.font-heading {
    font-family: var(--font-heading);
}

.font-mono {
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.text-accent {
    color: var(--accent);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

/* ==================== Navigation ==================== */
.navbar-custom {
    background: var(--ink-soft);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.navbar-custom .container {
    display: flex;
    align-items: stretch;
}

.navbar-custom .navbar-brand {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-custom .navbar-brand i {
    color: var(--accent);
    font-size: 1rem;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 1.1rem 1rem !important;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
}

.navbar-custom .nav-link:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: none;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.navbar-custom .nav-link.active {
    color: #FFFFFF !important;
    background: none;
    border-bottom-color: var(--accent);
}

.navbar-custom .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.6rem;
    margin: 0.75rem 0;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

.navbar-custom .dropdown-menu {
    background: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-top: 0;
}

.navbar-custom .dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
}

.navbar-custom .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

/* ==================== Hero — Homepage ==================== */
.hero-home {
    background: var(--paper);
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--stone-200);
}

.hero-home__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-home__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-home__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}

.hero-home__subtitle {
    font-size: 1.1rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-home__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-home__meta span {
    font-size: 0.8rem;
    color: var(--stone-500);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-home__meta span i {
    color: var(--stone-400);
    font-size: 0.75rem;
}

/* ==================== Hero — Inner Pages ==================== */
.hero-section {
    background: var(--ink-soft);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 80px
    );
    pointer-events: none;
}

.hero-section h1 {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-section .h2,
.hero-section h2 {
    color: #FFFFFF;
    font-family: var(--font-heading);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ==================== Search Box ==================== */
.search-box {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.search-box .form-control {
    padding: 1rem 4rem 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-mono);
    border: 2px solid var(--stone-300);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box .form-control::placeholder {
    color: var(--stone-400);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.search-box .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1), 0 2px 8px rgba(28, 25, 23, 0.06);
}

.search-box .btn-search {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-box .btn-search:hover {
    background: var(--accent-dark);
    transform: translateY(-50%);
    box-shadow: none;
}

/* ==================== Stats Strip ==================== */
.stats-strip {
    background: var(--paper);
    border-bottom: 1px solid var(--stone-200);
    padding: 2rem 0;
}

.stats-strip__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.stats-strip__item {
    text-align: center;
    padding: 0.5rem 2.5rem;
}

.stats-strip__number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stats-strip__label {
    display: block;
    font-size: 0.75rem;
    color: var(--stone-500);
    margin-top: 0.2rem;
    letter-spacing: 0.05em;
}

.stats-strip__divider {
    width: 1px;
    height: 40px;
    background: var(--stone-200);
}

/* ==================== Stat Cards (backward compat) ==================== */
.stat-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--stone-200);
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.stat-card:hover {
    border-color: var(--stone-300);
    transform: none;
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.06);
}

.stat-card i {
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.stat-card h3,
.stat-card h4 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--ink);
    font-weight: 700;
    margin: 0.25rem 0;
}

.stat-card p,
.stat-card small {
    color: var(--stone-600);
    margin: 0;
    font-size: 0.8rem;
}

/* ==================== Cards ==================== */
.card-custom {
    background: var(--paper);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(28, 25, 23, 0.03);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.card-custom:hover {
    border-color: var(--stone-300);
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.06);
    transform: none;
}

.card-custom .card-header {
    background: var(--stone-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -1.5rem -1.5rem 1.5rem;
}

.card-custom .card-header h3,
.card-custom .card-header h4,
.card-custom .card-header h5 {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.card-custom .card-body {
    padding: 0;
}

/* ==================== Section Headings ==================== */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--stone-600);
    font-size: 0.95rem;
    max-width: 480px;
}

/* ==================== Feature Blocks ==================== */
.feature-block {
    padding: 1.75rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
    transition: border-color 0.2s;
    height: 100%;
}

.feature-block:hover {
    border-color: var(--accent-border);
}

.feature-block__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.feature-block__icon--orange {
    background: var(--accent-light);
    color: var(--accent);
}

.feature-block__icon--green {
    background: var(--success-light);
    color: var(--success);
}

.feature-block__icon--blue {
    background: var(--info-light);
    color: var(--info);
}

.feature-block__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.feature-block__desc {
    font-size: 0.875rem;
    color: var(--stone-600);
    line-height: 1.6;
    margin: 0;
}

/* ==================== Badges ==================== */
.badge-custom {
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-warning-custom {
    background: var(--accent-light);
    color: var(--accent-dark);
    border: 1px solid var(--accent-border);
}

.badge-danger-custom {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}

.badge-success-custom {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success-border);
}

/* ==================== Buttons ==================== */
.btn-primary-custom {
    background: var(--accent);
    border: none;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(234, 88, 12, 0.2);
}

.btn-primary-custom:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    color: white;
    transform: none;
}

.btn-outline-custom {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background: var(--accent);
    color: white;
    transform: none;
    box-shadow: none;
}

/* Bootstrap btn-warning override */
.btn-warning {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-warning:hover,
.btn-warning:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
}

.btn-outline-warning {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ==================== Forms ==================== */
.form-control-custom {
    border: 1.5px solid var(--stone-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--paper);
    font-size: 0.9rem;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.08);
}

.form-label-custom {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(234, 88, 12, 0.15);
    border-color: var(--accent);
}

/* ==================== List Items ==================== */
.list-item-custom {
    background: var(--paper);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s, background 0.15s;
}

.list-item-custom:hover {
    background: var(--stone-50);
    border-color: var(--stone-300);
    transform: none;
}

.list-item-custom a strong,
.list-item-custom .font-mono,
.list-item-custom strong {
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.list-group-item.active {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* ==================== Pagination ==================== */
.page-item.active .page-link {
    background-color: var(--accent);
    border-color: var(--accent);
}

.page-link {
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.page-link:hover {
    color: var(--accent-dark);
    background-color: var(--accent-light);
    border-color: var(--accent-border);
}

.page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(234, 88, 12, 0.15);
}

/* ==================== Tables ==================== */
.table thead {
    background: var(--stone-50);
}

.table thead th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--stone-600);
    border-bottom-width: 1px;
    padding: 0.75rem 1rem;
}

.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

/* ==================== Footer ==================== */
.footer-custom {
    background: var(--ink-soft);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-custom h5 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-custom a:hover {
    color: var(--accent);
}

.footer-custom ul li {
    margin-bottom: 0.4rem;
}

.footer-custom p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-custom hr {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 2rem 0 1rem;
}

.footer-custom .footer-bottom {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ==================== CTA Banner ==================== */
.cta-banner {
    background: var(--ink-soft);
    padding: 3rem 0;
    text-align: center;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.cta-banner__subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.cta-banner .search-box .form-control {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
}

.cta-banner .search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-banner .search-box .form-control:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== Phone Type Tags ==================== */
.phone-types {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.phone-type-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--paper);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--stone-700);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-type-tag:hover {
    border-color: var(--accent-border);
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
}

.phone-type-tag i {
    color: var(--accent);
    font-size: 1rem;
}

/* ==================== Store Page ==================== */
.store-card {
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--paper);
}

.store-card:hover {
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.06);
    border-color: var(--stone-300);
    transform: none;
}

.store-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--stone-100);
}

.verified-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 6px;
}

.rating-stars {
    color: var(--warning);
}

.filter-sidebar {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--stone-200);
}

.sort-tabs {
    border-bottom: 1px solid var(--stone-200);
    margin-bottom: 1.5rem;
}

.sort-tabs .nav-link {
    color: var(--stone-600);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}

.sort-tabs .nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: none;
}

.sort-tabs .nav-link:hover {
    color: var(--accent-dark);
}

/* ==================== Business Page ==================== */
.business-header {
    background: var(--ink-soft);
    padding: 2.5rem 0;
    color: white;
}

.business-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
    transition: box-shadow 0.2s;
    margin-bottom: 1rem;
    border: 1px solid var(--stone-200);
}

.business-card:hover {
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.06);
    transform: none;
}

.business-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.category-badge {
    background: var(--accent-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.info-item {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9rem;
}

.info-item i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent);
}

#map {
    height: 350px;
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 1px solid var(--stone-200);
}

.filter-section {
    background: var(--stone-50);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--stone-200);
}

/* ==================== Quick Report ==================== */
.quick-report-grid {
    padding: 0.5rem;
}

.btn-report {
    position: relative;
    padding: 0.75rem 0.5rem;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
    border-width: 1.5px;
    border-radius: var(--radius);
}

.btn-report:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-report.active {
    transform: scale(0.97);
}

.btn-report i {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.btn-report span {
    font-size: 0.78rem;
    font-weight: 600;
}

.report-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    min-width: 18px;
    text-align: center;
}

/* Quick Report colors */
.btn-outline-orange { color: #EA580C; border-color: #EA580C; }
.btn-outline-orange:hover { background-color: #EA580C; color: white; }
.btn-outline-purple { color: #7C3AED; border-color: #7C3AED; }
.btn-outline-purple:hover { background-color: #7C3AED; color: white; }
.btn-outline-teal { color: #0D9488; border-color: #0D9488; }
.btn-outline-teal:hover { background-color: #0D9488; color: white; }
.btn-outline-pink { color: #DB2777; border-color: #DB2777; }
.btn-outline-pink:hover { background-color: #DB2777; color: white; }

.quick-report-section .card-header {
    background: var(--accent);
    color: white;
}

.quick-report-section .card-header h5 {
    color: white;
}

/* ==================== Alert Override ==================== */
.alert-warning {
    background-color: var(--accent-light);
    border-color: var(--accent-border);
    color: var(--accent-dark);
}

/* ==================== Phone Detail ==================== */
.phone-number-display {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.05em;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero-home {
        padding: 3rem 0 2.5rem;
    }

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

    .hero-section h1 {
        font-size: 1.4rem;
    }

    .hero-section p {
        font-size: 0.875rem;
    }

    .search-box .btn-search {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: 0.75rem;
        border-radius: var(--radius);
        padding: 0.75rem;
    }

    .search-box .form-control {
        padding: 0.875rem 1rem;
    }

    .stats-strip__item {
        padding: 0.5rem 1.25rem;
    }

    .stats-strip__number {
        font-size: 1.35rem;
    }

    .stats-strip__divider {
        display: none;
    }

    .stats-strip__inner {
        gap: 0.25rem;
    }

    .stat-card {
        margin-bottom: 0.75rem;
    }

    .btn-report {
        min-height: 64px;
    }

    .btn-report i {
        font-size: 1.1rem;
    }

    .store-image {
        width: 70px;
        height: 70px;
    }

    .phone-number-display {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-home {
        padding: 2.5rem 0 2rem;
    }

    .hero-home__title {
        font-size: 1.85rem;
    }

    .hero-home__subtitle {
        font-size: 0.95rem;
    }

    .hero-home__meta {
        gap: 0.75rem;
    }

    .card-custom {
        padding: 1rem;
    }

    .card-custom .card-header {
        padding: 0.75rem 1rem;
        margin: -1rem -1rem 1rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1rem;
    }

    .feature-block {
        padding: 1.25rem;
    }
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--stone-400);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--stone-500);
}

/* ==================== Utilities ==================== */
.bg-warm {
    background: var(--stone-50);
}

.border-accent {
    border-color: var(--accent) !important;
}

.divider {
    height: 1px;
    background: var(--stone-200);
    margin: 2rem 0;
}
