:root {
  --site-header-height: 84px;
    --brand-ink: #28292d;
    --brand-brown: #bc5b3f;
    --brand-brown-deep: #9e4632;
    --brand-sand: #fff4e5;
    --brand-paper: #fffdf8;
    --brand-terracotta: #d76445;
    --brand-terracotta-dark: #b84c34;
    --brand-amber: #f1ad52;
    --brand-sunset: #f7c877;
    --brand-sunset-deep: #cf6b3f;
    --brand-olive: #66715d;
    --brand-line: rgba(61, 52, 44, 0.12);
    --brand-section: #fff7ec;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 9px 12px;
  border-radius: 4px;
  background: #fff;
  color: #1a1a2e;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

header nav ul { gap: 18px; }
header nav a { font-size: 15px; }

[data-scene-reference],
[data-scene-reference-container] { position: relative; }

[data-scene-reference]::after,
[data-scene-reference-container]::after {
  content: "场景示意图";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 3px;
  background: rgba(20,18,17,.76);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

html {
    background: var(--brand-paper);
}

body {
    background: var(--brand-paper) !important;
    color: var(--brand-ink) !important;
}

header {
    background: #fff8ee !important;
    color: #39332f !important;
    border-bottom: 1px solid rgba(237, 183, 101, 0.55);
    box-shadow: 0 6px 22px rgba(91, 61, 41, 0.07) !important;
}

header .logo,
header nav a {
    color: #39332f !important;
}

header .container {
    gap: 22px;
}

.site-brand {
    flex: 0 0 auto;
    min-width: max-content;
    font-size: 22px !important;
    letter-spacing: 0;
}

header nav {
    margin-left: auto;
}

header nav ul {
    gap: 17px !important;
}

header nav a {
    white-space: nowrap;
    font-size: 15px !important;
}

.site-hotline {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 34px auto auto;
    grid-template-areas:
        "icon label label"
        "icon primary secondary";
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    padding: 7px 11px 7px 8px;
    border: 1px solid rgba(215, 100, 69, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 3px 14px rgba(117, 71, 44, 0.06);
    line-height: 1.15;
}

.site-hotline::before {
    content: "";
    grid-area: icon;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #d76445 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
}

.site-hotline span {
    grid-area: label;
    color: rgba(57, 51, 47, 0.62);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.site-hotline a {
    color: #39332f !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-hotline a:hover {
    color: var(--brand-terracotta) !important;
}

.site-phone-primary {
    grid-area: primary;
}

.site-phone-secondary {
    grid-area: secondary;
    padding-left: 10px;
    border-left: 1px solid rgba(57, 51, 47, 0.16);
    color: rgba(57, 51, 47, 0.8) !important;
}

footer {
    background: #a94732 !important;
    color: #fff8ee !important;
}

footer .footer-col p,
footer .footer-col a {
    color: rgba(255, 248, 238, 0.84) !important;
}

footer .footer-col a:hover {
    color: #ffd08a !important;
}

footer .footer-col h4 {
    color: #ffd08a !important;
}

footer .copyright {
    border-top-color: rgba(255, 208, 138, 0.28) !important;
    color: rgba(255, 248, 238, 0.68) !important;
}

footer .copyright a {
    color: rgba(255, 248, 238, 0.68) !important;
}

footer .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 0.95fr 0.95fr 0.9fr !important;
    gap: 30px !important;
}

.footer-contact {
    min-width: 140px;
}

.footer-phone {
    display: block;
    width: fit-content;
    color: #fff8ee !important;
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.footer-phone-primary {
    margin-bottom: 2px;
    font-size: 18px;
    font-weight: 800;
}

.footer-qr {
    display: block;
    width: 112px;
    height: 112px;
    margin-top: 14px;
    border: 5px solid #fff8ee;
    border-radius: 4px;
    object-fit: cover;
}

.footer-qr-label {
    width: 112px;
    margin-top: 5px;
    color: rgba(255, 248, 238, 0.78) !important;
    font-size: 12px;
    text-align: center;
}

.cta-section {
    background: #b95139 !important;
}

.page-header {
    background: #fff3e3 !important;
    color: #4a3329 !important;
    box-shadow: inset 0 -1px 0 rgba(80, 55, 40, 0.08);
}

nav a:hover,
.breadcrumb a:hover,
.footer-col h4,
.section-title .en,
.service-text .en-title,
.logo span {
    color: var(--brand-terracotta) !important;
}

header nav a:hover {
    color: #d76445 !important;
}

header .logo span {
    color: #d76445 !important;
}

header nav a[aria-current="page"] {
    color: #d76445 !important;
    border-bottom: 2px solid #edb765;
    padding-bottom: 4px;
}

.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb [aria-current="page"] span {
    color: rgba(74, 51, 41, 0.76) !important;
}

.section-title h2,
.service-text h3,
.content-text h3,
.model-content h3,
.showcase-content h4,
.case-detail .case-meta h3,
.cred-highlight-card h3 {
    color: var(--brand-ink) !important;
}

section:nth-child(even),
section[style*="background: white"] {
    background: var(--brand-section) !important;
}

.hero-video {
    filter: brightness(1.16) saturate(1.14) contrast(0.98) !important;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(255, 148, 72, 0.07) 0%, rgba(8, 12, 24, 0.10) 48%, rgba(8, 12, 24, 0.34) 100%) !important;
}

.hero h1,
.hero .subtitle,
.hero .tagline {
    text-shadow: 0 2px 18px rgba(4, 8, 18, 0.58);
}

.btn-primary,
.btn,
.store-card .tag,
.event-content .tag,
.pagination span.active {
    background: var(--brand-terracotta) !important;
    box-shadow: 0 8px 20px rgba(183, 76, 52, 0.18) !important;
}

.btn-primary:hover,
.btn:hover {
    background: var(--brand-terracotta-dark) !important;
}

.service-card,
.model-card,
.news-card,
.contact-card,
.store-card,
.team-card,
.cred-highlight-card,
.gallery-item,
.testimonial,
.stats-bar {
    border-color: var(--brand-line) !important;
    box-shadow: 0 10px 28px rgba(61, 52, 44, 0.07) !important;
}

.service-slogan,
.highlight,
.event-content .highlight,
.stat-item {
    background: #fff1df !important;
}

.service-slogan,
.cred-highlight-card,
.gallery-item .caption .tag {
    border-color: var(--brand-terracotta) !important;
}

.news-card .news-img,
.featured-img,
.service-visual,
.about-image,
.event-visual,
.gallery-img,
.showcase-img,
.case-hero,
.ba-visual {
    background-color: var(--brand-amber) !important;
}

.news-card .news-img,
.featured-img,
.service-visual,
.about-image {
    background-size: cover !important;
    background-position: center !important;
}

.photo-panel {
    min-height: 350px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    color: #fff;
}

.photo-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.02), rgba(8, 12, 24, 0.46));
}

