:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3f7;
    --ink: #142033;
    --muted: #5a697d;
    --line: #dce4ee;
    --brand: #0b7a75;
    --brand-dark: #085b58;
    --accent: #d88c25;
    --navy: #17263d;
    --shadow: 0 18px 50px rgba(21, 35, 55, 0.12);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.18;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    font-weight: 780;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    letter-spacing: 0;
}

h3 {
    font-size: 1.2rem;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.narrow {
    width: min(100% - 40px, 820px);
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 10px 14px;
    color: #fff;
    background: var(--brand);
    clip: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(220, 228, 238, 0.8);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 76px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 760;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.brand-text {
    font-size: 1.25rem;
    color: var(--ink);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    color: var(--navy);
    font-size: 0.96rem;
    font-weight: 600;
}

.menu a:hover {
    color: var(--brand);
}

.has-submenu > a::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 7px;
    vertical-align: middle;
    content: "";
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 260;
    display: grid;
    min-width: 180px;
    gap: 4px;
    padding: 10px;
    margin: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(0);
    transition: opacity 160ms ease, transform 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-expanded .submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.submenu a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.submenu a:hover {
    background: var(--surface-soft);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
}

.header-cta,
.button.primary {
    color: #fff;
    background: var(--brand);
}

.button.secondary {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.2);
}

.button:hover,
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(11, 122, 117, 0.2);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(12, 23, 39, 0.92), rgba(12, 23, 39, 0.62) 50%, rgba(12, 23, 39, 0.18));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    min-height: 720px;
    gap: 50px;
    padding: 110px 0 84px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-summary {
    max-width: 680px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow);
}

.hero-panel div {
    padding: 26px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-panel strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.hero-panel span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding: 88px 0;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: start;
}

.intro {
    background: var(--surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:last-child {
    margin-top: 14px;
}

.service-grid,
.case-grid,
.post-grid,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.case-card,
.post-card,
.industry-grid article {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.service-card {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card h3,
.case-card h3,
.post-card h2,
.post-card h3 {
    margin-bottom: 12px;
}

.service-card a,
.case-card a,
.footer-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
}

.service-kicker,
.post-date {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.visual-band {
    background: var(--navy);
    color: #fff;
}

.visual-band p {
    color: rgba(255, 255, 255, 0.78);
}

.visual-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 46px;
    align-items: center;
}

.visual-grid img {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.industry-shell {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background: var(--navy);
}

.industry-shell > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

.industry-grid {
    position: relative;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.industry-grid article {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.09);
}

.industry-grid p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.case-card {
    background: linear-gradient(180deg, #fff, #f8fbfd);
}

.faq {
    background: var(--surface);
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
}

details p {
    margin-top: 12px;
}

.cta-section {
    padding: 70px 0;
    background: var(--surface-soft);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--brand-dark);
}

.cta-box .eyebrow,
.cta-box p {
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    padding: 120px 0 76px;
    color: #fff;
    background: var(--navy);
}

.page-hero.compact {
    padding-top: 92px;
}

.service-hero {
    background: linear-gradient(110deg, rgba(14, 36, 58, 0.96), rgba(11, 122, 117, 0.82)), url("../images/hero-enterprise.jpg") center / cover;
}

.industry-page-hero {
    background: linear-gradient(110deg, rgba(14, 36, 58, 0.96), rgba(20, 32, 51, 0.72)), url("../images/industry-bg.jpg") center / cover;
}

.case-page-hero,
.insights-page-hero {
    background: linear-gradient(110deg, rgba(20, 32, 51, 0.96), rgba(8, 91, 88, 0.76)), url("../images/about-platform.jpg") center / cover;
}

.about-page-hero,
.contact-page-hero {
    background: linear-gradient(110deg, rgba(20, 32, 51, 0.96), rgba(11, 122, 117, 0.68)), url("../images/ai-platform.png") center / cover;
}

.page-content,
.article-body {
    background: #fff;
}

.page-content .container > * + *,
.article-body .container > * + * {
    margin-top: 18px;
}

.service-list {
    display: grid;
    gap: 18px;
}

.detail-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.detail-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}

.detail-card h2,
.industry-detail-card h2,
.case-card h2,
.value-grid h2,
.contact-card h2 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.tag-list li {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--brand-dark);
    background: var(--surface-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.industry-detail-grid,
.value-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.industry-focus-grid {
    margin-top: 34px;
}

.industry-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-detail-card,
.value-grid article,
.contact-card,
.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.industry-detail-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    font-weight: 800;
}

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

.contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.post-card {
    overflow: hidden;
    padding: 0;
}

.post-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.site-footer {
    padding: 58px 0 24px;
    color: rgba(255, 255, 255, 0.78);
    background: #0e1726;
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .brand-text {
    color: #fff;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-menu {
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (max-width: 1080px) {
    .service-grid,
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .visual-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-inner {
        grid-template-columns: auto auto;
        min-height: 66px;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        padding: 0 0 18px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .submenu {
        position: static;
        min-width: 0;
        padding: 8px 0 0 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .header-cta {
        display: none;
    }

    .hero,
    .hero-grid {
        min-height: 640px;
    }

    .hero-grid {
        padding: 86px 0 52px;
    }

    .hero-panel,
    .service-grid,
    .case-grid,
    .post-grid,
    .industry-grid,
    .industry-detail-grid,
    .value-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .cta-box,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
