/* ============================================================================
   home.css — freebugo.co.kr 메인 페이지 + 공통 레이아웃
   작성일: 2026-05-11
   수정일: 2026-05-11
   방향: 레퍼런스형 클린 랜딩 / 흰색 헤더 / 큰 히어로 / 단순 카드
   ============================================================================ */

/* ============================================================================
   1. Design Tokens
   ============================================================================ */

:root {
    --home-bg: #f7f8f7;
    --home-white: var(--color-white);
    --home-ink: #161b22;
    --home-muted: #5f6975;
    --home-soft: #eef1ef;
    --home-line: #d9ded9;

    --home-primary: var(--color-primary);
    --home-primary-dark: var(--color-primary-dark);
    --home-accent: #f2bd48;

    --home-max: 1250px;
    --home-gutter: 24px;

    --home-radius: 16px;
    --home-radius-sm: 12px;
    --home-pill: 999px;

    --home-section: 88px;
    --home-section-sm: 64px;

    --home-shadow: 0 10px 30px rgba(22, 27, 34, 0.06);
    --home-shadow-hover: 0 18px 44px rgba(22, 27, 34, 0.10);

    --home-ease: ease;
    --home-speed: 180ms;

    /* hero image:
       /public_html/assets/images/home-hero.webp 파일을 넣으면 자동으로 이미지형 히어로가 됩니다.
       이미지가 없어도 그라데이션 배경으로 표시됩니다. */
    --home-hero-image: url('/assets/images/home-hero.webp');
}

/* ============================================================================
   2. Base
   ============================================================================ */

html {
    scrollbar-gutter: stable;
}

body {
    background: var(--home-bg);
    color: var(--home-ink);
}

.home-main {
    background: var(--home-bg);
}

.home-container,
.header-inner,
.footer-inner {
    width: min(100% - calc(var(--home-gutter) * 2), var(--home-max));
    margin-inline: auto;
}

.section-block {
    padding: var(--home-section) 0;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2,
.split-box h2,
.search-card h2,
.final-cta h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.section-lead {
    max-width: 820px;
    margin: 14px auto 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.75;
    word-break: keep-all;
}

.btn-main,
.btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform var(--home-speed) var(--home-ease),
        background-color var(--home-speed) var(--home-ease),
        border-color var(--home-speed) var(--home-ease),
        color var(--home-speed) var(--home-ease);
}

.btn-main {
    border: 1px solid var(--home-primary);
    background: var(--home-primary);
    color: var(--home-white);
}

.btn-main:hover {
    background: var(--home-primary-dark);
    border-color: var(--home-primary-dark);
    color: var(--home-white);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-sub {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
    color: var(--home-white);
}

.btn-sub:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--home-white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ============================================================================
   3. Header
   ============================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.site-logo::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid var(--home-accent);
    border-radius: 7px 7px 7px 2px;
    transform: rotate(-45deg);
}

.site-logo:hover {
    color: var(--home-ink);
    text-decoration: none;
}

.site-nav {
    flex: 1;
    background: transparent;
    border-bottom: none;
    padding: 0;
    position: static;
}

