/* =========================================================
   中津环境 · 专业美学视觉系统
   Industrial slate + emerald · Lexend / Source Sans 3
   ========================================================= */

:root {
    --color-primary: #334155;
    --color-on-primary: #FFFFFF;
    --color-secondary: #475569;
    --color-accent: #059669;
    --color-accent-soft: #ECFDF5;
    --color-background: #F4F7F5;
    --color-foreground: #0F172A;
    --color-muted: #E8EEEA;
    --color-border: #D8E0DB;
    --color-surface: #FFFFFF;
    --font-heading: "Lexend", "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-body: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 72px;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --brand-primary: var(--color-primary);
    --brand-primary-hover: #1E293B;
    --brand-secondary: var(--color-accent);
    --page-bg: var(--color-background);
    --card-bg: var(--color-surface);
    --border-color: var(--color-border);
    --text-primary: var(--color-foreground);
    --text-secondary: var(--color-secondary);
    --font-family: var(--font-body);
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(5, 150, 105, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(51, 65, 85, 0.08), transparent 50%),
        var(--color-background);
    color: var(--color-foreground);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--color-primary); }

h1, h2, h3, h4, .nav-logo-text strong, .section-heading h2, .hero-slide h1 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--color-foreground);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-h);
    background: rgba(244, 247, 245, 0.86);
    border-bottom: 1px solid rgba(216, 224, 219, 0.9);
    backdrop-filter: blur(14px);
    transition: box-shadow 220ms ease, background 220ms ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    min-width: 0;
}
.nav-logo-image {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
}
.nav-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #334155, #059669);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.nav-logo-text strong { font-size: 18px; }
.nav-logo-text small {
    font-size: 12px;
    color: var(--color-secondary);
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}
.nav-menu a {
    display: block;
    padding: 9px 11px;
    color: var(--color-secondary);
    font-weight: 520;
    border-radius: 8px;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
    background: rgba(5, 150, 105, 0.08);
}

.nav-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
    border-left: 1px solid var(--color-border);
}
.nav-hotline span { font-size: 11px; color: var(--color-secondary); letter-spacing: 0.04em; }
.nav-hotline > a:not(.nav-cta) {
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

.nav-cta,
.btn-primary,
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #10B981, #059669);
    color: #fff !important;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 22px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.25);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.nav-cta { padding: 10px 14px; font-size: 14px; box-shadow: none; }
.btn-primary:hover,
.form-submit:hover,
.nav-cta:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(5, 150, 105, 0.28);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-primary) !important;
    border: 1.5px solid rgba(51, 65, 85, 0.55);
    border-radius: var(--radius);
    padding: 11px 20px;
    font-weight: 650;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff !important;
    border-color: var(--color-primary);
}
.hero-slide .btn-secondary {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}
.hero-slide .btn-secondary:hover {
    background: #fff;
    color: var(--color-primary) !important;
}

.btn-phone {
    color: #fff !important;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--color-foreground);
    display: block;
}

/* ===== Sections ===== */
.section { padding: var(--space-3xl) 0; }
.section-muted {
    background:
        linear-gradient(180deg, rgba(232, 238, 234, 0.75), rgba(232, 238, 234, 0.95));
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-kicker::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--color-accent);
}
.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}
.section-heading h2,
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 12px;
}
.section-heading p,
.section-subtitle {
    margin: 0;
    color: var(--color-secondary);
    font-size: 17px;
}

