/* Shared content layout for the three non-manufacturing service pages. */
.service-page-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    margin-bottom: 32px;
    aspect-ratio: 8 / 3;
    border-radius: 12px;
    object-fit: cover;
}

.service-page-copy {
    color: var(--default-color);
    font-size: 1.0625rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.service-page-copy h2 {
    margin-bottom: 24px;
    font-weight: 700;
}

.service-page-copy h3 {
    margin: 32px 0 16px;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-page-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.service-page-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.service-page-list i {
    flex-shrink: 0;
    color: var(--accent-color);
}

.service-page-resources {
    margin-top: 32px;
    padding: 24px;
    border-radius: 12px;
    background: #f2f7fc;
}

.service-page-resources h3 {
    margin-top: 0;
}

.service-page-resources ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.service-page-resources a {
    display: inline-block;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-page-resources a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .service-page-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-page-image {
        aspect-ratio: 4 / 3;
    }
}

/* Thermal engineering: document-based content, scoped to this service. */
.thermal-page {
    overflow-wrap: anywhere;
}

.thermal-page .thermal-hero {
    padding-block: 28px 40px;
    background: #f2f4f8 linear-gradient(135deg, transparent 64%, rgb(255 255 255 / 55%) 64%, rgb(255 255 255 / 55%) 80%, transparent 80%);
}

.thermal-breadcrumbs {
    margin-bottom: 32px;
    font-size: .875rem;
}

.thermal-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thermal-breadcrumbs li + li::before {
    margin-right: 8px;
    color: #7c8da3;
    content: "/";
}

.thermal-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.thermal-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.thermal-page h1 {
    max-width: 18ch;
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.thermal-lead {
    max-width: 54ch;
    margin-bottom: 28px;
    color: #52657b;
    font-size: 1.125rem;
    line-height: 1.8;
}

.thermal-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
    transition: background-color .2s ease;
}

.thermal-button:hover {
    background: #30456f;
    color: #fff;
}

.thermal-hero-photo {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 20px;
}

.thermal-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.thermal-hero-photo figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
    border-radius: 12px;
    background: rgb(255 255 255 / 95%);
    color: var(--accent-color);
    font-size: .8125rem;
    font-weight: 600;
    text-align: center;
}

.thermal-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.thermal-shortcuts a {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    background: #fff;
    color: var(--accent-color);
    font-weight: 600;
    line-height: 1.5;
    transition: border-color .2s ease, background-color .2s ease;
}

.thermal-shortcuts a:hover {
    border-color: #8d9dba;
    background: #f8fbff;
}

.thermal-shortcuts a > i:last-child {
    margin-left: auto;
}

.thermal-page h2 {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.thermal-overview-introduction {
    max-width: 100ch;
    margin-bottom: 28px;
    color: #52657b;
    font-size: 1.0625rem;
    line-height: 1.85;
}

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

.thermal-delivery-points p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 24px;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    color: #52657b;
    line-height: 1.8;
}

.thermal-delivery-points i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.thermal-page .thermal-scope {
    background: #f1f7fd;
}

.thermal-section-description {
    margin-bottom: 32px;
    color: #52657b;
    line-height: 1.7;
}

.thermal-scope-list {
    display: grid;
    gap: 20px;
}

.thermal-scope-card {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 32px;
    padding: 32px;
    border: 1px solid #dce5ef;
    border-radius: 18px;
    background: #fff;
    scroll-margin-top: 110px;
}

.thermal-scope-number {
    display: inline-block;
    margin-bottom: 16px;
    color: #7d8da5;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.thermal-scope-title h3 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.thermal-scope-title i {
    color: var(--accent-color);
}

.thermal-scope-card p {
    margin-bottom: 0;
    color: #52657b;
    line-height: 1.85;
}

.thermal-samsung-panel,
.thermal-contact-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.thermal-samsung-panel {
    padding: 36px;
    border: 1px solid #dce5ef;
    border-radius: 18px;
    background: #f7f9fc;
}

.thermal-samsung-panel p,
.thermal-contact p {
    max-width: 74ch;
    margin-bottom: 0;
    color: #52657b;
    line-height: 1.8;
}

.thermal-samsung-panel .thermal-button,
.thermal-contact .thermal-button {
    flex-shrink: 0;
}

.thermal-page .thermal-contact {
    background: #f1f7fd;
}

.thermal-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 18px;
}

.thermal-contact-links a {
    display: inline-block;
    padding-block: 4px;
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.thermal-page a:focus-visible {
    outline: 3px solid #5675c9;
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .thermal-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thermal-scope-card {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 24px;
    }

    .thermal-samsung-panel,
    .thermal-contact-layout {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .thermal-service-page .sticky-support-sidebar {
        display: none;
    }

    .thermal-hero-layout,
    .thermal-delivery-points,
    .thermal-scope-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .thermal-hero-photo {
        width: min(100%, 460px);
        margin-inline: auto;
    }

    .thermal-shortcuts {
        gap: 12px;
    }

    .thermal-shortcuts a {
        padding: 12px;
        font-size: .875rem;
    }

    .thermal-shortcuts a > i:last-child {
        display: none;
    }

    .thermal-scope-card,
    .thermal-samsung-panel {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thermal-button,
    .thermal-shortcuts a {
        transition: none;
    }
}
