/* UPDATED HERO REDUCED VERSION */
/* coolpaws-company.css - photo version */
.company-page {
    --cp-ink: #1f1d1b;
    --cp-muted: #6f6860;
    --cp-line: #eee7df;
    --cp-bg: #faf6f0;
    --cp-cream: #fffaf4;
    --cp-brown: #6f5139;
    --cp-brown-dark: #3b2b20;
    --cp-gold: #d89a54;
    --cp-blue: #7bbfcd;
    font-family: 'Pretendard','Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
    color: var(--cp-ink);
    background: #fff;
    word-break: keep-all;
}
.company-page * { box-sizing: border-box; }
.company-page img { max-width: 100%; display: block; }
.cp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cp-section { padding: 104px 0; }

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--cp-brown);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.cp-eyebrow:before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}
.cp-title {
    margin: 0;
    font-size: clamp(26px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.055em;
    font-weight: 850;
}
.cp-desc {
    margin: 22px 0 0;
    color: #5f5953;
    font-size: 15px;
    line-height: 1.92;
}

/* Hero - compact version */
.cp-hero {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: #fff7ef;
    color: #2b211a;
}

.cp-hero-bg {
    position: absolute;
    inset: 0;
}

.cp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: scale(1.01);
}

/* 히어로 이미지 그라데이션 제거 */
.cp-hero-bg:after {
    display: none;
}

.cp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .92fr 1fr;
    align-items: center;
    min-height: 260px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.cp-hero-copy {
    max-width: 430px;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 18px 48px rgba(84,54,31,.12);
    backdrop-filter: blur(10px);
}

.cp-hero .cp-eyebrow {
    color: #8a5a35;
    margin-bottom: 8px;
    font-size: 11px;
}

.cp-hero .cp-title {
    color: #2f251e;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.22;
    letter-spacing: -0.055em;
}

.cp-hero .cp-title strong {
    color: #c97929;
    position: relative;
}

.cp-hero .cp-title strong:after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: 2px;
    height: 9px;
    background: rgba(245,200,145,.45);
    border-radius: 999px;
    z-index: -1;
}

.cp-hero .cp-desc {
    max-width: 420px;
    margin-top: 12px;
    color: #5f5148;
    font-size: 13px;
    line-height: 1.7;
}

.cp-hero-info {
    justify-self: end;
    width: 220px;
    padding: 14px 16px;
    margin-top: 120px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 48px rgba(84,54,31,.12);
}

.cp-hero-info b {
    display: block;
    margin-bottom: 6px;
    color: #3b2b20;
    font-size: 18px;
}

.cp-hero-info span {
    color: #6f5f55;
    line-height: 1.6;
    font-size: 12px;
}

/* Stats */
.cp-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -36px;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(63,42,27,.12);
}
.cp-stat {
    padding: 34px 28px;
    border-right: 1px solid var(--cp-line);
}
.cp-stat:last-child { border-right: 0; }
.cp-stat b {
    display: block;
    font-size: 24px;
    letter-spacing: -0.035em;
}
.cp-stat span {
    display: block;
    margin-top: 8px;
    color: var(--cp-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Split sections */
.cp-split {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 72px;
    align-items: center;
}
.cp-photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background: var(--cp-bg);
    box-shadow: 0 26px 70px rgba(78,54,35,.10);
}
.cp-photo-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.cp-photo-frame:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28) 100%);
    pointer-events: none;
}
.cp-photo-badge {
    position: absolute;
    left: 26px;
    bottom: 26px;
    z-index: 2;
    padding: 14px 18px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 800;
}

/* Values */
.cp-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 42px;
}
.cp-value {
    min-height: 230px;
    padding: 32px;
    border: 1px solid var(--cp-line);
    border-radius: 30px;
    background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cp-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 54px rgba(0,0,0,.08);
}
.cp-value .num {
    color: var(--cp-gold);
    font-size: 13px;
    font-weight: 900;
}
.cp-value h3 {
    margin: 28px 0 12px;
    font-size: 25px;
    letter-spacing: -0.035em;
}
.cp-value p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.82;
}

/* Product */
.cp-product {
    background: linear-gradient(180deg, #fbf6ef 0%, #fff 100%);
}
.cp-product-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 58px;
    align-items: center;
}
.cp-feature-list {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}
.cp-feature {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    border: 1px solid #eee3d7;
    box-shadow: 0 10px 30px rgba(79,55,36,.05);
}
.cp-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #f1dfcc;
    color: var(--cp-brown);
    font-size: 22px;
}
.cp-feature h3 {
    margin: 1px 0 7px;
    font-size: 18px;
}
.cp-feature p {
    margin: 0;
    color: #666;
    line-height: 1.72;
    font-size: 13px;
}

