/* LANTAI SPA - Warm Sand & Earth Theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --warm: #B8936E;
    --warm-light: #D4BFA0;
    --warm-dark: #9B7A5A;
    --sage: #8B9D83;
    --sage-light: #A8B8A1;
    --bg: #FBF8F4;
    --bg-secondary: #F3EFE9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F9F6F2;
    --text: #3D3226;
    --text-light: #2A2018;
    --text-muted: #8C7E6E;
    --border: #E8E0D5;
    --border-light: #EFE8DE;
    --footer-bg: #2C241C;
    --footer-text: #C4B8A8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
    background: rgba(251, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo a { text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-img { height: 80px; width: auto; display: block; }
.logo h1 { font-size: 1.8rem; letter-spacing: 3px; font-weight: 600; color: var(--warm-dark); }
.logo p { font-size: 0.7rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    margin-left: 20px; text-decoration: none; font-weight: 500;
    color: var(--text-muted); transition: 0.2s; font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--warm-dark); }
.nav-links a.active { border-bottom: 2px solid var(--warm); padding-bottom: 4px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--warm) 0%, var(--warm-dark) 100%);
    color: #FFFFFF; padding: 14px 32px;
    border-radius: 40px; font-weight: 600; text-decoration: none;
    display: inline-block; transition: all 0.3s; border: none; cursor: pointer;
    letter-spacing: 0.5px; font-size: 0.95rem;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(184, 147, 110, 0.35); }

.btn-outline {
    background: transparent; color: var(--warm-dark); padding: 12px 28px;
    border-radius: 40px; font-weight: 600; text-decoration: none;
    display: inline-block; transition: all 0.3s; cursor: pointer;
    letter-spacing: 0.5px; font-size: 0.95rem;
    border: 2px solid var(--warm);
}
.btn-outline:hover { background: var(--warm); color: #FFFFFF; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #FBF8F4 0%, #F3EDE4 40%, #F3EFE9 100%);
    padding: 80px 0 90px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184, 147, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm), transparent);
    opacity: 0.3;
}
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-content { flex: 1.2; }
.hero-badge {
    background: rgba(184, 147, 110, 0.1); display: inline-block; padding: 6px 18px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 500;
    color: var(--warm-dark); margin-bottom: 20px; letter-spacing: 0.5px;
    border: 1px solid rgba(184, 147, 110, 0.25);
}
.hero-content h1 { font-size: 3rem; font-weight: 650; line-height: 1.2; margin-bottom: 20px; color: var(--text-light); }
.highlight { color: var(--warm-dark); }
.hero-stats { display: flex; gap: 30px; margin: 30px 0; }
.hero-stats div { color: var(--text-muted); font-size: 0.9rem; }
.hero-stats div strong { color: var(--sage); display: block; font-size: 1.1rem; }

/* QR box in hero */
.wechat-qr-side {
    background: var(--bg-card); padding: 24px; border-radius: 28px; text-align: center;
    border: 1px solid var(--border); flex: 0.8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}
.qr-placeholder {
    width: 160px; height: 160px; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 12px;
    border-radius: 20px;
}
.wechat-sim {
    background: var(--bg-secondary); color: var(--text); width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; border-radius: 16px; font-size: 11px;
    border: 1px solid var(--border);
}

/* Sections */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-secondary); }
.section-title { font-size: 2.2rem; font-weight: 600; margin-bottom: 16px; text-align: center; color: var(--text-light); }
.section-sub { text-align: center; color: var(--text-muted); max-width: 680px; margin: 0 auto 48px; font-size: 1.05rem; }