.page-hero {
    position: relative;
    padding: 96px 0 72px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(5, 150, 105, 0.55)),
        url('/images/facility-campus.jpg') center/cover no-repeat;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--color-background));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
    margin: 0 0 14px;
}
.page-hero p {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* ===== Full-bleed Hero Carousel ===== */
.hero-carousel {
    position: relative;
    min-height: min(88vh, 780px);
    overflow: hidden;
    background: #0B1220;
}
.hero-slides {
    position: relative;
    min-height: inherit;
    height: min(88vh, 780px);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
    background:
        linear-gradient(105deg, rgba(8, 15, 28, 0.88) 0%, rgba(8, 15, 28, 0.62) 46%, rgba(5, 150, 105, 0.32) 100%),
        var(--hero-image) center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide-inner {
    position: relative;
    z-index: 1;
    padding: 0 0 96px;
    max-width: 760px;
    color: #fff;
    animation: heroRise 700ms ease both;
}
.hero-slide-inner::before {
    content: "";
    position: absolute;
    inset: -24px -28px -28px;
    z-index: -1;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.18), rgba(8, 15, 28, 0.55));
    filter: blur(1px);
}
.hero-kicker {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.08);
}
.hero-slide h1 {
    color: #fff;
    font-size: clamp(36px, 6vw, 60px);
    margin: 0 0 16px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-lead {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 200ms ease, background 200ms ease;
}
.hero-dots button.is-active {
    width: 28px;
    background: #fff;
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Snapshot / facts ===== */
.snapshot-section { margin-top: -36px; position: relative; z-index: 2; }
.snapshot-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 28px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}
.snapshot-panel > div:last-child { padding-right: 12px; }
.snapshot-panel h2 { margin: 0 0 4px; font-size: 28px; }
.snapshot-panel p {
    margin: 0;
    color: var(--color-secondary);
    font-size: 17px;
    line-height: 1.75;
}
.snapshot-visual {
    border-radius: 14px;
    overflow: hidden;
    min-height: 140px;
    background: #111827 center/cover no-repeat;
    box-shadow: var(--shadow-md);
}
.fact-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.fact-item {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.fact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-accent);
    margin-bottom: 4px;
}
.fact-item span { color: var(--color-secondary); font-size: 13px; }
.about-fact-strip { margin: 20px 0 24px; }

/* ===== Feature / cert / news grids ===== */
.feature-grid,
.cert-wall,
.home-news-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cert-wall-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card,
.cert-card,
.home-news-card,
.info-card,
.business-card,
.product-catalog-card,
.news-card,
.contact-info-card,
.contact-form-card,
.project-highlight-card,
.case-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.feature-card {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer;
    overflow: hidden;
}
.feature-card:hover,
.cert-card:hover,
.project-highlight-card:hover,
.product-catalog-card:hover,
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #B7C9BE;
}
.feature-media {
    margin: -22px -22px 18px;
    height: 140px;
    background: #0F172A center/cover no-repeat;
}
.feature-icon,
.cert-visual,
.business-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}
.feature-card h3,
.cert-card h3,
.home-news-card h3,
.case-body h2,
.info-card h3,
.project-highlight-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.feature-card p,
.cert-card p,
.home-news-card p,
.case-body p,
.info-card p,
.project-highlight-card p {
    margin: 0;
    color: var(--color-secondary);
    line-height: 1.65;
}

.cert-card.has-image {
    padding: 0;
    overflow: hidden;
}
.cert-card.has-image .cert-photo {
    height: 150px;
    background: center/cover no-repeat;
}
.cert-card.has-image .cert-body { padding: 18px 20px 22px; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--color-accent);
    font-weight: 650;
}

.news-tag-row,
.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
    justify-content: center;
}
.news-tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-secondary);
    font-weight: 650;
    cursor: pointer;
}
.news-tag.is-active,
.news-tag:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.news-chip {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
}

.project-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.project-highlight-card {
    position: relative;
    min-height: 280px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.88)),
        var(--project-image, url('/images/facility-campus.jpg')) center/cover no-repeat;
    border: 0;
}
.project-highlight-card h3,
.project-highlight-card p,
.project-highlight-card .text-link { color: #fff; }
.project-highlight-card p { color: rgba(255, 255, 255, 0.86); margin-bottom: 8px; }
.project-year {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}
.project-metric {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    margin-bottom: 8px;
}

.home-case-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}
.home-case-chip {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 10px;
    color: inherit;
    overflow: hidden;
}
.home-case-chip img {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}
.home-case-chip span {
    display: block;
    font-weight: 650;
    color: var(--color-foreground);
    margin-bottom: 4px;
}
.home-case-chip small { color: var(--color-secondary); }

.section-cta-row { text-align: center; margin-top: 28px; }

