@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

:root {
    --red: #AA2D29;
    --red-dark: #8a2226;
    --text: #333;
    --muted: #777;
    --line: #e3e3e3;
    --bg: #f7f7f7;
    --footer: #6e6a69;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #212121;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: #fff;
}

a {
    text-decoration: none;
}
a:hover {
    color: #AA2D29;
}
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
}

/* GNB */
.gnb-wrap {
    position: relative;
    height:78px;
}

.gnb {
    display: flex;
    align-items: center;
    height: 100%;
}

.gnb > ul {
    display: flex;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2000;
    gap:10px
}

.gnb > ul > li {
    position: static;
}

.gnb > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 36px 50px;
    height: 100%;
    font-size: 18px;
    color: #454545;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    transition: color 0.15s;
    white-space: nowrap
}

.gnb > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #AA2D29;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.gnb > ul > li.active > a,
.gnb > ul > li.hover > a {
    color: #AA2D29;
}

.gnb > ul > li.active > a::after,
.gnb > ul > li.hover > a::after {
    transform: scaleX(1);
}

/* ===================== 드롭다운 패널 ===================== */
.gnb-dropdown-panel {
    display: flex;                        /* display: none → flex 항상 유지 */
    flex-direction: row;
    position: absolute;
    height:270px;
    top: 100%;
    background: #fff;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #fff;
    z-index: 999;

    /* 초기 숨김 상태 */
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0s linear 0.25s;      /* 닫힐 때: 애니메이션 끝난 후 hidden */
}
.gnb-wrap.is-open .gnb-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0s linear 0s;         /* 열릴 때: 즉시 visible */
}

/* 왼쪽 이미지 영역 */
.gnb-image-area {
    width: 50%;
    min-width: 0;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
}

.gnb-image-area::before {
    display: none;
}
.gnb-image-area::after {
    display: none;
}

.gnb-image-area img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.gnb-image-placeholder {
    display: none;
}

.gnb-image-placeholder svg {
    opacity: 0;
}