.site-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: #3c424a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color var(--home-speed) var(--home-ease),
        color var(--home-speed) var(--home-ease);
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--home-soft);
    color: var(--home-primary-dark);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--home-pill);
    background: #1f252b;
    color: var(--home-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.btn-header-cta:hover {
    background: var(--home-primary-dark);
    color: var(--home-white);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--home-line);
    border-radius: var(--home-pill);
    background: var(--home-white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--home-ink);
    transition:
        transform var(--home-speed) var(--home-ease),
        opacity var(--home-speed) var(--home-ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================================
   4. Hero
   ============================================================================ */

.hero-section {
    position: relative;
    min-height: 506px;
    overflow: hidden;
    background-color: rgb(48, 59, 57);
    background-image: linear-gradient(
        90deg,
        rgba(48, 59, 57, 0.98) 0%,
        rgba(48, 59, 57, 0.95) 28%,
        rgba(48, 59, 57, 0.78) 48%,
        rgba(48, 59, 57, 0.45) 65%,
        rgba(48, 59, 57, 0.20) 80%,
        rgba(48, 59, 57, 0.00) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.hero-section::before,
.hero-section::after { display: none; }

.hero-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    z-index: 0;
    filter: brightness(0.62);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%);
    mask-image: linear-gradient(to right, transparent 0%, black 45%);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    min-height: 506px;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-content {
    padding: 76px 0;
}

.hero-kicker {
    margin: 0 0 16px;
    color: var(--home-accent);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.hero-title {
    max-width: 660px;
    margin: 0;
    color: var(--home-white);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -0.045em;
}

.hero-subtitle {
    max-width: 640px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
}

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

/* ============================================================================
   5. Trust
   ============================================================================ */

.trust-section {
    padding: 48px 0;
    background: var(--home-bg);
    border-bottom: 1px solid var(--home-line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 24px;
    background: #eaf3ed;
    border-radius: var(--home-radius);
    box-shadow: inset 0 0 0 1.5px rgba(61, 107, 74, 0.25);
    transition: box-shadow var(--home-speed) var(--home-ease);
}

.trust-item:hover {
    box-shadow: inset 0 0 0 2px var(--home-primary-dark);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 14px;
    color: var(--home-primary-dark);
}

.trust-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.trust-item span {
    color: var(--home-muted);
    font-size: 14px;
}

/* ============================================================================
   6. Intro
   ============================================================================ */

.intro-section {
    background: var(--home-white);
}

.intro-section .section-lead {
    white-space: nowrap;
}

.intro-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.intro-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    background: #f0f2f4;
    border: 1px solid #d6dbd8;
    border-radius: 14px;
    color: var(--home-primary-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--home-speed) var(--home-ease),
                color var(--home-speed) var(--home-ease);
}

.intro-links a::after {
    font-weight: 400;
}

.intro-links a:hover {
    background: var(--home-primary-dark);
    color: #fff;
    text-decoration: none;
}

/* ============================================================================
   7. Feature Cards
   ============================================================================ */

.feature-section {
    background: var(--home-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    min-height: 250px;
    padding: 32px 28px;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-white);
    text-align: center;
    box-shadow: var(--home-shadow);
    transition:
        transform var(--home-speed) var(--home-ease),
        box-shadow var(--home-speed) var(--home-ease),
        border-color var(--home-speed) var(--home-ease);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 124, 89, 0.35);
    box-shadow: var(--home-shadow-hover);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #f0f2f4;
    color: var(--home-primary-dark);
    font-size: 20px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 12px;
    color: var(--home-ink);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.feature-card p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================================================
   8. Process
   ============================================================================ */

.process-section {
    background: var(--home-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-item {
    position: relative;
    padding: 0 16px 0;
    text-align: center;
}

/* 연결선 — 오른쪽 절반 */
.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(50% + 36px);
    right: 0;
    height: 1px;
    background: var(--home-line);
}

/* 연결선 — 왼쪽 절반 */
.process-item:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 0;
    right: calc(50% + 36px);
    height: 1px;
    background: var(--home-line);
}

.process-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: var(--home-pill);
    border: 2px solid var(--home-primary);
    background: transparent;
    color: var(--home-primary-dark);
    font-size: 20px;
    font-weight: 900;
    position: relative;
    z-index: 1;
    transition:
        background var(--home-speed) var(--home-ease),
        color var(--home-speed) var(--home-ease);
    cursor: default;
}

.process-item span:hover {
    background: var(--home-primary);
    color: var(--home-white);
}

.process-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--home-ink);
    font-size: 18px;
    font-weight: 850;
}

.process-item p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ============================================================================
   9. Stats
   ============================================================================ */

.stats-section {
    padding: 54px 0;
    background: #172019;
    color: var(--home-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--home-white);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

/* ============================================================================
   10. Privacy / Search / FAQ
   ============================================================================ */

.privacy-section {
    background: var(--home-bg);
}

.privacy-heading-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.privacy-shield-icon {
    flex-shrink: 0;
    line-height: 0;
}

.privacy-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}

.privacy-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.55;
}

.privacy-highlights li::before {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--home-primary);
}

.split-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

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

.privacy-list div {
    padding: 22px 24px;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-sm);
    background: var(--home-white);
}

.privacy-list strong {
    display: block;
    margin-bottom: 7px;
    color: var(--home-ink);
    font-size: 17px;
    font-weight: 850;
}

.privacy-list p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.search-section {
    padding: 64px 0;
    background: var(--home-white);
}

.search-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-bg);
}

.search-card p {
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: 15px;
}

.faq-section {
    background: var(--home-white);
}

.faq-section .section-heading h2 {
    font-size: clamp(34px, 4.2vw, 52px);
}

.faq-section .section-heading h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: var(--home-primary);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-sm);
    background: var(--home-white);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    color: var(--home-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--home-primary-dark);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform var(--home-speed) var(--home-ease);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* ============================================================================
   11. Partner / Final
   ============================================================================ */

.partner-section {
    padding: 28px 0;
    border-top: 1px solid var(--home-line);
    background: var(--home-bg);
}

.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
    justify-content: center;
}

.partner-row span {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 850;
}

