.service-detail-page {
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: clamp(2.5rem, 6vw, 5.5rem) 1.5rem;
    background: #f5f5f7;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

.service-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    width: min(1120px, 100%);
    margin: 0 auto;
}

.service-detail-image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
}

.service-detail-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: inherit;
    pointer-events: none;
}

.service-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.service-detail-content {
    max-width: 520px;
}

.service-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    font-size: 1.65rem;
    line-height: 1;
}

.service-detail-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.service-detail-content h1 {
    margin: 0 0 1.1rem;
    color: #1d1d1f;
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-transform: none;
}

.service-detail-description {
    color: #6e6e73;
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.65;
    text-transform: none;
}

.service-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 44px;
    margin-top: 1.75rem;
    padding: 0.65rem 1.35rem;
    border: 1px solid #d7263d;
    border-radius: 999px;
    color: #fff;
    background: #d7263d;
    box-shadow: 0 6px 16px rgba(215, 38, 61, 0.18);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    text-transform: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-contact-button:hover,
.service-contact-button:focus-visible {
    color: #d7263d;
    background: #fff;
    box-shadow: 0 8px 20px rgba(215, 38, 61, 0.16);
    transform: translateY(-1px);
}

.service-contact-button:focus-visible {
    outline: 3px solid rgba(30, 44, 116, 0.28);
    outline-offset: 4px;
}

@media (max-width: 820px) {
    .service-detail-page {
        min-height: 0;
        padding: 2.5rem 1rem 4rem;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .service-detail-image-wrap,
    .service-detail-image {
        min-height: 0;
        height: clamp(260px, 68vw, 460px);
    }

    .service-detail-content {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .service-detail-page {
        padding-inline: 0.75rem;
    }

    .service-detail-image-wrap {
        border-radius: 20px;
    }

    .service-detail-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 1.7rem;
    }

    .service-detail-content h1 {
        font-size: 2rem;
    }

    .service-contact-button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-contact-button {
        transition: none;
    }
}