.photo-panel span {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.icon {
    color: var(--brand-terracotta) !important;
}

.icon svg {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        filter: brightness(1.16) saturate(1.14) contrast(0.98) !important;
    }
}

@media (max-width: 1180px) {
    header nav ul {
        gap: 12px !important;
    }

    .site-phone-secondary {
        display: none;
    }

    .site-hotline {
        grid-template-columns: 32px auto;
        grid-template-areas:
            "icon label"
            "icon primary";
    }

    .site-hotline::before {
        width: 32px;
        height: 32px;
    }

    footer .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 960px) {
    .site-brand {
        font-size: 20px !important;
    }

    .site-hotline {
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    header .container {
        gap: 14px;
    }

    .site-brand {
        font-size: 18px !important;
    }

    .site-hotline {
        grid-template-columns: 30px auto;
        grid-template-areas: "icon primary";
        column-gap: 8px;
        padding: 5px 8px 5px 6px;
        border-radius: 10px;
    }

    .site-hotline span,
    .site-phone-secondary {
        display: none;
    }

    .site-phone-primary {
        font-size: 13px;
    }

    .site-hotline::before {
        width: 30px;
        height: 30px;
        background-size: 15px 15px;
    }

    footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    footer .footer-grid {
        grid-template-columns: 1fr !important;
    }
}