/* Business cards */
.cp-business {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}
.cp-business-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: 32px;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: #222;
    box-shadow: 0 22px 60px rgba(0,0,0,.12);
}
.cp-business-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.cp-business-card:hover img { transform: scale(1.06); }
.cp-business-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.68) 100%),
        linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,0));
}
.cp-business-card h3,
.cp-business-card p {
    position: relative;
    z-index: 1;
}
.cp-business-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
}
.cp-business-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.78;
    color: rgba(255,255,255,.86);
}

/* Roadmap */
.cp-roadmap {
    background: #211914;
    color: #fff;
}
.cp-roadmap .cp-eyebrow { color: #f2c48b; }
.cp-roadmap .cp-desc { color: rgba(255,255,255,.74); }
.cp-timeline {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.14);
    border-radius: 30px;
    overflow: hidden;
}
.cp-step {
    padding: 36px;
    background: #2a201a;
}
.cp-step b {
    color: #f2c48b;
    font-size: 13px;
    letter-spacing: .08em;
}
.cp-step h3 {
    margin: 18px 0 12px;
    font-size: 23px;
}
.cp-step p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.78;
}

/* Contact */
.cp-contact {
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #fbf6ef 100%);
}
.cp-contact-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 62px 30px;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(67,45,29,.10);
}
.cp-contact .cp-title {
    font-size: clamp(30px, 4vw, 36px);
}
.cp-contact-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 34px;
}

@media (max-width: 900px) {
    .cp-hero,
    .cp-hero-inner {
        min-height: 420px;
    }

    .cp-hero-inner,
    .cp-split,
    .cp-product-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cp-hero-bg:after {
        display: none;
    }

    .cp-hero-inner {
        align-items: end;
        padding-top: 60px;
        padding-bottom: 34px;
    }

    .cp-hero-copy {
        max-width: 100%;
        padding: 22px 20px;
    }

    .cp-hero-info {
        display: none;
    }

    .cp-stats,
    .cp-values,
    .cp-business,
    .cp-timeline {
        grid-template-columns: 1fr;
    }

    .cp-stat {
        border-right: 0;
        border-bottom: 1px solid var(--cp-line);
    }

    .cp-stat:last-child { border-bottom: 0; }
    .cp-photo-frame img { height: auto; min-height: 340px; }
    .cp-section { padding: 72px 0; }
}

@media (max-width: 520px) {
    .cp-wrap { padding: 0 16px; }

    .cp-hero,
    .cp-hero-inner {
        min-height: 380px;
    }

    .cp-hero-inner {
        padding-top: 54px;
        padding-bottom: 28px;
    }

    .cp-hero .cp-title {
        font-size: clamp(21px, 7vw, 30px);
    }

    .cp-desc { font-size: 15px; }
    .cp-hero-info { padding: 20px; }
    .cp-feature { grid-template-columns: 1fr; }
    .cp-business-card { min-height: 320px; }
}

