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

:root {
    --red: #d4213d;
    --red-dark: #b71c35;
    --red-light: #e8384f;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-light: #f5f5f5;
    --bg-warm: #faf8f5;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: all .3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--red); }

ul { list-style: none; }

/* ===== TOP HEADER ===== */
.top-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-cn {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-en {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    border: 1px solid var(--border);
}

.location-badge i { color: var(--red); }

.top-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 420px;
}

.search-type {
    padding: 10px 12px;
    border: 2px solid var(--red);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 13px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--red);
    border-right: none;
    font-size: 13px;
    outline: none;
}

.search-input:focus { border-color: var(--red-dark); }

.search-btn {
    padding: 10px 20px;
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover { background: var(--red-dark); border-color: var(--red-dark); }

.top-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hotline-icon {
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    5%, 15% { transform: rotate(-10deg); }
    10%, 20% { transform: rotate(10deg); }
    25% { transform: rotate(0); }
}

.hotline-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.hotline-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--red);
}

/* ===== MAIN NAV ===== */
.main-nav {
    background: #fff;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav.scrolled {
    box-shadow: var(--shadow);
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--red);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-red:hover {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,33,61,.3);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--red);
    border-color: #fff;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline-dark:hover {
    border-color: var(--red);
    color: var(--red);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== SECTION COMMON ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.section-en {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 4px;
}

.section-more {
    font-size: 14px;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.section-more:hover { gap: 10px; }

/* ===== IMG PLACEHOLDER ===== */
.img-placeholder {
    background: linear-gradient(135deg, #e8e4df, #d4cfc8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    width: 100%;
    height: 100%;
}

.img-placeholder i { font-size: 40px; margin-bottom: 8px; color: var(--red); opacity: .5; }
.img-placeholder span { font-size: 13px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 50px 0 0;
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.footer-logo .logo-cn { color: #fff; font-size: 18px; }
.footer-logo .logo-en { color: rgba(255,255,255,.5); }

.footer-brand > p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-qrcodes {
    display: flex;
    gap: 20px;
}

.qr-item { text-align: center; }

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: 28px;
    margin-bottom: 8px;
}

.qr-item span { font-size: 12px; color: rgba(255,255,255,.5); }

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}

.footer-col ul li a {
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--red);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: #fff; }

/* ===== FLOAT ACTIONS ===== */
.float-actions {
    position: fixed;
    right: 15px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.float-btn:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.float-btn span {
    position: absolute;
    right: 62px;
    background: var(--dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-btn:hover span {
    opacity: 1;
    visibility: visible;
}

.back-top { opacity: 0; visibility: hidden; }
.back-top.visible { opacity: 1; visibility: visible; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn .3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover { background: var(--red); color: #fff; }

.modal-header {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    padding: 30px;
    text-align: center;
    color: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 { font-size: 22px; margin-bottom: 6px; }
.modal-header p { font-size: 14px; opacity: .8; }

.modal-body { padding: 30px; }

.modal-step h4 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}

.privacy-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.privacy-note i { color: #4caf50; margin-right: 4px; }

.style-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.style-opt {
    padding: 16px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.style-opt:hover,
.style-opt.active {
    border-color: var(--red);
    background: rgba(212,33,61,.05);
}

.style-icon {
    font-size: 24px;
    color: var(--red);
    margin-bottom: 6px;
}

.style-opt span { font-size: 13px; color: var(--text); }

.area-options,
.room-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.area-opt,
.room-opt {
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    text-align: center;
}

.area-opt:hover,
.area-opt.active,
.room-opt:hover,
.room-opt.active {
    border-color: var(--red);
    background: rgba(212,33,61,.05);
    color: var(--red);
}

.room-options {
    grid-template-columns: repeat(3, 1fr);
}

.modal-nav {
    display: flex;
    gap: 12px;
}

.modal-nav .btn { flex: 1; }

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-input {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.modal-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(212,33,61,.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .top-search { display: none; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-header .container { flex-wrap: wrap; }
    .top-hotline { display: none; }
    
    .nav-list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .nav-link { padding: 14px 16px; font-size: 14px; white-space: nowrap; }
    
    .section-title { font-size: 24px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .footer-links-grid { grid-template-columns: 1fr; }
    .footer-qrcodes { flex-wrap: wrap; }
    
    .float-actions { right: 10px; bottom: 15px; }
    .float-btn { width: 44px; height: 44px; font-size: 16px; }
    .float-btn span { display: none; }
}
