.service-page {
    overflow-x: hidden;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p,
.service-page li,
.service-page a,
.service-page span {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.service-hero {
    padding: 88px 0 64px;
    background:
        radial-gradient(circle at 80% 14%, rgba(246, 252, 255, 0.92) 0, rgba(246, 252, 255, 0.26) 32%, rgba(246, 252, 255, 0) 52%),
        linear-gradient(118deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 40px;
    align-items: center;
}

.service-hero-copy {
    min-width: 0;
    max-width: 100%;
}

.service-hero-copy h1 {
    max-width: 760px;
    margin: 18px 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.08;
}

.service-hero-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.68;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.service-actions .btn {
    min-width: 0;
    text-align: center;
    box-shadow: 0 16px 30px rgba(0, 48, 78, 0.2);
}

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

.service-signal-panel article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 36px rgba(0, 48, 78, 0.16);
    backdrop-filter: blur(14px);
}

.service-signal-panel span,
.service-feature-grid span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.service-signal-panel h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
}

.service-signal-panel p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.service-story-grid,
.service-feature-grid {
    display: grid;
    gap: 24px;
}

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

.service-story-card,
.service-feature-grid article {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 48, 78, 0.06);
}

.service-story-card {
    padding: 34px;
}

.service-story-card h2 {
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-size: 26px;
}

.service-story-card p,
.service-feature-grid p {
    color: var(--text-light);
    line-height: 1.75;
}

.service-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 44px;
}

.service-feature-grid article {
    min-height: 190px;
    padding: 26px;
    min-width: 0;
}

.service-feature-grid span {
    color: var(--primary);
}

.service-overview-hero .service-hero-copy p {
    max-width: 720px;
}

.service-overview-intro {
    background: #fff;
}

.overview-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.overview-intro-grid p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 44px;
}

.section-title-left,
.section-subtitle-left {
    text-align: left;
}

.section-subtitle-left {
    max-width: 520px;
    margin: 0;
}

.overview-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.overview-service-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 48, 78, 0.06);
    min-width: 0;
}

.overview-service-card > span,
.overview-why-grid span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.overview-service-card h3,
.overview-why-grid h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 24px;
    line-height: 1.25;
}

.overview-service-card p,
.overview-why-grid p,
.overview-cta-panel p {
    color: var(--text-light);
    line-height: 1.75;
}

.overview-service-card ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.overview-service-card li {
    position: relative;
    padding-left: 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}

.overview-service-card li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.overview-why-section {
    background: #fff;
}

.overview-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.overview-why-grid article {
    min-height: 260px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(246, 252, 255, 0.86), rgba(255, 255, 255, 0.98)),
        #fff;
}

.service-overview-cta {
    padding-top: 0;
}

.overview-cta-panel {
    padding: 48px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 217, 54, 0.22), rgba(255, 217, 54, 0) 34%),
        linear-gradient(118deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 22px 54px rgba(0, 48, 78, 0.18);
}

.overview-cta-panel .section-kicker,
.overview-cta-panel h2 {
    color: #fff;
}

.overview-cta-panel h2 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.overview-cta-panel p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.78);
}

.helpdesk-feature-section {
    background:
        radial-gradient(circle at 12% 0%, rgba(246, 252, 255, 0.92), rgba(246, 252, 255, 0) 28%),
        #fff;
}

.helpdesk-feature-groups,
.helpdesk-interface-grid {
    display: grid;
    gap: 24px;
}

.helpdesk-feature-group,
.helpdesk-interface-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 48, 78, 0.06);
}

.helpdesk-feature-group {
    padding: 28px;
}

.helpdesk-feature-group-heading {
    margin-bottom: 22px;
}

.helpdesk-feature-group-heading h2 {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 26px;
}

.helpdesk-feature-group-heading p {
    color: var(--text-light);
    line-height: 1.65;
}

.helpdesk-feature-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.helpdesk-feature-card {
    min-height: 218px;
    padding: 22px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 26px rgba(0, 48, 78, 0.05);
    min-width: 0;
}

.helpdesk-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(0, 106, 167, 0.18), rgba(255, 217, 54, 0.2)),
        #f6fcff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(0, 106, 167, 0.12);
}

.helpdesk-feature-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 17px;
}

.helpdesk-feature-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.65;
}

.helpdesk-interface-card {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 26px;
    align-items: center;
    padding: 28px;
}

.helpdesk-interface-copy span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.helpdesk-interface-copy h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 28px;
    line-height: 1.18;
}

.helpdesk-interface-copy p {
    color: var(--text-light);
    line-height: 1.75;
}

.helpdesk-ui-preview {
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.helpdesk-ui-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
    color: var(--primary-dark);
    font-weight: 800;
}

.helpdesk-ui-topbar div {
    display: inline-flex;
    gap: 8px;
}

.helpdesk-ui-topbar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.helpdesk-ui-filters {
    display: grid;
    grid-template-columns: minmax(120px, 1.8fr) repeat(3, minmax(72px, 0.7fr)) minmax(90px, 0.8fr);
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.helpdesk-ui-filters span,
.helpdesk-ui-filters strong,
.thread-tabs span,
.thread-tabs b,
.thread-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
}

.helpdesk-ui-filters strong {
    justify-content: center;
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.helpdesk-ui-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.7fr) minmax(68px, 0.5fr) minmax(78px, 0.6fr) minmax(80px, 0.7fr);
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eef2f6;
    color: #1f2937;
    font-size: 13px;
}