/* =========================================================
   Mobile Compact Redesign
   - 모바일에서 텍스트/카드/섹션 높이를 줄여 한눈에 들어오도록 조정
   - HTML 수정 없이 CSS만 교체 가능
========================================================= */
@media (max-width: 900px) {
    .cp-wrap {
        padding: 0 16px;
    }

    .cp-section {
        padding: 42px 0;
    }

    .cp-eyebrow {
        gap: 7px;
        margin-bottom: 9px;
        font-size: 10px;
        letter-spacing: .1em;
    }

    .cp-eyebrow:before {
        width: 24px;
    }

    .cp-title {
        font-size: clamp(21px, 6vw, 30px);
        line-height: 1.2;
        letter-spacing: -0.045em;
    }

    .cp-desc {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.62;
    }

    /* Hero compact */
    .cp-hero,
    .cp-hero-inner {
        min-height: 330px;
    }

    .cp-hero-bg:after {
        display: none;
    }

    .cp-hero-inner {
        grid-template-columns: 1fr;
        align-items: end;
        gap: 0;
        padding-top: 48px;
        padding-bottom: 22px;
    }

    .cp-hero-copy {
        max-width: 60%;
        padding: 16px 17px;
        border-radius: 20px;
        background: rgba(255,255,255,.82);
        box-shadow: 0 12px 34px rgba(84,54,31,.10);
        backdrop-filter: blur(8px);
    }

    .cp-hero .cp-eyebrow {
        margin-bottom: 6px;
        font-size: 9.5px;
    }

    .cp-hero .cp-title {
        font-size: clamp(20px, 6.4vw, 28px);
        line-height: 1.18;
    }

    .cp-hero .cp-title strong:after {
        height: 7px;
        bottom: 1px;
    }

    .cp-hero .cp-desc {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.55;
    }

    .cp-hero-info {
        display: none;
    }

    /* 회사명 / 주요사업 / 브랜드 / 웹사이트 영역 compact */
    .cp-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -18px;
        border-radius: 18px;
        box-shadow: 0 14px 42px rgba(63,42,27,.10);
    }

    .cp-stat {
        min-height: auto;
        padding: 16px 14px;
        border-right: 1px solid var(--cp-line);
        border-bottom: 1px solid var(--cp-line);
    }

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

    .cp-stat:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .cp-stat b {
        font-size: 15px;
        letter-spacing: -0.025em;
    }

    .cp-stat span {
        margin-top: 5px;
        font-size: 11.5px;
        line-height: 1.45;
    }

    /* 이미지 + 미션 영역 compact */
    .cp-split,
    .cp-product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cp-photo-frame {
        border-radius: 22px;
        box-shadow: 0 14px 38px rgba(78,54,35,.08);
    }

    .cp-photo-frame img {
        height: 220px;
        min-height: 0;
        object-fit: cover;
    }

    .cp-photo-badge {
        left: 14px;
        bottom: 14px;
        padding: 8px 12px;
        font-size: 11px;
    }

    /* 가치 카드 compact */
    .cp-values {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .cp-value {
        min-height: auto;
        padding: 18px;
        border-radius: 20px;
    }

    .cp-value .num {
        font-size: 11px;
    }

    .cp-value h3 {
        margin: 10px 0 6px;
        font-size: 18px;
    }

    .cp-value p {
        font-size: 12.5px;
        line-height: 1.55;
    }

    /* 제품 특징 compact */
    .cp-feature-list {
        margin-top: 18px;
        gap: 9px;
    }

    .cp-feature {
        grid-template-columns: 38px 1fr;
        gap: 10px;
        padding: 13px;
        border-radius: 17px;
    }

    .cp-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        font-size: 17px;
    }

    .cp-feature h3 {
        margin: 0 0 4px;
        font-size: 14px;
    }

    .cp-feature p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* 사업 영역 compact */
    .cp-business {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
    }

    .cp-business-card {
        min-height: 180px;
        padding: 18px;
        border-radius: 22px;
    }

    .cp-business-card h3 {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .cp-business-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Contact compact */
    .cp-contact-box {
        padding: 30px 18px;
        border-radius: 24px;
    }

    .cp-contact .cp-title {
        font-size: clamp(22px, 6vw, 28px);
    }

    .cp-contact-links {
        margin-top: 18px;
    }

    .cp-btn {
        min-width: 120px;
        height: 38px;
        padding: 0 17px;
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .cp-wrap {
        padding: 0 14px;
    }

    .cp-section {
        padding: 34px 0;
    }

    .cp-hero,
    .cp-hero-inner {
        min-height: 300px;
    }

    .cp-hero-inner {
        padding-top: 42px;
        padding-bottom: 18px;
    }

    .cp-hero-copy {
        padding: 14px 15px;
        border-radius: 18px;
    }

    .cp-hero .cp-title {
        font-size: clamp(19px, 6.2vw, 25px);
    }

    .cp-hero .cp-desc {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .cp-stats {
        margin-top: -14px;
        border-radius: 16px;
    }

    .cp-stat {
        padding: 13px 12px;
    }

    .cp-stat b {
        font-size: 14px;
    }

    .cp-stat span {
        font-size: 11px;
        line-height: 1.38;
    }

    .cp-photo-frame img {
        height: 190px;
    }

    .cp-value {
        padding: 15px;
    }

    .cp-business-card {
        min-height: 160px;
    }
}

/* =========================================================
   PC Stats Compact Fix
   - PC에서만 회사정보 영역을 작게 조정
   - 모바일 레이아웃과 충돌 방지
========================================================= */
@media (min-width: 901px) {

    /* Hero 바로 아래 회사정보 영역 */
    .cp-stats {
        margin-top: 2px;
        border-radius: 20px;
        box-shadow: 0 12px 34px rgba(63,42,27,.08);
    }

    .cp-stat {
        padding: 16px 18px;
        min-height: 82px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cp-stat b {
        font-size: 17px;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .cp-stat span {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.45;
    }

    /* Hero 영역과 회사정보 영역 사이가 너무 벌어지지 않도록 */
    .cp-hero {
        margin-bottom: 0;
    }

    .cp-hero-inner {
        padding-bottom: 24px;
    }
}