/* ===== CTA / footer ===== */
.cta-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 64px 0;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.92), rgba(5, 150, 105, 0.78)),
        url('/images/hero-transfer.jpg') center/cover no-repeat;
}
.cta-band-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-secondary {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
}
.cta-band .btn-secondary:hover {
    background: #fff;
    color: var(--color-primary) !important;
}

.footer {
    background:
        linear-gradient(180deg, #0B1220, #111827);
    color: rgba(255, 255, 255, 0.82);
    padding: 64px 0 28px;
}
.footer a { color: rgba(255, 255, 255, 0.82); }
.footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer h4 { color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand p { margin-top: 12px; line-height: 1.7; }
.footer-qr { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.footer-qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; }
.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}
.footer-bottom { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ===== About / business / products / cases ===== */
.timeline {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 860px;
}
.timeline-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.timeline-year {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-accent);
}
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--color-secondary); }
.plain-list li::before { content: "•"; color: var(--color-accent); margin-right: 8px; }

.map-embed {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    min-height: 280px;
    background: var(--color-muted);
    box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-fallback { padding: 48px 24px; text-align: center; }

.about-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}
.about-photo {
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    background: #0F172A center/cover no-repeat;
    box-shadow: var(--shadow-md);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.case-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-muted);
    margin-bottom: 16px;
    aspect-ratio: 16/9;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-index {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.case-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}
.case-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.products-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.business-filter-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.business-filter-header h2 { margin: 6px 0 0; }
.business-count-label {
    margin: 0;
    color: var(--color-secondary);
    font-size: 14px;
    white-space: nowrap;
}
.business-count-label strong {
    color: var(--color-accent);
    font-size: 22px;
    font-family: var(--font-heading);
}

.business-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr);
    gap: 22px;
    align-items: start;
}
.business-split-list {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.business-split-detail {
    position: sticky;
    top: 96px;
    min-height: 420px;
    min-width: 0;
}
.business-groups {
    display: grid;
    gap: 20px;
}
.business-group {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.9));
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 16px;
}
.business-group-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(230, 232, 234, 0.9);
}
.business-group-heading-copy {
    display: grid;
    grid-template-columns: 4px 1fr;
    gap: 12px;
    align-items: start;
}
.business-group-index {
    width: 4px;
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-accent), #334155);
    margin-top: 4px;
}
.business-group-heading h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.business-group-heading p {
    margin: 0;
    color: var(--color-secondary);
    font-size: 13px;
    line-height: 1.55;
}
.business-group-count {
    flex: 0 0 auto;
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 650;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--color-border);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.business-card {
    padding: 0;
    overflow: hidden;
}
.business-card.is-selected {
    border-color: #86B8A2;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
    background: #fff;
}
.business-card-button {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 14px;
    color: inherit;
    cursor: pointer;
}
.business-card-icon {
    margin-bottom: 0;
    width: 42px;
    height: 42px;
}
.business-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.business-card-category {
    font-size: 12px;
    font-weight: 650;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}
.business-card-copy strong {
    font-size: 16px;
    line-height: 1.35;
}
.business-card-description {
    color: var(--color-secondary);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.business-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: var(--color-accent);
    background: var(--color-accent-soft);
    flex: 0 0 auto;
}
.business-card-action i { width: 16px; height: 16px; }
.business-card.is-selected .business-card-action {
    background: var(--color-accent);
    color: #fff;
}