.helpdesk-ui-row:last-child {
    border-bottom: 0;
}

.helpdesk-ui-row-head {
    color: var(--primary-dark);
    font-weight: 800;
}

.chip {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    min-width: 54px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
    font-size: 11px;
}

.chip-blue { background: #1683e8; }
.chip-red { background: #d9364f; }
.chip-green { background: #33a852; }
.chip-yellow { background: #f0b429; }
.chip-purple { background: #8b5cf6; }
.chip-orange { background: #f97316; }

.helpdesk-ui-detail {
    display: grid;
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
    min-height: 360px;
}

.helpdesk-ui-detail-side {
    padding: 22px;
    border-right: 1px solid #e5e7eb;
    background: #f8fbfd;
    text-align: center;
}

.avatar-dot {
    width: 72px;
    height: 72px;
    margin: 12px auto 14px;
    border: 6px solid #d1d5db;
    border-radius: 50%;
    background:
        radial-gradient(circle at center 36%, #fff 0 16%, transparent 17%),
        radial-gradient(circle at center 72%, #fff 0 24%, transparent 25%),
        #0f172a;
}

.helpdesk-ui-detail-side h4 {
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.helpdesk-ui-detail-side p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 13px;
}

.helpdesk-ui-detail-side span {
    display: flex;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 12px;
}

.helpdesk-ui-thread {
    padding: 22px;
}

.thread-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.thread-tabs b {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.thread-message {
    min-height: 178px;
    padding: 20px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: #fff;
}

.thread-message strong {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.thread-message p {
    color: var(--text-light);
    line-height: 1.7;
}

.thread-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.sitemap-simple-header {
    padding: 82px 0 42px;
    background: #fff;
    text-align: center;
}

.sitemap-simple-header h1 {
    max-width: 820px;
    margin: 0 auto 14px;
    color: var(--primary-dark);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.sitemap-simple-header p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
}

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

.sitemap-group {
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 48, 78, 0.06);
}

.sitemap-group-heading {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.sitemap-group-heading > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f6fcff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(0, 106, 167, 0.14);
}

.sitemap-group-heading h2 {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 26px;
}

.sitemap-group-heading p {
    color: var(--text-light);
    line-height: 1.6;
}

.sitemap-link-list {
    display: grid;
    gap: 12px;
}

.sitemap-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(246, 252, 255, 0.76), rgba(255, 255, 255, 0.96)),
        #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sitemap-link-card:hover {
    border-color: rgba(0, 106, 167, 0.26);
    box-shadow: 0 14px 30px rgba(0, 48, 78, 0.08);
    transform: translateY(-2px);
}

.sitemap-link-card h3 {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 17px;
}

.sitemap-link-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.sitemap-link-card > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.legal-header {
    padding: 82px 0 42px;
    background: #fff;
    text-align: center;
}

.legal-header h1 {
    max-width: 820px;
    margin: 0 auto 14px;
    color: var(--primary-dark);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.legal-header p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
}

.legal-content-section {
    padding-top: 54px;
}

.legal-content-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 48, 78, 0.06);
}

.legal-content {
    color: var(--text);
    font-size: 16px;
    line-height: 1.85;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    color: var(--primary-dark);
    line-height: 1.2;
}

.legal-content h1 {
    margin: 0 0 18px;
    font-size: 34px;
}

.legal-content h2 {
    margin: 30px 0 12px;
    font-size: 26px;
}

.legal-content h3 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.legal-content p {
    margin-bottom: 18px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text);
    line-height: 1.75;
}

.legal-content strong,
.legal-content b {
    color: var(--primary-dark);
}

.legal-content em {
    color: var(--text);
}

.legal-content a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content hr {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: #dfe7ef;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 22px 0 28px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
}

.legal-content table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.legal-content th,
.legal-content td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8ecf1;
    color: var(--text);
    text-align: left;
    vertical-align: top;
}

.legal-content th {
    background: #f6fcff;
    color: var(--primary-dark);
    font-weight: 800;
}

.legal-content tr:last-child td {
    border-bottom: 0;
}

.legal-empty {
    text-align: center;
}

.legal-empty h2 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 28px;
}

.legal-empty p {
    color: var(--text-light);
}

@media (max-width: 1180px) {
    .service-hero-inner,
    .service-story-grid,
    .service-feature-grid,
    .overview-intro-grid,
    .overview-service-grid,
    .overview-why-grid,
    .helpdesk-interface-card,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

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

    .service-hero-copy h1 {
        font-size: clamp(32px, 6vw, 48px);
    }

    .helpdesk-feature-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .service-hero-copy h1 {
        font-size: clamp(32px, 6vw, 48px);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 68px 0 50px;
    }

    .service-signal-panel {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .service-actions .btn {
        width: 100%;
        white-space: normal;
    }

    .overview-service-card {
        min-height: 0;
        padding: 24px;
    }

    .overview-cta-panel {
        padding: 30px;
    }

    .helpdesk-feature-group,
    .helpdesk-interface-card,
    .sitemap-group,
    .legal-content-card {
        padding: 18px;
    }

    .helpdesk-feature-cards,
    .helpdesk-ui-detail,
    .helpdesk-ui-filters,
    .helpdesk-ui-row {
        grid-template-columns: 1fr;
    }

    .helpdesk-ui-detail-side {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }
}
