*{box-sizing:border-box}body{margin:0;font-family:Arial,"Malgun Gothic",sans-serif;color:#17263a;background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:24px;background:#fff;position:relative;z-index:5;border-bottom:1px solid #e6ebef}.logo{font-size:28px;font-weight:900;line-height:1.1;border-left:5px solid #e34c32;padding-left:12px;white-space:nowrap}.logo small{display:block;font-size:10px;letter-spacing:2px;margin-top:7px}nav{display:flex;gap:26px;font-weight:700}.navgroup{position:relative;padding:28px 0}.drop{display:none;position:absolute;top:100%;left:-15px;min-width:160px;background:white;box-shadow:0 10px 30px #0002;padding:10px}.drop a{display:block;padding:9px;font-size:14px}.navgroup:hover .drop,.navgroup:focus-within .drop{display:block}.drop a:hover{background:#edf3f8}.call,.btn{display:inline-block;background:#e34c32;color:white;padding:13px 23px;font-weight:700;border:0;cursor:pointer}.menu{display:none}.hero{min-height:630px;position:relative;background:#10243c;color:white;display:flex;align-items:center;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,#071729e8,#0a1b2d60),url(photo1.jpg) center/cover;transition:background .4s}.hero-content{position:relative;padding:80px 8%;max-width:1100px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#e34c32}.hero .eyebrow{color:#ffad92}.hero h1{font-size:clamp(36px,5vw,74px);line-height:1.25;letter-spacing:-3px;margin:24px 0}.hero p{font-size:21px;margin-bottom:35px}.ghost{background:transparent;border:1px solid #fff;margin-left:8px}.dots{display:flex;gap:12px;margin-top:45px}.dots button{width:34px;height:5px;border:0;background:#ffffff80;cursor:pointer}.dots button.active{background:#ff7655}.strip{display:flex;background:#10243c;color:#a7b6c9;padding:25px 8%;justify-content:space-between;gap:20px}.strip b{color:white;margin-left:12px}.section{padding:80px 8%;max-width:1600px;margin:auto}.section h2,.cta h2{font-size:clamp(25px,3vw,42px);margin:8px 0 32px;letter-spacing:-1px}.products,.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{padding:30px;border:1px solid #dbe3eb;min-height:210px;transition:.2s}.product:hover{background:#10243c;color:white}.product h3{font-size:25px;margin:15px 0 0}.product p{color:#748398}.product span:last-child{font-size:13px;font-weight:bold}.projects{background:#f3f6f9;max-width:none}.gallery figure{margin:0;background:white;border:1px solid #e2e8ee}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.gallery figcaption{padding:14px;font-size:14px}.projects .btn{margin-top:25px}.cta{background:#152d49;color:white;padding:55px 8%}.cta h2{margin-bottom:20px}footer{background:#0b1829;color:#c2cbd6;padding:45px 8%;font-size:14px}footer b{font-size:23px;color:white}.muted{color:#8292a5}.subhero{background:#132b47;color:white;padding:55px 8%}.subhero h1{font-size:40px;margin:8px 0}.layout{max-width:1400px;margin:auto;display:grid;grid-template-columns:220px 1fr;gap:55px;padding:55px 6% 90px}aside b,aside a{display:block;padding:14px;border-bottom:1px solid #e1e7ee}aside b{background:#142b47;color:white}aside a.active{color:#d4422c;font-weight:bold;background:#f3f6f9}article{min-width:0}article h1{font-size:36px;margin:12px 0}article h2{font-size:26px;margin-top:35px}article p{color:#526477}article .btn{margin-top:25px}.crumb{font-size:12px;color:#728399}hr{border:0;border-top:2px solid #17263a}.layout .gallery{grid-template-columns:repeat(2,1fr)}form{max-width:650px}label{display:block;margin:15px 0}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #c5d0da;background:white}textarea[hidden]{display:none}@media(max-width:950px){header{height:72px}.menu{display:block;margin-left:auto;background:white;border:0;font-size:26px}.call{display:none}nav{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:15px;max-height:75vh;overflow:auto}nav.open{display:block}.navgroup{padding:8px}.drop{display:block;position:static;box-shadow:none;display:flex;flex-wrap:wrap;padding:0}.drop a{font-weight:400}.hero{min-height:510px}.products,.gallery{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr;gap:25px}aside{display:flex;flex-wrap:wrap}aside b,aside a{padding:10px}.strip{flex-wrap:wrap}}@media(max-width:500px){.products,.gallery,.layout .gallery{grid-template-columns:1fr}.hero-content{padding:60px 6%}.hero h1{letter-spacing:-1.5px}.btn{padding:11px 15px}.section{padding:50px 6%}}
/* Desktop navigation refinement */
@media(min-width:951px){nav{font-size:18px;gap:clamp(20px,2.5vw,40px);white-space:nowrap}.drop a{font-size:16px}}
@media(min-width:951px) and (max-width:1150px){header{padding:0 3%;gap:12px}nav{font-size:16px;gap:18px}.call{padding:12px 15px;white-space:nowrap}}

/* V2 */
:root{--navy:#10263d;--accent:#d64c32}html{scroll-behavior:smooth}body{font-family:"Malgun Gothic",Arial,sans-serif}header{position:sticky;top:0;height:92px;padding:0 4%;z-index:30}.logo{font-size:31px}.call,.btn{background:var(--accent)}.hero{min-height:calc(100svh - 92px)}.hero-content{padding:70px 9%;max-width:1250px}.hero h1{font-size:clamp(39px,5.1vw,82px);letter-spacing:-.055em}.hero-bg{transition:opacity .35s}.hero .ghost{margin-left:0;background:#10263d40}.scrollhint{position:absolute;bottom:24px;right:5%;font-size:12px;letter-spacing:2px}.dots{align-items:center}.dots #pause{height:28px;width:28px;background:transparent;color:white;font-size:17px}.section{padding:105px 8%}.section h2{font-size:clamp(30px,3.4vw,50px);line-height:1.35}.business{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.business img{width:100%;aspect-ratio:5/4;object-fit:cover}.business p{line-height:1.9;color:#526477;max-width:520px}.outline{display:inline-block;border:1px solid #10263d;padding:13px 25px;margin-top:20px;font-weight:bold}.productsection{background:#f0f3f6}.pcards,.overviewgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px}.pcard{background:white;overflow:hidden;display:block}.pcard img,.placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.placeholder{background:linear-gradient(135deg,#172b42,#35516c);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.placeholder span{font-size:11px;letter-spacing:2px}.pcopy{padding:26px;transition:background .25s,color .25s}.pcopy small,.overviewgrid small{color:#d64c32;letter-spacing:1px;font-weight:bold}.pcopy h3{font-size:25px;margin:8px 0}.pcopy p{margin:0 0 18px}.pcard:hover .pcopy{background:#10263d;color:white}.overviewgrid a{border-top:2px solid #10263d;background:#f3f5f7;padding:32px}.overviewgrid h3{font-size:25px}.cta{padding:95px 8%;background:linear-gradient(90deg,#10263df2,#10263d99),url(photo4.jpg) center/cover}.subhero{text-align:center;padding:100px 8%;background:linear-gradient(90deg,#10263ddd,#10263daa),url(photo1.jpg) center/cover}.subhero h1{font-size:clamp(34px,4vw,54px)}.subhero .eyebrow{color:#fff}.layout{max-width:1500px;padding-top:75px}.layout article h1{font-size:42px}.footerlinks{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid #ffffff30;padding-bottom:20px;margin-bottom:24px}.quick{position:fixed;right:20px;bottom:20px;z-index:40;display:flex;flex-direction:column;box-shadow:0 4px 20px #0002}.quick a,.quick button{background:#10263d;color:white;border:0;padding:12px 16px;text-align:center;font-size:13px;cursor:pointer}.quick a:nth-child(2){background:#d64c32}.quick button{background:white;color:#10263d}a:focus-visible,button:focus-visible{outline:3px solid #ef9b43;outline-offset:3px}.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s,transform .65s}.reveal.visible{opacity:1;transform:none}
@media(min-width:1101px){nav{align-self:stretch;align-items:center;gap:0;flex:1;justify-content:center}.navgroup{width:15.5%;text-align:center;padding:0;height:100%;display:flex;align-items:center;justify-content:center}.drop{top:100%;left:0;width:100%;min-width:0;box-shadow:none;padding:16px 0;min-height:330px;text-align:center;border-right:1px solid #eef0f3;background:white}.drop a{white-space:normal;font-size:15px;padding:9px 4px}.navgroup:hover>a{color:#d64c32}header:has(nav:hover)::after,header:has(nav:focus-within)::after{content:"";position:absolute;top:100%;left:0;right:0;height:330px;background:white;box-shadow:0 15px 20px #0002;z-index:-1}nav:hover .drop,nav:focus-within .drop{display:block}}
@media(max-width:1100px){header{height:72px}.menu{display:block;margin-left:auto;background:white;border:0;font-size:26px}.call{display:none}nav{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:15px;max-height:75vh;overflow:auto}nav.open{display:block}.navgroup{padding:8px}.drop,.navgroup:hover .drop,.navgroup:focus-within .drop{display:flex;position:static;box-shadow:none;flex-wrap:wrap;padding:0}.hero{min-height:calc(90svh - 72px)}.section{padding:65px 6%}.business{grid-template-columns:1fr;gap:30px}.pcards,.overviewgrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.pcards,.overviewgrid{grid-template-columns:1fr}.quick{right:8px;bottom:8px}.quick a,.quick button{padding:9px 12px}.hero h1{font-size:39px}.hero-content{padding:55px 6%}.subhero{padding:65px 6%}.layout article h1{font-size:32px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal,.hero-bg{transition:none}.reveal{opacity:1;transform:none}}

.casegallery img{width:100%;height:260px;object-fit:contain;background:#eef1f4}.casegallery a{display:block;cursor:zoom-in}.photo-dialog{border:0;padding:12px;background:#14263d;color:white;max-width:94vw;max-height:94vh}.photo-dialog img{display:block;max-width:88vw;max-height:82vh;object-fit:contain}.photo-dialog button{display:block;margin-left:auto;color:white;background:transparent;border:0;font-size:32px;cursor:pointer}.photo-dialog::backdrop{background:#000b}

.hero-contact{display:flex;flex-wrap:wrap;gap:12px 28px;margin:24px 0;color:white}.hero-contact a{color:white;border:1px solid #ffffff80;padding:12px 18px;font-size:clamp(15px,2vw,22px);font-weight:600}.hero-contact small{font-size:11px;letter-spacing:1px;margin-right:8px}.hero-contact a:hover{background:#ffffff20}.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.product-summary{padding:24px;background:#f3f5f7;border-top:2px solid #10263d}.layout article .product-summary h1{font-size:26px}.product-summary h2{font-size:18px}.product-summary .outline{display:inline-block;margin-top:12px}@media(max-width:650px){.product-list{grid-template-columns:1fr}.hero-contact{gap:8px}.hero-contact a{padding:9px 12px}}

@media(min-width:1101px){.navgroup{width:23%}} .privacy{background:#f3f6f9;padding:18px;margin-top:20px}.privacy input{display:inline-block;width:auto;margin-right:8px}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(min-width:1101px){.navgroup{width:19%}}
.company-layout{max-width:1450px;margin:auto;padding:65px 6% 90px}.company-grid{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr);gap:50px;align-items:center}.values{background:#10263d;color:white;padding:50px 30px;border-top:5px solid #d64c32}.values>small{letter-spacing:2px}.values>strong{display:block;font-size:clamp(25px,3vw,40px);margin:22px 0}.value-items{display:grid;gap:12px}.value-items>div{display:flex;justify-content:space-between;border-bottom:1px solid #ffffff50;padding:15px 0}.value-items b{letter-spacing:2px}.company-copy h2{color:#23578d;font-size:clamp(21px,2vw,30px);line-height:1.5}.company-copy p{line-height:1.9;margin:24px 0}.location-map{display:block;margin:24px 0}.location-map img{display:block;width:100%;height:auto;border:1px solid #d4dce4}.location-details{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:center;background:#f3f5f7;padding:28px}.location-details h3{color:#23578d;font-size:14px;letter-spacing:2px}.location-details p{line-height:1.8}@media(max-width:800px){.company-grid,.location-details{grid-template-columns:1fr}.company-layout{padding:40px 6% 70px}}

/* V3.7: vertical contact panel */
.hero-contact{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:min(100%,360px);padding:4px 20px;background:rgba(10,28,48,.65);border:1px solid rgba(255,255,255,.35);border-left:3px solid #fff;border-radius:4px;box-sizing:border-box;margin:20px 0 24px}.hero-contact a,.hero-contact .contact-static{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:8px;padding:11px 0;border:0;color:#fff;font-size:clamp(16px,1.6vw,21px);font-weight:600;line-height:1.35;overflow-wrap:anywhere}.hero-contact>*+*{border-top:1px solid rgba(255,255,255,.22)!important}.hero-contact small{font-size:10px;letter-spacing:1.5px;margin:0;opacity:.8}.hero-contact a:hover{background:transparent;text-decoration:underline}.hero-contact .contact-static{cursor:default}@media(max-width:600px){.hero-contact{padding:2px 14px}.hero-contact a,.hero-contact .contact-static{grid-template-columns:62px minmax(0,1fr);padding:9px 0}}

.company-grid{grid-template-columns:minmax(0,1fr);max-width:900px;margin:0 auto;}

/* V3.9 product thumbnails */
.product-summary-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46%);gap:16px;align-items:center;min-height:145px}.product-summary-top img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#e5e9ed;border-radius:3px}.product-summary-heading{min-width:0}.layout article .product-summary-heading h1{overflow-wrap:anywhere;margin:0 0 24px}.product-summary-heading h2{margin:0;overflow-wrap:anywhere}.product-summary p{margin-top:12px}@media(max-width:420px){.product-summary-top{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,43%);min-height:100px}.layout article .product-summary-heading h1{font-size:21px;margin-bottom:12px}.product-summary-heading h2{font-size:15px}}


/* 시공사례 사진 하단 문구 숨기기 */
.casegallery figcaption {
    display: none !important;
}


/* 현장별 시공사례 갤러리 */

.casegallery figcaption {
    display: none !important;
}

.casegallery a.zoom {
    position: relative;
    display: block;
    cursor: zoom-in;
}

.case-photo-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 12px;
    background: rgba(15, 28, 45, 0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    pointer-events: none;
}

/* 사진 확대 뷰어 */

.photo-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(1100px, 94vw);
    max-width: 94vw;
    max-height: 94vh;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: #101820;
    color: #fff;
    overflow: auto;
}

.photo-dialog::backdrop {
    background: rgba(0, 0, 0, 0.88);
}

.photo-dialog .photo-viewer {
    position: relative;
    padding: 55px 65px 40px;
    text-align: center;
}

.photo-dialog .photo-main {
    display: block;
    width: 100%;
    height: auto;
    max-height: 73vh;
    object-fit: contain;
    margin: 0 auto;
    touch-action: pan-y;
}

.photo-dialog .photo-title {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 60px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-dialog .photo-close,
.photo-dialog .photo-prev,
.photo-dialog .photo-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.photo-dialog .photo-close {
    top: 8px;
    right: 10px;
    font-size: 30px;
}

.photo-dialog .photo-prev {
    top: 50%;
    left: 10px;
    right: auto;
    transform: translateY(-50%);
}

.photo-dialog .photo-next {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.photo-dialog button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.photo-dialog .photo-counter {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.photo-dialog [hidden] {
    display: none !important;
}

/* 모바일 화면 */

@media (max-width: 600px) {
    .photo-dialog .photo-viewer {
        padding: 55px 10px 45px;
    }

    .photo-dialog .photo-prev,
    .photo-dialog .photo-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.65);
    }

    .photo-dialog .photo-prev {
        left: 5px;
    }

    .photo-dialog .photo-next {
        right: 5px;
    }

    .photo-dialog .photo-title {
        font-size: 14px;
    }
}



/* 시공사례 현장명 및 설명 표시 */

.casegallery figcaption.case-details {
    display: block !important;
    padding: 16px 18px;
    background: #ffffff;
    text-align: left;
}

.casegallery .case-location {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #172c43;
    line-height: 1.5;
}

.casegallery .case-description {
    margin-top: 5px;
    font-size: 14px;
    color: #65758a;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}



/* 대성앵글 카카오톡 실시간 상담 버튼 */

.kakao-chat-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 22px;
    background: #FEE500;
    color: #391B1B !important;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.kakao-chat-btn svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.kakao-chat-btn:hover {
    background: #FFEB33;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.kakao-chat-btn:active {
    transform: scale(0.97);
}

/* 스마트폰 화면 */

@media (max-width: 768px) {
    .kakao-chat-btn {
        right: 16px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        padding: 12px 17px;
        font-size: 14px;
        gap: 7px;
    }

    .kakao-chat-btn svg {
        width: 25px;
        height: 25px;
    }
}


/* 카카오톡 상담 버튼 위치 조정 */
.kakao-chat-btn {
    right: 20px;
    bottom: 160px;
}

@media (max-width: 768px) {
    .kakao-chat-btn {
        right: 16px;
        bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    }
}

/* 카카오톡 상담 버튼 위치 조정 */
.kakao-chat-btn {
    right: 20px;
    bottom: 175px;
}

@media (max-width: 768px) {
    .kakao-chat-btn {
        right: 16px;
        bottom: calc(165px + env(safe-area-inset-bottom, 0px));
    }
}

/* 우측 하단 전화 상담 버튼 숨기기 */
.quick a[href^="tel:"] {
    display: none !important;
}

/* 카카오톡 상담 버튼 위치 재조정 */
.kakao-chat-btn {
    bottom: 130px;
}

@media (max-width: 768px) {
    .kakao-chat-btn {
        bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }
}

/* PC 및 모바일 전화 연결 구분 */
.hero-contact .mobile-phone {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-contact .pc-phone {
        display: none !important;
    }

    .hero-contact .mobile-phone {
        display: inline !important;
        color: inherit;
        font: inherit;
        text-decoration: none;
        border: none;
        padding: 0;
        margin: 0;
        background: transparent;
    }
}


/* 메인 연락처 PC 및 모바일 디자인 */
.hero-contact.contact-v2 {
    width: 520px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 24px;
    background: rgba(10, 28, 48, 0.78);
    border: 1px solid rgba(255,255,255,0.35);
    border-left: 3px solid #fff;
    border-radius: 8px;
}

.contact-v2 .contact-row {
    display: grid !important;
    grid-template-columns: 90px minmax(0,1fr);
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    margin: 0;
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    text-decoration: none;
}

.contact-v2 .contact-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c6ced8;
}

.contact-v2 .contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-v2 .contact-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.contact-v2 .contact-hint {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #c1cfdf;
}

.contact-v2 .contact-icon {
    width: 27px;
    height: 27px;
}

.contact-v2 .contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-v2 .email-row {
    grid-template-columns: 90px minmax(0,1fr) 27px;
}

.contact-v2 .email-row .contact-icon {
    grid-column: 3;
    grid-row: 1;
}

.contact-v2 .email-row .contact-label {
    grid-column: 1;
    grid-row: 1;
}

.contact-v2 .email-row .contact-info {
    grid-column: 2;
    grid-row: 1;
}

.contact-v2 .mobile-contact,
.contact-v2 .mobile-hint,
.contact-v2 .contact-arrow {
    display: none !important;
}

.contact-v2 .desktop-contact:nth-child(4) {
    border-bottom: none;
}

.contact-v2 .email-row:hover .contact-hint {
    color: #fff;
}

/* 모바일 전용 연락처 버튼 */
@media (max-width: 768px) {

    .hero-contact.contact-v2 {
        width: 100%;
        padding: 0;
        background: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .contact-v2 .desktop-contact,
    .contact-v2 .pc-hint {
        display: none !important;
    }

    .contact-v2 .mobile-contact,
    .contact-v2 .email-row {
        display: grid !important;
        grid-template-columns: 23px 52px minmax(0,1fr) 12px;
        align-items: center;
        gap: 8px;
        padding: 12px 10px;
        border: 1px solid rgba(150,195,235,0.45);
        border-radius: 10px;
        background: rgba(12,43,73,0.85);
    }

    .contact-v2 .email-row {
        background: rgba(16,76,119,0.88);
    }

    .contact-v2 .contact-icon,
    .contact-v2 .email-row .contact-icon {
        grid-column: 1;
        grid-row: 1;
        width: 23px;
        height: 23px;
    }

    .contact-v2 .contact-label,
    .contact-v2 .email-row .contact-label {
        grid-column: 2;
        grid-row: 1;
        font-size: 10px;
        letter-spacing: 0;
    }

    .contact-v2 .contact-info,
    .contact-v2 .email-row .contact-info {
        grid-column: 3;
        grid-row: 1;
    }

    .contact-v2 .contact-value {
        font-size: clamp(11px,3.5vw,17px);
        letter-spacing: -0.4px;
    }

    .contact-v2 .contact-hint {
        font-size: 12px;
    }

    .contact-v2 .mobile-hint {
        display: block !important;
    }

    .contact-v2 .contact-arrow {
        display: block !important;
        grid-column: 4;
        grid-row: 1;
        font-size: 23px;
        color: #fff;
    }
}


/* Compact folded-phone layout: home page only */
@media (max-width: 480px) {
    body.home .hero-content { width: 100%; max-width: 100%; padding: 42px 6%; }
    body.home .hero .eyebrow { font-size: clamp(8px, 2.65vw, 11px); letter-spacing: 1px; }
    body.home .hero h1 { font-size: clamp(23px, 8.4vw, 36px); letter-spacing: -.055em; margin: 20px 0; }
    body.home .hero p { font-size: clamp(12px, 4vw, 17px); margin: 0 0 24px; letter-spacing: -.04em; }
    body.home .hero-contact.contact-v2 { width: 44vw; max-width: 44vw; margin: 20px 0 24px; gap: 6px; align-self: flex-start; }
    body.home .contact-v2 .mobile-contact,
    body.home .contact-v2 .email-row { grid-template-columns: 14px minmax(0,1fr) 7px; gap: 3px; padding: 6px 4px; min-height: 44px; border-radius: 7px; }
    body.home .contact-v2 .contact-icon { grid-column: 1; width: 14px; height: 14px; }
    body.home .contact-v2 .contact-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    body.home .contact-v2 .contact-info { grid-column: 2; gap: 2px; }
    body.home .contact-v2 .contact-value { font-size: clamp(10.8px, 3.24vw, 14px); letter-spacing: -.35px; white-space: normal; overflow-wrap: anywhere; }
    body.home .contact-v2 .contact-hint { font-size: 10px; }
    body.home .contact-v2 .contact-arrow { grid-column: 3; font-size: 16px; line-height: 1; }
    body.home .dots { margin-top: 26px; gap: 9px; }
    body.home .scrollhint { display: none; }

}


/* Unified mobile consultation buttons */
@media (max-width: 768px) {
    .quick { right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: 92px; }
    .quick a, .quick button { width: 100%; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
    .kakao-chat-btn { right: 8px; bottom: calc(102px + env(safe-area-inset-bottom, 0px)); width: 92px; height: 44px; padding: 0; gap: 4px; border-radius: 7px; font-size: 0; }
    .kakao-chat-btn svg { width: 18px; height: 18px; }
    .kakao-chat-btn span { font-size: 0; }
    .kakao-chat-btn::after { content: "카톡 상담"; font-size: 12px; white-space: nowrap; }
}

/* Fourth project card only in the existing two-column gallery range */
body.home .projects .gallery > .fold-project-extra { display: none; }
@media (min-width: 501px) and (max-width: 950px) {
    body.home .projects .gallery > .fold-project-extra { display: block; }
}

/* Home product cards: original text with right-side thumbnails */
body.home .productsection .pcard { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,42%); align-items:center; gap:8px; padding-right:16px; transition:background .25s,color .25s; }
body.home .productsection .pcopy { min-width:0; padding-right:0; overflow-wrap:break-word; }
body.home .productsection .pcard .home-rack-thumb { width:100%; height:auto; max-height:140px; aspect-ratio:auto; object-fit:contain; display:block; }
body.home .productsection .pcard:hover { background:#10263d; color:white; }
@media(max-width:1100px) { body.home .productsection .pcopy { padding-left:18px; } body.home .productsection .pcard { padding-right:12px; gap:8px; } }
@media(min-width:601px) and (max-width:850px) { body.home .productsection .pcopy h3 { font-size:21px; } body.home .productsection .pcopy p { font-size:14px; } }
@media(max-width:600px) { body.home .productsection .pcard { grid-template-columns:minmax(0,1fr) minmax(0,40%); } body.home .productsection .pcopy h3 { font-size:22px; } body.home .productsection .pcopy p { font-size:14px; } }

/* Product detail pages only */
body.rack-detail{background:#eef1f3}.rack-detail .rack-main{max-width:1450px;margin:auto;padding:48px 4%}.rack-detail .rack-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:35px;align-items:center;background:white;padding:32px}.rack-detail .rack-hero h1{font-size:clamp(30px,4vw,55px);margin:15px 0 25px}.rack-detail .rack-main h2{font-size:27px}.rack-detail .rack-main p{line-height:1.8}.rack-detail .rack-hero img,.rack-detail .rack-gallery img{width:100%;display:block;object-fit:contain}.rack-detail .rack-panel{background:white;padding:32px;margin-top:22px}.rack-detail .rack-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rack-detail .rack-features>div{background:#eef1f3;padding:22px;border-top:3px solid #e54b24}.rack-detail .rack-gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rack-detail .rack-actions{display:flex;flex-wrap:wrap;gap:8px}.rack-detail .rack-actions .btn{background:#172638}.rack-detail .rack-actions .rack-quote{background:#e54b24}.rack-detail .rack-note{color:#65717e;font-size:13px}.rack-detail .rack-main .eyebrow{color:#e54b24}.rack-detail .rack-main a:hover{text-decoration:underline}@media(max-width:1050px){.rack-detail .rack-features{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.rack-detail .rack-hero,.rack-detail .rack-gallery{grid-template-columns:1fr}.rack-detail .rack-hero,.rack-detail .rack-panel{padding:20px}.rack-detail .rack-main{padding:25px 15px}.rack-detail .rack-features>div{padding:14px}.rack-detail .rack-main h2{font-size:22px}}
