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

body.page-service {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #0b0b0b;
    color: #fff;
}

.services-guide-page {
    min-height: 100vh;
    background: #0b0b0b;
    color: #fff;
    padding: 152px 0 96px;
}

.services-guide-inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.services-guide-hero {
    text-align: center;
    padding-bottom: 58px;
}

.services-guide-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.services-guide-desc {
    max-width: 680px;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: normal;
    opacity: 1;
}

.services-guide-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.services-guide-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    padding: 18px 34px;
    color: rgba(255, 255, 255, 0.52);
    font-family: inherit;
    font-size: clamp(15px, 1.45vw, 20px);
    font-weight: 500;
    line-height: 1.2;
    word-break: keep-all;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.22s ease, background 0.22s ease;
}

.services-guide-tab:last-child {
    border-right: 0;
}

.services-guide-tab:hover,
.services-guide-tab:focus-visible,
.services-guide-tab.active {
    color: #fff;
}

.services-guide-tab:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: 5px;
}

.services-guide-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.services-guide-panel[hidden] {
    display: none;
}

.services-panel-copy {
    text-align: left;
}

.services-panel-copy span {
    display: block;
    margin-bottom: 16px;
    color: #ff2c2c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-panel-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
    word-break: keep-all;
}

.services-panel-copy p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 350;
    line-height: 1.85;
    word-break: keep-all;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 264px;
    padding: 32px 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    text-align: left;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
}

.service-card h3 {
    margin: 0 0 20px;
    color: #ff2c2c;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    word-break: keep-all;
}

.service-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 300;
    line-height: 1.82;
    word-break: keep-all;
}

.service-seo-blocks {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.service-info-block {
    min-height: 220px;
    padding: 28px 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.service-info-block h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(17px, 1.3vw, 20px);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0;
}

.service-info-block ul {
    margin: 0;
    padding-left: 18px;
}

.service-info-block li,
.service-info-block p,
.service-mini-faq summary,
.service-case-links a {
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 300;
    line-height: 1.78;
    word-break: keep-all;
}

.service-info-block li + li {
    margin-top: 8px;
}

.service-mini-faq {
    display: grid;
    gap: 10px;
}

.service-mini-faq details {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-mini-faq details:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.service-mini-faq summary {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 520;
    cursor: pointer;
}

.service-mini-faq p {
    margin: 8px 0 0;
}

.service-case-links {
    display: grid;
    gap: 10px;
}

.service-case-links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.22s ease, border-color 0.22s ease;
}

.service-case-links a::after {
    content: "↗";
    color: #ff2c2c;
    font-weight: 600;
}

.service-case-links a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.services-guide-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 54px auto 0;
}

.services-guide-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.services-guide-actions a:hover {
    background: #ff2c2c;
    border-color: #ff2c2c;
    color: #fff;
}

.fade-in-up {
    --services-reveal-delay: 0s;
    opacity: 0;
    transform: translateY(36px);
    will-change: opacity, transform;
}

.fade-in-up.animate {
    animation-name: servicesFadeInUp;
    animation-duration: 0.84s;
    animation-delay: var(--services-reveal-delay);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-fill-mode: both;
}

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

.animate-delay-1 { --services-reveal-delay: 0.15s; }
.animate-delay-2 { --services-reveal-delay: 0.3s; }
.animate-delay-3 { --services-reveal-delay: 0.45s; }
.animate-delay-4 { --services-reveal-delay: 0.6s; }
.animate-delay-5 { --services-reveal-delay: 0.75s; }
.animate-delay-6 { --services-reveal-delay: 0.9s; }
.animate-delay-7 { --services-reveal-delay: 1.05s; }

.scroll-hint-overlay {
    position: fixed;
    left: 50%;
    bottom: 80px;
    z-index: 100005;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scroll-hint-overlay.visible {
    opacity: 1;
    visibility: visible;
}

@keyframes serviceFloating {
    0% { transform: translateY(0); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

.scroll-hint-overlay .mouse-shape {
    position: relative;
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 13px;
    box-sizing: border-box;
    animation: serviceFloating 2s infinite ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 1)) drop-shadow(0 0 15px rgba(0, 0, 0, 0.9));
}

.scroll-hint-overlay .mouse-shape::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

.scroll-hint-overlay .mouse-shape::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%);
}

body.page-service .page-footer {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(10, 10, 10, 0.96) !important;
}

body.light-mode.page-service,
body.light-mode .services-guide-page {
    background: #fcfcfc;
    color: #111;
}

body.light-mode .services-guide-page {
    background: #fcfcfc;
}

body.light-mode .services-guide-hero h1,
body.light-mode .services-panel-copy h2 {
    color: #0b0b0b;
}

body.light-mode .services-guide-desc {
    color: rgba(0, 0, 0, 0.62);
}

body.light-mode .services-panel-copy p {
    color: rgba(0, 0, 0, 0.66);
}

body.light-mode .services-guide-tabs {
    border-color: rgba(0, 0, 0, 0.14);
}

body.light-mode .services-guide-tab {
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.52);
}

body.light-mode .services-guide-tab:hover,
body.light-mode .services-guide-tab:focus-visible,
body.light-mode .services-guide-tab.active {
    color: #0b0b0b;
}

body.light-mode .service-card {
    background: #f3f3f3;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .service-card:hover {
    background: #ededed;
    border-color: rgba(0, 0, 0, 0.16);
}

body.light-mode .service-card p {
    color: rgba(0, 0, 0, 0.68);
}

body.light-mode .service-info-block {
    background: #f6f6f6;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .service-info-block h3 {
    color: #0b0b0b;
}

body.light-mode .service-info-block li,
body.light-mode .service-info-block p,
body.light-mode .service-mini-faq summary,
body.light-mode .service-case-links a {
    color: rgba(0, 0, 0, 0.66);
}

body.light-mode .service-mini-faq details,
body.light-mode .service-case-links a {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .service-mini-faq summary {
    color: rgba(0, 0, 0, 0.82);
}

body.light-mode .service-case-links a:hover {
    color: #0b0b0b;
    border-color: rgba(0, 0, 0, 0.18);
}

body.light-mode .services-guide-actions a {
    border-color: rgba(11, 11, 11, 0.65);
    color: #0b0b0b;
}

body.light-mode .services-guide-actions a:hover {
    background: #ff2c2c;
    border-color: #ff2c2c;
    color: #fff;
}

body.light-mode.page-service .page-footer {
    background: #f5f5f5 !important;
}

@media (max-width: 1100px) {
    .services-guide-panel {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-seo-blocks {
        grid-template-columns: 1fr;
    }

    .services-panel-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .services-guide-page {
        padding: 136px 0 72px;
    }

    .services-guide-inner {
        width: min(100% - 32px, 1180px);
    }

    .services-guide-hero h1 {
        font-size: 48px;
    }

    .services-guide-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 34px;
    }

    .services-guide-tab:nth-child(2) {
        border-right: 0;
    }

    .services-guide-tab:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    body.light-mode .services-guide-tab:nth-child(n+3) {
        border-top-color: rgba(0, 0, 0, 0.1);
    }

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

    .service-card {
        min-height: auto;
        padding: 26px 24px;
        text-align: center;
    }

    .service-info-block {
        min-height: auto;
        padding: 24px 22px;
    }
}

@media (max-width: 640px) {
    .services-guide-desc {
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    .services-guide-page {
        padding-top: 124px;
    }

    .services-guide-hero {
        padding-bottom: 42px;
    }

    .services-guide-tab {
        padding: 16px 12px;
        font-size: 15px;
    }

    .services-panel-copy h2 {
        font-size: 34px;
    }

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