.gnb-image-placeholder span {
    font-size: 12px;
    color: #999;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 브랜드 텍스트 오버레이 */
.gnb-image-area .gnb-image-brand {
    position: relative;
    z-index: 1;
}
.gnb-image-area .gnb-image-brand .brand-en {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.gnb-image-area .gnb-image-brand .brand-ko {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 14px;
}
.gnb-image-area .gnb-image-brand .brand-bar {
    display: block;
    width: 32px;
    height: 3px;
    background: #AA2D29;
    border-radius: 2px;
}

/* 오른쪽 메뉴 컬럼 영역 */
.gnb-cols-area {
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.gnb-wrap.is-open .gnb-cols-area {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gnb-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    min-height: 244px;
    padding: 20px 0 24px;
    transition: background 0.15s;
    align-self: stretch;
}


.gnb-col a {
    display: block;
    padding: 8px 24px;
    font-size: 16px;
    color: #757575;
    text-decoration: none;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    transition: color 0.15s;
}

.gnb-col a:hover {
    color: #AA2D29;
}

.gnb-col.active-col a {
    color: #252525;
}

.gnb-col.active-col a:hover {
    color: #AA2D29;
}

.gnb-col.active-col a.active {
    color: #AA2D29;
    font-weight: 600;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-section a {
    display: inline-block;
    line-height: 1.2;
    height:29px;
    color: #746560;
}

.logo-text {
    font-size: 23px;
    color: #746560;
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 200px;
}

.nav-link {
    color: #212121;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #9b3331;
}

/* Hero Section */
.hero {
    position: relative;
    height: 356px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 356px;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1680px;
    width: 100%;
    padding: 0 240px;
}

.breadcrumb {
    font-size: 14px;
    color: #fff;
    opacity: 0.5;
    margin-bottom: 20px;
    letter-spacing: -0.54px;
    text-transform: uppercase;
    text-align: left;
    position: absolute;
    top: 20px;
    left: 8%;

}

.hero-title {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: normal;
    letter-spacing: -1.32px;
    text-align: center;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.66px;
    text-align: center;
}

/* Sub Navigation */
.sub-nav-wrapper {
    padding: 0;
    position: relative;
}

.sub-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1680px;
    margin: 0 auto;
}

.sub-nav-item {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    padding: 15px 38px;
    cursor: pointer;
    transition: color 0.3s;
    letter-spacing: -0.66px;
    position: relative;
}

.sub-nav-item.active {
    color: #9b3331;
}

.sub-nav-divider {
    width: 1px;
    height: 29px;
    background: #d5d5d5;
}

.sub-nav-item.active::before {
    content: '';
    position: absolute;
    left:0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #9b3331;
    z-index: 998;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #d5d5d5;
}

.intro-section {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -1.08px;
    position: relative;
    display: block;
    line-height: 1.3;
}

.highlight {
    color: #aa2d29;
}
.margin-top {
    margin-top: 0 !important;
}

.section {
    max-width: 1100px;
    margin: 100px auto 80px;
}

.last-section {
    margin-bottom: 0
}


.section-desc,.section-copy {
    margin: 0 0 40px;
    color: #666;
    font-size: 17px;
    line-height: 1.8
}
/* Step Section */
.step-top-vertical {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom: 30px;
}
.step-top-vertical .mini-step {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #353535;
}
.step-top-vertical .mini-step i {
    display: inline-flex;
    color: #746560;
    margin-right: 10px;
}
.step-top {
    display: flex;
    gap: 5px;
    margin: 0 0 18px;
    flex-direction: column;
}

.mini-step {
    font-size: 15px;
    color: #555
}

.mini-step span {
    display: inline-block;
    margin-right: 10px;
    color: #cf5555;
    font-weight: 400
}

/* Download Section */
.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.link-card .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.link-card .arrow i{
    font-size: 32px;
    color: #b3b3b3;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.download-card {
    border: 1px solid var(--line);
    padding: 20px 22px;
    min-height: 112px;
    position: relative;
    background: #fff
}

.download-card h3 {
    margin: 12px 0 1px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 500;
}

.download-card p {
    margin: 0;
    color: #8c8c8c;
    font-size: 14px
}

.download-card button {
    position: absolute;
    right: 18px;
    bottom: 16px;
    font-size: 26px;
    color: #b44c4c
}
.download-card button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;;
    background-color:#FFF6F6;
    color:#AA2D29;
    border:0;
    border-radius: 4px;
}
.download-card button:hover {
    background-color:#AA2D29;
    color:#FFF6F6;
}

.download-card a.download-card-dl {
    position: absolute;
    right: 18px;
    bottom: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #FFF6F6;
    color: #AA2D29;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 26px;
}
.download-card a.download-card-dl:hover {
    background-color: #AA2D29;
    color: #FFF6F6;
}
.download-card button.download-card-dl:disabled {
    position: absolute;
    right: 18px;
    bottom: 16px;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #f0f0f0;
    color: #aaa;
    border: 0;
    border-radius: 4px;
    font-size: 26px;
    opacity: 0.9;
}

.badge {
    display: inline-block;
    background: #AA2D29;
    color: #fff;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500
}

.badge.accent {
    background: #b74a4a
}

/* Quality Sections */
.quality-section {
    max-width: 1100px;
    margin: 0 auto 50px;
    background: #f7f7f7;
    padding: 50px 70px;
    border-radius: 10px;
    position: relative;
}
.quality-section.bg-light{
    background: #fff;
}

.quality-section::before,
.quality-section::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.quality-section::before {
    top: 0;
    right: 0;
    border-width: 0 77px 95px 0;
    border-color: transparent #fff transparent transparent;
}

.quality-section::after {
    bottom: 0;
    left: 0;
    border-width: 95px 0 0 77px;
    border-color: transparent transparent transparent #fff;
}

.quality-header {
    display: flex;
    align-items: center;
    gap: 50px;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quality-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quality-title {
    font-size: 24px;
    font-weight: 600;
    color: #212121;
    letter-spacing: -0.72px;
    margin-bottom: 10px;
}

.quality-list {
    list-style: disc;
    padding-left: 20px;
    color: #6d6d6d;
}

.quality-list li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
    letter-spacing: -0.48px;
}

/* Declaration Section */
.declaration-section {
    max-width: 1100px;
    margin: 100px auto 80px;
}

.declaration-header {
    position: relative;
    margin-bottom: 40px;
    padding-left: 0;
}

.declaration-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1.08px;
    position: relative;
    display: inline-block;
}

.declaration-title::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 55%;
    transform: translateY(-50%) rotate(90deg);
    width: 28px;
    height: 4px;
    background: #a54846;
}

.declaration-subtitle {
    font-size: 18px;
    color: #6d6d6d;
    margin-bottom: 25px;
    letter-spacing: -0.54px;
}
.declaration-flow {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.subtitle {
    font-weight: 600;
    font-size: 21px;
}
.subtitle-icon-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.subtitle-icon-wrap i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding:10px;
    background-color: #8f7a73;
    color: #fff;
}
.certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.certificate {
    position: relative;
    border: 10px solid transparent;
    border-image: linear-gradient(45deg, #d4af7a, #f5e6d3, #d4af7a) 1;
    background: #fff;
    padding: 20px;
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
}
.contact-box {
    margin-top: 46px
}

.contact-label {
    margin: 0;
    color: #a7a7a7;
    font-size: 13px;
    text-transform: uppercase
}

.contact-box h3 {
    margin:0;
    font-size: 20px;
    line-height: 1.25;
}

.contact-grid {
    margin-top:12px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border: 1px solid #efefef;
    background: #fafafa
}

.contact-item {
    padding: 18px 20px;
    border-right: 1px solid #ececec
}

.contact-item:last-child {
    border-right: 0
}

.contact-item span {
    display: block;
    color: #9a9a9a;
    font-size: 13px;
}

.contact-item strong {
    font-size: 20px;
    font-weight: 500
}

.procedure-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    background: #fafafa;
    border: 1px solid var(--line);
    padding: 40px 56px
}

