/* R33 家政展示预约站 · 13色板 - see app for full styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); transition: background .35s, color .35s; }
body.showcase-back-active { padding-top: calc(44px + env(safe-area-inset-top, 0)); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

body[data-theme='mint'] { --primary:#00BFA5; --primary-dark:#00796B; --bg:#F5FFFE; --bg-card:#FFF; --text:#004D40; --text-light:#00796B; --border:#B2DFDB; --hero-overlay:rgba(0,77,64,.55); }
body[data-theme='ocean'] { --primary:#1565C0; --primary-dark:#0D47A1; --bg:#F5F8FC; --bg-card:#FFF; --text:#0D47A1; --text-light:#1565C0; --border:#BBDEFB; --hero-overlay:rgba(13,71,161,.6); }
body[data-theme='warmpink'] { --primary:#E91E63; --primary-dark:#AD1457; --bg:#FFF5F7; --bg-card:#FFF; --text:#880E4F; --text-light:#C2185B; --border:#F8BBD0; --hero-overlay:rgba(136,14,79,.5); }
body[data-theme='warmorange'] { --primary:#FF8F00; --primary-dark:#E65100; --bg:#FFF8F0; --bg-card:#FFF; --text:#E65100; --text-light:#F57C00; --border:#FFE0B2; --hero-overlay:rgba(230,81,0,.55); }
body[data-theme='iceblue'] { --primary:#0277BD; --primary-dark:#01579B; --bg:#F0F4F8; --bg-card:#FFF; --text:#01579B; --text-light:#0288D1; --border:#B3E5FC; --hero-overlay:rgba(1,87,155,.55); }
body[data-theme='champagne'] { --primary:#C9A84C; --primary-dark:#8D6E00; --bg:#2C2C2C; --bg-card:#3A3A3A; --text:#F5F5F5; --text-light:#C9A84C; --border:#555; --hero-overlay:rgba(0,0,0,.55); }
body[data-theme='classic'] { --primary:#1C1C1C; --primary-dark:#C9A84C; --bg:#FFF; --bg-card:#FAFAFA; --text:#1C1C1C; --text-light:#666; --border:#E0E0E0; --hero-overlay:rgba(0,0,0,.6); }
body[data-theme='nature'] { --primary:#43A047; --primary-dark:#2E7D32; --bg:#FFFDF5; --bg-card:#FFF; --text:#1B5E20; --text-light:#388E3C; --border:#C8E6C9; --hero-overlay:rgba(27,94,32,.5); }
body[data-theme='lavender'] { --primary:#7E57C2; --primary-dark:#512DA8; --bg:#F8F5FF; --bg-card:#FFF; --text:#4A148C; --text-light:#7E57C2; --border:#D1C4E9; --hero-overlay:rgba(74,20,140,.5); }
body[data-theme='sky'] { --primary:#29B6F6; --primary-dark:#0288D1; --bg:#F5FBFF; --bg-card:#FFF; --text:#01579B; --text-light:#0288D1; --border:#B3E5FC; --hero-overlay:rgba(2,136,209,.5); }
body[data-theme='coral'] { --primary:#FF7043; --primary-dark:#E64A19; --bg:#FFFBF8; --bg-card:#FFF; --text:#BF360C; --text-light:#E64A19; --border:#FFCCBC; --hero-overlay:rgba(191,54,12,.5); }
body[data-theme='graphite'] { --primary:#00897B; --primary-dark:#37474F; --bg:#FAFAFA; --bg-card:#FFF; --text:#37474F; --text-light:#546E7A; --border:#CFD8DC; --hero-overlay:rgba(55,71,79,.6); }
body[data-theme='rosegold'] { --primary:#D4A5A5; --primary-dark:#9E7777; --bg:#1F1F1F; --bg-card:#2A2A2A; --text:#F5F5F5; --text-light:#D4A5A5; --border:#444; --hero-overlay:rgba(0,0,0,.6); }

.glass-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.section { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.section__title { font-size: 1.35rem; text-align: center; margin-bottom: 1.25rem; color: var(--primary); font-weight: 800; }

.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__content { position: relative; z-index: 1; text-align: center; padding: 2rem 1.5rem; animation: fadeUp .8s ease; }
.hero__brand { font-size: clamp(2rem, 8vw, 3rem); font-weight: 900; margin-bottom: .5rem; }
.hero__slogan { font-size: 1.15rem; margin-bottom: .35rem; }
.hero__sub { font-size: .88rem; opacity: .85; margin-bottom: 1.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.hero-stat__value { font-size: 1.5rem; font-weight: 800; }
.hero-stat__label { font-size: .72rem; opacity: .8; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__scroll { display: block; margin-top: 1.25rem; font-size: .82rem; opacity: .7; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .88rem; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.section .btn-outline { border-color: var(--primary); color: var(--primary); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.filter-chip { padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-light); cursor: pointer; }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { padding: 1rem; cursor: pointer; transition: transform .2s; position: relative; }
.service-card:hover { transform: translateY(-3px); }
.service-card__icon { font-size: 1.75rem; margin-bottom: .35rem; }
.service-card__name { font-weight: 700; font-size: .92rem; }
.service-card__desc { font-size: .72rem; color: var(--text-light); margin: .25rem 0 .5rem; }
.service-card__price { font-size: .88rem; color: var(--primary); font-weight: 700; }
.service-card__tag { position: absolute; top: .5rem; right: .5rem; font-size: .6rem; padding: .15rem .4rem; border-radius: 999px; background: #FF6B6B; color: #fff; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { padding: 1rem; text-align: center; cursor: pointer; }
.team-card__avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; margin: 0 auto .5rem; border: 2px solid var(--primary); }
.team-card__name { font-weight: 700; font-size: .92rem; }
.team-card__meta { font-size: .75rem; color: var(--text-light); margin: .25rem 0; }
.team-tag { font-size: .65rem; padding: .1rem .4rem; border-radius: 999px; background: var(--border); color: var(--text-light); display: inline-block; margin: .1rem; }

.ba-tabs { display: flex; gap: .5rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.ba-tab { padding: .4rem .85rem; border-radius: 999px; font-size: .78rem; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; }
.ba-tab.active { background: var(--primary); color: #fff; }
.ba-slider { position: relative; width: 100%; max-width: 640px; margin: 0 auto 1rem; aspect-ratio: 16/10; border-radius: 1rem; overflow: hidden; user-select: none; touch-action: none; box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.ba-slider__after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-slider__before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; z-index: 2; border-right: 2px solid #fff; }
.ba-slider__before { width: 640px; max-width: 100vw; height: 100%; background-size: cover; background-position: center; filter: grayscale(.85) brightness(.75); }
.ba-slider__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; z-index: 3; transform: translateX(-50%); cursor: ew-resize; }
.ba-slider__handle::after { content: '◀ ▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; color: #333; font-size: .6rem; padding: .3rem .45rem; border-radius: 999px; white-space: nowrap; }
.ba-label { position: absolute; top: .75rem; z-index: 4; font-size: .72rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
.ba-label--before { left: .75rem; }
.ba-label--after { right: .75rem; }
.ba-caption { text-align: center; font-size: .85rem; color: var(--text-light); margin-bottom: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.photo-grid img { border-radius: .5rem; aspect-ratio: 1; object-fit: cover; }

.process-track { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; }
.process-step { flex: 0 0 7rem; text-align: center; padding: .85rem .5rem; border-radius: .75rem; background: var(--bg-card); border: 1px solid var(--border); }
.process-step__icon { font-size: 1.5rem; }
.process-step__name { font-size: .78rem; font-weight: 700; margin-top: .25rem; }
.process-step__desc { font-size: .65rem; color: var(--text-light); }

.trust-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.trust-badge { font-size: .72rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); }
.guarantee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .guarantee-grid { grid-template-columns: repeat(4, 1fr); } }
.guarantee-card { padding: .85rem; text-align: center; font-size: .78rem; }
.guarantee-card__icon { font-size: 1.5rem; }
.guarantee-card__title { font-weight: 700; margin: .25rem 0; }
.guarantee-card__desc { color: var(--text-light); font-size: .68rem; }

.testimonial { padding: 1.25rem; text-align: center; min-height: 130px; }
.testimonial__text { font-size: .88rem; color: var(--text-light); margin: .75rem 0; font-style: italic; }
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .82rem; }
.testimonial__avatar { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.testimonial-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .5rem; }
.testimonial-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; }
.testimonial-dot.active { background: var(--primary); }

.booking-box { max-width: 520px; margin: 0 auto; padding: 1.25rem; }
.booking-progress { display: flex; gap: .35rem; margin-bottom: 1.25rem; }
.booking-progress__step { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.booking-progress__step.active, .booking-progress__step.done { background: var(--primary); }
.booking-step-title { font-weight: 700; margin-bottom: .75rem; text-align: center; color: var(--primary); }
.booking-quote { text-align: center; padding: .75rem; border-radius: .65rem; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-dark); font-weight: 700; margin-bottom: 1rem; font-size: .92rem; }
.booking-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-bottom: 1rem; }
.booking-svc { padding: .75rem; border: 2px solid var(--border); border-radius: .65rem; text-align: center; cursor: pointer; font-size: .82rem; }
.booking-svc.selected { border-color: var(--primary); }
.booking-dates { display: flex; gap: .5rem; overflow-x: auto; margin-bottom: 1rem; }
.booking-date { flex: 0 0 auto; padding: .5rem .75rem; border: 1px solid var(--border); border-radius: .5rem; cursor: pointer; font-size: .75rem; }
.booking-date.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.booking-slots { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.booking-slot { padding: .65rem; border: 1px solid var(--border); border-radius: .5rem; text-align: center; cursor: pointer; font-size: .82rem; }
.booking-slot.selected { border-color: var(--primary); }
.booking-field { margin-bottom: .75rem; }
.booking-field label { display: block; font-size: .78rem; margin-bottom: .25rem; color: var(--text-light); }
.booking-field input, .booking-field select, .booking-field textarea { width: 100%; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--bg); color: var(--text); }
.booking-summary { font-size: .82rem; line-height: 1.8; margin-bottom: 1rem; padding: .75rem; background: var(--bg); border-radius: .65rem; }
.booking-actions { display: flex; gap: .5rem; }
.booking-actions .btn { flex: 1; }
.booking-success { text-align: center; padding: 1rem; }

.about-story { color: var(--text-light); line-height: 1.85; margin-bottom: 1rem; font-size: .92rem; }
.timeline { border-left: 2px solid var(--border); padding-left: 1rem; margin-bottom: 1rem; }
.timeline-item { margin-bottom: .75rem; }
.timeline-item__year { font-size: .75rem; color: var(--primary); font-weight: 700; }
.city-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.city-tag { padding: .35rem .85rem; border-radius: 999px; background: var(--primary); color: #fff; font-size: .78rem; }

.cta-section { text-align: center; padding: 2.5rem 1.25rem; background: var(--primary-dark, var(--primary)); color: #fff; }
.cta-section__title { font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; }
.cta-quick { display: flex; gap: .5rem; max-width: 360px; margin: 1rem auto; }
.cta-quick input { flex: 1; padding: .65rem .85rem; border: none; border-radius: 999px; }

.site-footer { text-align: center; padding: 1.5rem 1rem; font-size: .78rem; color: var(--text-light); border-top: 1px solid var(--border); }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal__box { position: relative; background: var(--bg-card); border-radius: 1rem; padding: 1.25rem; max-width: 420px; width: 100%; max-height: 88vh; overflow-y: auto; }
.modal__close { position: absolute; top: .65rem; right: .65rem; font-size: 1.2rem; color: var(--text-light); }

.scene-panel, .theme-panel { position: fixed; z-index: 50; }
.scene-panel { bottom: calc(5.5rem + env(safe-area-inset-bottom)); left: 1rem; }
.theme-panel { bottom: calc(5.5rem + env(safe-area-inset-bottom)); right: 1rem; }
.scene-panel__toggle, .theme-panel__toggle { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,.12); font-size: 1.25rem; cursor: pointer; }
.scene-panel__list, .theme-panel__list { position: absolute; bottom: calc(100% + .5rem); background: var(--bg-card); border: 1px solid var(--border); border-radius: .75rem; padding: .5rem; min-width: 9rem; max-height: 50vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.theme-panel__list { right: 0; left: auto; }
.scene-panel__list button, .theme-panel__list button { display: block; width: 100%; text-align: left; padding: .4rem .6rem; border-radius: .35rem; font-size: .8rem; color: var(--text); background: none; border: none; cursor: pointer; }
.scene-panel__list button.active, .theme-panel__list button.active, .scene-panel__list button:hover, .theme-panel__list button:hover { background: var(--primary); color: #fff; }

.back-top { position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom)); right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary); color: #fff; z-index: 40; border: none; cursor: pointer; }
.back-top[hidden] { display: none; }
.contact-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(0,0,0,.82); color: #fff; text-align: center; }
.contact-footer__btns { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .35rem; }
.contact-footer__cta { padding: .45rem 1rem; border-radius: 999px; background: var(--primary, #00BFA5); color: #fff; font-size: .82rem; font-weight: 600; }
.contact-footer__btn { padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; font-size: .82rem; cursor: pointer; }
.contact-footer__brand { font-size: .68rem; opacity: .65; }
html.has-contact-footer body { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

/* Share page */
body.share-page { padding-bottom: 2rem; min-height: 100vh; background: var(--bg); }
.share-hero { position: relative; color: #fff; overflow: hidden; }
.share-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.share-hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.share-hero__body { position: relative; z-index: 1; text-align: center; padding: 2.5rem 1.25rem 2rem; }
.share-hero__logo { font-size: 2.5rem; margin-bottom: .5rem; }
.share-hero__brand { font-size: 1.75rem; font-weight: 900; margin-bottom: .35rem; }
.share-hero__slogan { font-size: 1rem; margin-bottom: .25rem; }
.share-hero__sub { font-size: .82rem; opacity: .85; margin-bottom: 1rem; }
.share-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; }
.share-stat { font-size: .72rem; opacity: .9; }
.share-stat strong { display: block; font-size: 1.1rem; font-weight: 800; }
.share-section { max-width: 520px; margin: 0 auto; padding: 1.5rem 1.25rem 0; }
.share-section__title { font-size: 1.05rem; font-weight: 800; color: var(--primary); text-align: center; margin-bottom: .85rem; }
.share-services { display: grid; gap: .65rem; }
.share-svc { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; position: relative; }
.share-svc__icon { font-size: 1.5rem; }
.share-svc__name { font-weight: 700; font-size: .9rem; }
.share-svc__price { font-size: .82rem; color: var(--primary); font-weight: 700; margin-top: .15rem; }
.share-svc__tag { position: absolute; top: .5rem; right: .65rem; font-size: .65rem; background: var(--primary); color: #fff; padding: .12rem .45rem; border-radius: 999px; }
.share-qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.share-qr-card { text-align: center; padding: 1rem .75rem; }
.share-qr-card img { width: 8rem; height: 8rem; margin: 0 auto .5rem; border-radius: .5rem; border: 1px solid var(--border); object-fit: cover; background: #fff; }
.share-qr-card p { font-weight: 700; font-size: .85rem; }
.share-qr-card small { color: var(--text-light); font-size: .72rem; }
.share-actions { max-width: 520px; margin: 1.5rem auto 0; padding: 0 1.25rem; display: flex; flex-direction: column; gap: .65rem; }
.share-actions .btn { width: 100%; text-align: center; }
.share-actions .btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.share-footer { text-align: center; padding: 1.5rem 1.25rem 2rem; font-size: .78rem; color: var(--text-light); }
.share-footer__note { margin-top: .35rem; opacity: .75; }