/* Therapist Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px; margin-top: 20px;
}
.therapist-card {
    background: var(--bg-card); border-radius: 24px; overflow: hidden; text-align: center;
    transition: all 0.3s; border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}
.therapist-card:hover { transform: translateY(-5px); border-color: var(--warm); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06); }
.therapist-img {
    width: 100%; height: 300px; background: #F0EBE3; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
}
.therapist-img img { width: 100%; height: 100%; object-fit: cover; }
.therapist-img .placeholder-icon { font-size: 70px; color: var(--text-muted); }
.therapist-card h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 600; color: var(--text-light); }
.therapist-card .title { color: var(--warm-dark); font-weight: 500; margin: 6px 0 12px; font-size: 0.9rem; }
.therapist-card .desc { padding: 0 16px 24px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card); border-radius: 20px; padding: 28px;
    transition: all 0.3s; border: 1px solid var(--border); position: relative; overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--warm), transparent); opacity: 0; transition: 0.3s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--warm); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-light); }
.price { font-weight: 700; font-size: 1.5rem; color: var(--warm-dark); margin: 12px 0 8px; }
.small-dur { font-size: 0.85rem; color: var(--text-muted); }
.service-card p { color: var(--text-muted); margin-top: 8px; font-size: 0.9rem; }

/* About */
.about-grid { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.about-highlight { background: var(--bg-card); padding: 24px; border-radius: 24px; border: 1px solid var(--border); }
.about-highlight p { margin: 8px 0; color: var(--text-muted); }
.about-highlight p i { color: var(--warm); margin-right: 8px; }

/* Susan photo in About section */
.susan-photo {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.susan-photo-img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3/4;
    border-radius: 24px;
    background: #F0EBE3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
}
.susan-photo-img img { width: 100%; height: 100%; object-fit: cover; }
.susan-photo-placeholder {
    font-size: 80px;
    color: var(--warm);
    opacity: 0.3;
}
.susan-tagline {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--warm-dark);
    max-width: 320px;
    line-height: 1.5;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(184, 147, 110, 0.08), rgba(184, 147, 110, 0.03));
    border-radius: 12px;
    border-left: 3px solid var(--warm);
    font-style: italic;
    letter-spacing: 0.5px;
}
.susan-photo-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.5;
}
.susan-photo-caption strong {
    display: block;
    color: var(--warm-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

/* QR images */
.qr-real-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    background: #FFFFFF;
}

/* Why items */
.why-list { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 40px; }
.why-item {
    background: var(--bg-card); padding: 32px 24px; border-radius: 24px; flex: 1;
    min-width: 200px; text-align: center; border: 1px solid var(--border); transition: 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.why-item:hover { border-color: var(--warm); }
.why-item .icon { font-size: 32px; color: var(--warm); margin-bottom: 12px; }
.why-item h3 { margin-bottom: 8px; color: var(--text-light); font-size: 1.05rem; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: 20px; overflow: hidden; background: var(--bg-card);
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    flex-direction: column; color: var(--text-muted); font-weight: 500;
    transition: all 0.3s; border: 1px solid var(--border); padding: 20px; text-align: center;
}
.gallery-item:hover { border-color: var(--warm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.gallery-item .icon { font-size: 3rem; margin-bottom: 12px; color: var(--warm); opacity: 0.6; }
.gallery-item span { color: var(--text-light); }

/* FAQ */
.faq-item {
    background: var(--bg-card); border-radius: 20px; margin-bottom: 14px;
    padding: 22px 28px; border: 1px solid var(--border); transition: 0.2s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item strong { color: var(--text-light); }
.faq-item br + * { color: var(--text-muted); }

/* Contact */
.contact-info {
    background: var(--bg-card); color: var(--text); border-radius: 28px; padding: 48px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.contact-info h3 { color: var(--warm-dark); }
.footer-wechat { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 30px; }
.qr-bottom { text-align: center; background: var(--bg-secondary); padding: 20px; border-radius: 28px; border: 1px solid var(--border); }

/* Article Cards */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.article-card {
    background: var(--bg-card); border-radius: 20px; overflow: hidden;
    transition: transform 0.3s; border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.article-card:hover { transform: translateY(-3px); border-color: var(--border-light); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05); }
.article-card-img {
    width: 100%; height: 220px; background: #F0EBE3;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-img i { color: var(--text-muted); }
.article-card-body { padding: 24px; }
.article-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.article-card-body h3 a { color: var(--text-light); text-decoration: none; }
.article-card-body h3 a:hover { color: var(--warm-dark); }
.article-card-body .date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.article-card-body .excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Article Detail */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-detail .article-header { margin-bottom: 32px; }
.article-detail .article-header h1 { font-size: 2.4rem; line-height: 1.3; margin-bottom: 12px; color: var(--text-light); }
.article-detail .article-header .meta { color: var(--text-muted); font-size: 0.9rem; }
.article-detail .article-cover { width: 100%; border-radius: 20px; margin-bottom: 32px; }
.article-detail .article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-detail .article-content p { margin-bottom: 20px; }
.article-detail .article-content h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--text-light); }
.article-detail .article-content h3 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text-light); }
.article-detail .article-content ul, .article-detail .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-detail .article-content li { margin-bottom: 8px; }

/* Breadcrumb */
.breadcrumb { padding: 20px 0; color: var(--text-muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--warm-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--warm); }

/* Float button */
.wechat-float {
    position: fixed; bottom: 24px; right: 24px;
    background: linear-gradient(135deg, var(--warm) 0%, var(--warm-dark) 100%);
    border-radius: 60px; padding: 12px 20px;
    box-shadow: 0 8px 30px rgba(184, 147, 110, 0.35); z-index: 99;
    display: flex; align-items: center; gap: 8px;
    color: #FFFFFF; font-weight: 600; text-decoration: none;
    border: none; transition: all 0.3s;
}
.wechat-float:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(184, 147, 110, 0.45); color: #FFFFFF; }

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, #FBF8F4 0%, #F0E9DD 50%, #F3EFE9 100%);
    padding: 60px 0; text-align: center; position: relative;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm), transparent);
    opacity: 0.4;
}
.page-hero h1 { font-size: 2.6rem; color: var(--text-light); }
.page-hero p { color: var(--text-muted); margin-top: 8px; }