.flow-left,.flow-center,.flow-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    justify-content: center
}

.flow-box {
    min-width: 160px;
    padding: 14px 18px;
    text-align: center;
    border: 1px solid #d98b8b;
    background: #fff;
    color: #b04444;
    font-weight: 700;
    position: relative
}

.flow-box.small {
    min-width: 128px
}

.flow-box.light {
    border-color: #ddd;
    color: #666
}

.flow-box.dark {
    background: #a13b3b;
    color: #fff;
    border-color: #a13b3b
}

.table-wrap.two-col {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 22px;
    align-items: start
}

.table-title {
    margin: 0 0 10px;
    font-size: 21px
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff
}

th,td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    text-align: center
}

thead th {
    background: #f4f4f4
}

tbody th {
    background: #f7f7f7;
    width: 28%
}

.notice-list {
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.9
}


/* Footer */
.footer {
    background: #737373;
    color: white;
    padding: 50px 0;
}

.footer-content {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;;
}
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-content hr {
    width:100%;
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-logo {
    height: 27px;
    margin-bottom: 10px;
}

.footer-address {
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: -0.48px;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: -0.42px;
}

.footer-nav {
    display: flex;
    gap: 51px;
    align-items: center;
    align-items: flex-start;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.42px;
    transition: opacity 0.3s;
}

.footer-link:hover {
    color:#fff;
    opacity: 1;
}

/* Fixed Buttons */
.fixed-buttons {
    position: fixed;
    right: 34px;
    top: 450px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 90;
}

.fixed-btn {
    width: 83px;
    height: 83px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0px 0px 10.295px -1.63px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.fixed-btn:hover {
    transform: scale(1.05);
}

.btn-lab {
    background: #746560;
}

.btn-document {
    background: rgba(155, 51, 49, 0.9);
}

.btn-top {
    background: white;
    margin-top: 10px;
}

.btn-icon {
    width: 32px;
    height: 32px;
}

.btn-icon-top {
    width: 14px;
    height: 24px;
}

.fixed-btn span {
    color: white;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.55px;
    text-align: center;
    line-height: 1.2;
}

/* Decorative Shapes */
.deco-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.deco-shape-1 {
    width: 484px;
    height: 357px;
    left: -100px;
    top: 77px;
    transform: scaleY(-1);
    opacity: .7;
}

.deco-shape-2 {
    width: 37px;
    height: 35px;
    left: 50%;
    margin-left: -18px;
    top: 600px;
    transform: rotate(180deg) scaleY(-1);
}

/* Responsive Design */
@media (max-width: 1600px) {
    .header-content {
        padding: 0 40px;
    }

    .main-nav {
        gap: 100px;
    }

    .fixed-buttons {
        right: 20px;
    }
}

@media (max-width: 1200px) {
    .hero {
        height: 350px;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .main-nav {
        gap: 60px;
    }

    .quality-section {
        padding: 40px 50px;
        margin-bottom: 50px;
    }

    .quality-list {
        padding-left: 100px;
    }

    .deco-shape {
        display: none;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .main-nav {
        gap: 40px;
    }

    .nav-link {
        font-size: 18px;
    }

    .hero {
        height: 300px;
    }

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

    .breadcrumb {
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .quality-section {
        padding: 35px 40px;
        margin-bottom: 40px;
    }

    .quality-header {
        flex-direction: column;
        text-align: center;
    }

    .quality-list {
        padding-left: 40px;
    }

    .certificates {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .fixed-buttons {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 5px;
    }

    .btn-top {
        margin-top: 5px;
    }

    .title-underline {
        display: none;
    }

    .declaration-title::before {
        display: none;
    }
    .gnb-image-area {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .nav-link {
        font-size: 16px;
    }

    .hero {
        height: 250px;
    }

    .hero-content {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 28px;
    }

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

    .breadcrumb {
        font-size: 14px;
    }

    .sub-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .sub-nav-item {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .quality-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .quality-title {
        font-size: 20px;
    }

    .quality-list {
        padding-left: 20px;
        font-size: 14px;
    }

    .quality-list li br {
        display: none;
    }

    .declaration-title {
        font-size: 28px;
    }

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

    .certificates {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fixed-buttons {
        width: 60px;
    }

    .fixed-btn {
        width: 60px;
        height: 60px;
    }

    .btn-icon {
        width: 24px;
        height: 24px;
    }

    .fixed-btn span {
        font-size: 9px;
    }
    .footer-wrap {
        flex-direction: column
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 200px;
    }

    .hero-title {
        font-size: 24px;
    }

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

    .section-title {
        font-size: 20px;
    }

    .section-title br {
        display: none;
    }

    .quality-section {
        padding: 20px 15px;
    }

    .quality-title {
        font-size: 18px;
    }

    .quality-list li {
        font-size: 13px;
    }

    .declaration-title {
        font-size: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .fixed-buttons {
        display: none;
    }
}