.partner-row a {
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.partner-row a:hover {
    color: var(--home-primary-dark);
    text-decoration: underline;
}

.final-cta {
    padding: 88px 0;
    background: var(--home-white);
    text-align: center;
}

.final-cta h2 {
    max-width: 760px;
    margin: 0 auto 32px;
    color: var(--home-ink);
}

.final-cta-tag {
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.final-cta-box {
    padding: 20px 10px;
    border: 1.5px solid var(--home-line);
    border-radius: 48px;
    background: var(--home-bg);
}

.btn-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    min-height: 56px;
    border-radius: var(--home-pill);
    background: #1f252b;
    color: var(--home-white);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background var(--home-speed) var(--home-ease),
        transform var(--home-speed) var(--home-ease);
}

.btn-cta-pill:hover {
    background: var(--home-primary-dark);
    color: var(--home-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ============================================================================
   12. Footer
   ============================================================================ */

.site-footer {
    padding: 54px 0 30px;
    background: #15191d;
    color: rgba(255,255,255,0.78);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 44px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
    margin-bottom: 8px;
    color: var(--home-white);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.footer-tagline {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.75;
}

.footer-col-title {
    margin-bottom: 12px;
    color: rgba(255,255,255,.48);
    font-size: 12px;
    font-weight: 850;
}

.footer-links,
.footer-partners-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a,
.footer-partner-link {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover,
.footer-partner-link:hover {
    color: var(--home-white);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
}

.footer-biz {
    margin: 0;
    color: rgba(255,255,255,.42);
    font-size: 12px;
    line-height: 1.8;
}

.footer-biz a,
.footer-legal a {
    color: rgba(255,255,255,.54);
    text-decoration: none;
}

.footer-biz a:hover,
.footer-legal a:hover {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

/* ============================================================================
   13. Responsive
   ============================================================================ */

@media (max-width: 1080px) {
    .feature-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        min-height: 230px;
    }

    /* 2열 배치 시 2번→3번 사이 연결선 제거 */
    .process-item:nth-child(2)::after,
    .process-item:nth-child(3)::before {
        display: none;
    }

    .process-item:nth-child(1),
    .process-item:nth-child(2) {
        margin-bottom: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        padding-bottom: 28px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        padding-top: 28px;
    }

    .split-box,
    .search-card {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --home-gutter: 20px;
        --home-section: 64px;
    }

    .site-header {
        height: 64px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #ffffff;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        display: block;
        padding: 18px var(--home-gutter);
        background: #ffffff;
        border-top: 1px solid var(--home-line);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition:
            opacity var(--home-speed) var(--home-ease),
            transform var(--home-speed) var(--home-ease),
            visibility var(--home-speed) var(--home-ease);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav ul {
        display: grid;
        justify-content: stretch;
        gap: 0;
    }

    .site-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--home-line);
        border-radius: 0;
        font-size: 16px;
    }

    .btn-header-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-section,
    .hero-overlay {
        min-height: 460px;
    }

    .hero-content {
        padding: 64px 0;
    }

    .hero-title {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .feature-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .intro-section .section-lead {
        white-space: normal;
    }

    .intro-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-links a {
        justify-content: center;
    }

    .feature-card {
        min-height: auto;
    }

    /* 1열 배치 시 모든 연결선 숨김 */
    .process-item::before,
    .process-item::after {
        display: none;
    }

    .process-item {
        margin-bottom: 32px;
    }

    .process-item:last-child {
        margin-bottom: 0;
    }

    /* 모바일 2×2: 1080px 규칙을 그대로 승계 — 추가 override 없음 */
    .stat-item {
        padding: 24px 0;
    }

    .search-card {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		padding: 28px 22px;
		overflow: hidden;
	}

	.search-card > * {
		min-width: 0;
	}

	.search-card .btn-main,
	.final-cta .btn-main,
	.hero-actions .btn-main,
	.hero-actions .btn-sub {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}

    .hero-actions {
        width: 100%;
    }

    /* 풋터 — about 전체폭 + 서비스·파트너사 2열 나란히 */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column-reverse;
    }
}

@media (max-width: 640px) {
    /* 모바일: 이미지를 전체 배경으로 깔고 어두운 오버레이로 텍스트 보호 */
    .hero-section {
        min-height: 460px;
        background-image: linear-gradient(
            rgba(30, 38, 36, 0.88) 0%,
            rgba(30, 38, 36, 0.82) 100%
        );
    }
    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.38);
        -webkit-mask-image: none;
        mask-image: none;
    }
}

    .feature-card {
        padding: 28px 22px;
    }

    .partner-row {
        display: grid;
        justify-content: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