/* Footer */
footer {
    background: var(--footer-bg); color: var(--footer-text); padding: 40px 0;
    text-align: center; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.06);
}
footer a { color: var(--warm-light); text-decoration: none; }
footer a:hover { color: #FFFFFF; }

/* Back to top */
.back-link { display: inline-block; margin-top: 24px; color: var(--warm-dark); text-decoration: none; font-weight: 500; }
.back-link:hover { color: var(--warm); }

/* Structured data (hidden) */
.schema-org { display: none; }

/* Contact page */
.contact-page-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.contact-page-grid .contact-info-col { flex: 0.7; min-width: 240px; }
.contact-page-grid .contact-qr-col { flex: 1.2; min-width: 280px; }
.qr-large { width: 200px !important; height: 200px !important; }

/* Contact QR in footer sections */
.footer-qr-wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-qr-wrap .qr-box { width: 200px !important; height: 200px !important; }

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 16px 24px; border-bottom: 1px solid var(--border); }
    .nav-links.open a { margin: 8px 0; }
    .mobile-menu-btn { display: block; }
    /* === Mobile Hero === */
    .hero {
        background:
            linear-gradient(180deg, rgba(251,248,244,0.85) 0%, rgba(243,237,228,0.78) 50%, rgba(243,239,233,0.90) 100%),
            url('/assets/images/hero-bg.webp') center/cover no-repeat;
        padding: 80px 0 70px;
        min-height: 75vh;
    }
    .hero::before { display: none; }
    .hero-grid { flex-direction: column; gap: 0; text-align: center; }
    .hero-content h1 { font-size: 1.9rem; line-height: 1.3; }
    .hero-content p { font-size: 0.9rem !important; }
    .hero-stats { justify-content: center; gap: 20px; margin: 24px 0; }
    .hero-stats div { font-size: 0.78rem; }
    .hero-stats div strong { font-size: 0.95rem; }
    .hero-badge { font-size: 0.72rem; padding: 5px 14px; margin-bottom: 14px; }
    .hero .btn-gold { display: block; width: 80%; margin: 0 auto; text-align: center; }
    .section-title { font-size: 1.8rem; }
    .contact-info { padding: 32px 24px; }
    .page-hero h1 { font-size: 2rem; }
    .article-detail .article-header h1 { font-size: 1.8rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-item { aspect-ratio: auto; padding: 24px 12px; border-radius: 16px; }
    .gallery-item .icon { font-size: 2rem; margin-bottom: 8px; }
    .gallery-item p { font-size: 11px !important; margin-top: 4px !important; }

    /* === Mobile: Therapist Carousel === */
    .team-carousel { position: relative; }
    .team-carousel-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .team-carousel-track::-webkit-scrollbar { display: none; }
    .team-carousel-track .therapist-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-width: 0;
    }
    .carousel-arrows {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
    }
    .carousel-btn {
        width: 44px; height: 44px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--bg-card);
        color: var(--warm-dark);
        font-size: 1.1rem;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        transition: all 0.2s;
    }
    .carousel-btn:active { background: var(--warm); color: #fff; }

    /* === Mobile: Hide Hero QR Box === */
    .wechat-qr-side { display: none; }

    /* === Mobile: Service Cards Compact === */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .service-card { padding: 16px; border-radius: 16px; }
    .service-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
    .price { font-size: 1.2rem; margin: 6px 0 4px; }
    .service-card p { font-size: 0.78rem; margin-top: 4px; }

    /* === FAQ Accordion === */
    .faq-item {
        cursor: pointer;
        position: relative;
        padding-right: 36px;
    }
    .faq-item::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 20px; top: 22px;
        color: var(--warm);
        transition: transform 0.3s;
        font-size: 0.8rem;
    }
    .faq-item.open::after { transform: rotate(180deg); }
    .faq-item .faq-answer { display: none; margin-top: 8px; color: var(--text-muted); }
    .faq-item.open .faq-answer { display: block; }
    .faq-item strong { display: block; }

    /* === Mobile: QR codes larger & centered === */
    .contact-page-grid .contact-info-col,
    .contact-page-grid .contact-qr-col { flex: 1 1 100%; min-width: 0; }
    .contact-page-grid .contact-qr-col { text-align: center; }
    .qr-large { width: 180px !important; height: 180px !important; margin: 0 auto !important; }
    .footer-qr-wrap .qr-box { width: 180px !important; height: 180px !important; }
    .footer-qr-wrap { justify-content: center; }
}

/* Desktop: hide carousel arrows (shown via mobile media query) */
.carousel-arrows { display: none; }
@media (max-width: 768px) {
    .carousel-arrows { display: flex; }
}

@media (max-width: 580px) {
    .wechat-float span { display: none; }
    .wechat-float { padding: 12px; }
    .hero-stats { gap: 12px; }
    .about-grid { flex-direction: column; }
    .susan-photo { order: 1; margin-bottom: 24px; }
    .about-text { order: 2; }
    .susan-photo-img { max-width: 260px; }
    .susan-tagline { font-size: 0.95rem; max-width: 260px; padding: 6px 12px; }
}
