/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #4ECDC4;
    --danger: #E63946;
    --background: #F8F9FA;
    --surface: #FFFFFF;
    --text: #212529;
    --text-light: #6C757D;
    --border: #DEE2E6;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    background: var(--background);
    min-height: 100vh;
    position: relative;
}

/* Header */
.header {
    background: var(--primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.3);
}

/* 로그인 버튼 */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: var(--primary);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.02);
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: rgba(155, 89, 182, 0.9);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-admin:hover {
    background: rgba(155, 89, 182, 1);
}

/* 사용자 정보 */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-nickname {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
}

.btn-text-logout {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-text-logout:hover {
    background: rgba(255,255,255,0.3);
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 99;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* Content */
.content {
    padding: 16px;
    padding-bottom: 80px;
}

.tab-content {
    display: none;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    margin-top: 32px;
}

.section-header:first-child {
    margin-top: 0;
}

#my-list-section .section-header,
#recommended-list-section .section-header {
    margin-top: 32px;
}

#my-list-section:first-child .section-header {
    margin-top: 0;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 600;
}

/* 태그 그룹 */
.tag-group {
    margin-bottom: 24px;
}

.tag-group:last-child {
    margin-bottom: 0;
}

.tag-group-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.tag-group-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 페이징 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    min-width: 36px;
}

.pagination button:hover:not(:disabled) {
    background: var(--background);
    border-color: var(--primary);
}

.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0 8px;
}

.location-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Restaurant List */
.restaurant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.restaurant-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
}

.restaurant-card:active {
    transform: scale(0.98);
}

.restaurant-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.restaurant-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-secondary {
    background: var(--secondary);
}

.badge-recommend {
    background: #9b59b6;
}

.badge-mine {
    background: var(--secondary);
}

.restaurant-card-address {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.restaurant-card-next {
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.restaurant-card-next::before {
    content: "🎯 다음에: ";
}

.restaurant-card-distance {
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: 8px;
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 0.9rem;
}

/* Search & Filter */
.search-bar {
    margin-bottom: 12px;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--surface);
}

.filter-bar {
    margin-bottom: 16px;
}

.filter-bar select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--surface);
}

/* Map */
.content.map-active {
    padding: 0;
}

#tab-map {
    position: relative;
}

#tab-map.active {
    display: block;
}

.map-search-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.search-scope-toggle {
    display: flex;
    gap: 6px;
    align-self: flex-start;
}

.scope-btn {
    padding: 10px 18px;
    border: none;
    background: var(--surface);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
    border-radius: 20px;
}

.scope-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.scope-btn:not(.active):hover {
    background: var(--border);
    color: var(--text);
}

.search-input-row {
    display: flex;
    gap: 8px;
}

.map-search-bar input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
}

.map-search-bar .btn-search {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.map-search-bar .btn-search:hover {
    background: var(--primary-dark);
}

@media (min-width: 480px) {
    .map-search-bar {
        flex-direction: row;
        align-items: center;
    }

    .search-input-row {
        flex: 1;
    }

    .search-scope-toggle {
        align-self: auto;
    }
}

#map-container {
    width: 100%;
    height: calc(100vh - 118px - 100px);
    height: calc(100dvh - 118px - 100px);
    background: var(--surface);
}

@media (min-width: 480px) {
    #map-container {
        height: calc(100vh - 118px - 150px - 58px);
        height: calc(100dvh - 118px - 150px - 58px);
    }
}

/* 지도 커스텀 툴팁 */
.map-tooltip {
    padding: 10px 14px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.map-tooltip-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.map-tooltip-category {
    font-size: 12px;
    color: #888;
}

.place-search-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 150;
    overflow-y: auto;
    padding: 12px;
}

.place-search-results.hidden {
    display: none;
}

.place-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.place-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.place-info {
    flex: 1;
}

.place-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text);
}

.place-category {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.place-address {
    font-size: 0.85rem;
    color: var(--text-light);
}

.place-distance {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 4px;
}

.place-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 12px;
}