.business-detail-placeholder,
.business-detail-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.business-detail-placeholder[hidden],
.business-detail-panel[hidden],
.business-empty[hidden],
.business-card[hidden] {
    display: none !important;
}
.business-detail-placeholder {
    min-height: 420px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    padding: 36px 28px;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(5, 150, 105, 0.08), transparent 42%),
        linear-gradient(180deg, #fff, #F8FAFC);
}
.business-detail-placeholder-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    margin-bottom: 4px;
}
.business-detail-placeholder h3 { margin: 0; }
.business-detail-placeholder p {
    margin: 0;
    max-width: 28ch;
    color: var(--color-secondary);
    line-height: 1.65;
}
.business-detail-panel {
    padding: 24px;
    color: var(--color-foreground);
    animation: business-detail-in 280ms ease;
}
@keyframes business-detail-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.business-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.business-detail-category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 650;
}
.business-detail-header h2 { margin: 0 0 6px; font-size: 26px; }
.business-detail-header p { margin: 0; color: var(--color-secondary); }
.business-detail-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-secondary);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex: 0 0 auto;
}
.business-detail-close:hover {
    color: var(--color-foreground);
    border-color: #B7C9BE;
}
.business-detail-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.business-detail-footer p { margin: 0; color: var(--color-secondary); }
.business-empty {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: 16px;
}
.business-empty h3 { margin: 0 0 8px; }
.business-empty p { margin: 0 0 16px; color: var(--color-secondary); }
.product-catalog-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #0F172A;
    margin-bottom: 14px;
}
.product-catalog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}
.product-catalog-card:hover .product-catalog-media img { transform: scale(1.04); }
.product-catalog-index {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.product-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.business-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.business-filter {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-secondary);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.business-filter:hover { border-color: #B7C9BE; color: var(--color-foreground); }
.business-filter.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.product-detail-page,
.news-detail {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    color: var(--color-foreground);
    box-shadow: var(--shadow-sm);
}
.rich-content { color: var(--color-secondary); line-height: 1.85; }
.rich-content h2, .rich-content h3 { color: var(--color-foreground); margin: 16px 0 8px; }
.rich-content ul, .rich-content ol { padding-left: 1.2em; margin: 8px 0; }

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.contact-info-text h4 { margin: 0 0 4px; }
.contact-info-text p,
.contact-info-text a { color: var(--color-secondary); margin: 0; }
.contact-qr-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}
.contact-qr-block img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 650;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D5DDD8;
    border-radius: var(--radius);
    font-size: 16px;
    background: #fff;
    color: var(--color-foreground);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.14);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-hint { color: var(--color-secondary); margin-bottom: 16px; }
.form-status { display: none; margin: 12px 0; padding: 10px 12px; border-radius: 8px; }
.form-status.success { display: block; background: #ECFDF5; color: #047857; }
.form-status.error { display: block; background: #FEF2F2; color: #B91C1C; }
.required-mark { color: #DC2626; }
.booking-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.booking-form { background: #fff; border-radius: 12px; }

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    width: min(500px, 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-secondary);
}

.cta-section {
    text-align: center;
    padding: 56px 20px;
    background: linear-gradient(135deg, #334155, #059669);
    color: #fff;
}
.cta-section h2, .cta-section p { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1023px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--color-border);
        max-height: calc(100vh - var(--header-h));
        overflow: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-hotline { display: none; }
    .hamburger { display: flex; }
    .feature-grid,
    .cert-wall,
    .cert-wall-4,
    .home-news-grid,
    .feature-grid-3,
    .project-highlight-grid,
    .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid,
    .contact-layout,
    .booking-panel,
    .snapshot-panel,
    .cta-band-inner,
    .about-split,
    .business-split { grid-template-columns: 1fr; display: grid; }
    .business-split-detail { position: static; min-height: 0; }
    .nav-logo-text small { max-width: 150px; }
    .hero-slide { align-items: flex-end; }
    .hero-slide-inner { padding: 88px 0 110px; }
    .hero-slides,
    .hero-carousel { height: auto; min-height: min(84vh, 720px); }
    .hero-slides { height: min(84vh, 720px); }
}

@media (max-width: 767px) {
    .feature-grid,
    .cert-wall,
    .cert-wall-4,
    .home-news-grid,
    .case-grid,
    .about-grid,
    .products-catalog-grid,
    .project-highlight-grid,
    .home-case-row,
    .feature-grid-3,
    .fact-strip { grid-template-columns: 1fr; }
    .business-filter-header { flex-direction: column; align-items: flex-start; }
    .business-detail-header h2 { font-size: 22px; }
    .business-detail-placeholder { min-height: 240px; padding: 28px 20px; }
    .timeline-item { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .snapshot-section { margin-top: -24px; }
    .home-case-chip { grid-template-columns: 72px 1fr; }
}