.btn-add-place {
    padding: 8px 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-add-place:hover {
    background: var(--primary-dark);
}

.btn-view-map {
    padding: 8px 14px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

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

.place-search-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.btn-close-search {
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-load-more {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-load-more:active {
    transform: translateY(0);
}

/* 모바일에서 지도 탭일 때 풋터 숨김 */
@media (max-width: 767px) {
    .content.map-active ~ .footer {
        display: none;
    }
}

@media (min-width: 768px) {
    .content.map-active ~ .footer {
        position: relative;
        z-index: 100;
        margin-top: 0;
    }
}

/* Settings */
.settings-group {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.settings-group h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.setting-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.setting-item label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-item select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

/* FAB Button */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    cursor: pointer;
    z-index: 200;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

.fab:active {
    transform: scale(0.95);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow-y: auto;
}

.modal-small {
    max-height: 70vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--surface);
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
}

/* Form */
form {
    padding: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--surface);
}

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

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

.input-with-btn {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.input-with-btn input {
    flex: 1;
    min-width: 150px;
}

.btn-secondary-small {
    background: var(--secondary);
    color: white;
    border: none;
}

.btn-secondary-small:hover {
    opacity: 0.9;
}

/* 주소 검색 결과 */
.address-results {
    margin-top: 8px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: var(--radius-sm);
}

.address-item {
    padding: 12px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.address-item:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.address-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.address-item:only-child {
    border-radius: var(--radius-sm);
}

.address-item:hover {
    background: var(--border);
}

.address-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.address-item-address {
    font-size: 0.8rem;
    color: var(--text-light);
}

.setting-help {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
}

.setting-help a {
    color: var(--primary);
}

#setting-kakao-key {
    width: 100%;
    margin-top: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Buttons */
.btn-primary {
    flex: 1;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    flex: 1;
    padding: 14px;
    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
}

.btn-danger {
    flex: 1;
    padding: 14px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
}

.btn-small {
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

/* Detail Modal */
.detail-body {
    padding: 20px;
}

.detail-info {
    margin-bottom: 20px;
}

.detail-address {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.detail-text {
    font-size: 0.95rem;
    color: var(--text);
    background: var(--background);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.detail-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border);
}

/* Visit List */
.visit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visit-item {
    background: var(--background);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.visit-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.visit-date {
    font-size: 0.85rem;
    font-weight: 600;
}

.visit-rating {
    font-size: 0.8rem;
}

.visit-menu {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.visit-memo {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 8px;
}

.rating-input span {
    font-size: 1.5rem;
    cursor: pointer;
    filter: grayscale(1);
    transition: filter 0.2s;
}

.rating-input span.active {
    filter: grayscale(0);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 300;
}

.toast.show {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.restaurant-card {
    animation: fadeIn 0.3s ease;
}

/* Responsive - Tablet */
@media (min-width: 481px) {
    #app {
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .fab {
        right: calc(50% - 240px + 24px);
    }
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    body {
        background: #E9ECEF;
    }

    #app {
        max-width: 1200px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

    .header {
        padding: 20px 32px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .tab-nav {
        top: 80px;
        justify-content: center;
        gap: 8px;
        padding: 8px;
    }

    .tab-btn {
        flex: none;
        padding: 12px 32px;
        border-radius: var(--radius-sm);
        border-bottom: none;
    }

    .tab-btn.active {
        background: var(--primary);
        color: white;
        border-bottom: none;
    }

    .content {
        padding: 32px;
        padding-bottom: 100px;
    }

    /* 홈/목록 탭 - 그리드 레이아웃 */
    .restaurant-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .restaurant-card {
        padding: 20px;
    }

    .restaurant-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .restaurant-card:active {
        transform: translateY(-2px);
    }

    .section-header {
        margin-top: 32px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    /* 검색/필터 - 가로 배치 */
    #tab-list .search-bar,
    #tab-list .filter-bar {
        display: inline-block;
        width: auto;
        margin-right: 12px;
    }

    .search-bar input {
        width: 300px;
    }

    .filter-bar select {
        width: 180px;
    }

    /* 지도 */
    #map-container {
        height: calc(100vh - 250px);
        min-height: 500px;
    }

    /* 설정 - 2열 */
    #tab-settings.active {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .settings-group {
        margin-bottom: 0;
    }

    /* FAB 버튼 */
    .fab {
        bottom: 40px;
        right: 40px;
        width: 64px;
        height: 64px;
        font-size: 2.5rem;
    }

    /* 모달 - 중앙 정렬 */
    .modal {
        align-items: center;
    }

    .modal-content {
        max-width: 560px;
        max-height: 85vh;
        border-radius: var(--radius);
        margin: 20px;
    }

    .modal-header {
        padding: 20px 24px;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    form {
        padding: 24px;
    }

    .detail-body {
        padding: 24px;
    }

    .detail-actions {
        padding: 24px;
    }

    /* 토스트 */
    .toast {
        bottom: 60px;
    }
}

/* Responsive - Large Desktop */
@media (min-width: 1024px) {
    .restaurant-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .content {
        padding: 40px 60px;
        padding-bottom: 100px;
    }
}

/* Responsive - Extra Large */
@media (min-width: 1400px) {
    #app {
        max-width: 1400px;
    }

    .restaurant-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px 20px;
    margin-top: 40px;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.8;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-company {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.footer-info p {
    margin-bottom: 4px;
}

.footer-info span {
    margin-right: 12px;
    display: inline-block;
}

@media (min-width: 768px) {
    .footer {
        padding: 32px 40px;
        font-size: 0.8rem;
    }

    .footer-content {
        max-width: 100%;
    }

    .footer-info {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 24px;
    }

    .footer-info p {
        margin-bottom: 0;
    }
}
