* {
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    margin: 0 auto;
}
.mob {display: none;}
.pc {display: block;}

/* 상단 흰 박스 */
.top-white-box {
    position: fixed;          /* 화면 상단 고정 */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    
    background: #ffffff;
    padding: 14px 36px;

    display: flex;
    gap: 24px;
    align-items: center;

    border-radius: 0 0 18px 18px;   /* ⬅️ 아래쪽만 라운드 */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    z-index: 1000;
}
.top-white-box img {width: 50%;}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    background: url('./img/hero.png') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero-text h1 {font-size: 4.5rem; text-shadow: 4px 4px 4px rgba(21,33,15,0.5); font-weight: bold; }
.hero-text p {font-size: 1.5rem; margin-top: -35px;}
/* 전체 가로폭 컬러 바 */
.highlight-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18,22,0,0.5);
    color: #fff;
    padding: 6px 0px 30px 0px;
    text-align: center;

    box-shadow: 0 -6px 16px rgba(0,0,0,0.25);
}
.highlight-small {
    font-size: 1.3rem;
    opacity: 0.85;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

/* 가운데 컬러 박스 */
.highlight-badge {
    display: inline-block;
    background: rgba(17,31,17,0.9); /* 박스 색깔 */
    padding: 12px 27px;
    width: 20%;
    border-radius: 20px;

    font-size: 1rem;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 10px;
}

/* 큰 강조 문구 */
.highlight-large {
    font-size: 2.3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
}
/* INFO */
.info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
}

.info-item {
    text-align: center;
}
.info-item h3 {font-size: 1.3rem; font-weight: 700;}
.info-item p {font-size: 1.1rem; font-weight: 300;}

.info-item img {
    margin-bottom: 15px;
    width: 40%;
}

/* FAQ */
.faq {
    background: #f6f7f3;
    padding: 60px 20px;
    text-align: center;
}
.faq h2 {font-size: 2.5rem;}
/* FAQ 박스 공통 */
.faq-item {
    width: 60%;
    margin: 20px auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s;
}

/* Q 박스 */
.q-box {
    background: #93a444;          /* 연한 그린 */
    color: #ffffff;
    font-weight: 700;
    padding: 20px 24px;
    font-size: 1.3rem
}

/* A 박스 */
.a-box {
    background: #ffffff;          /* 화이트 */
    color: #555;
    padding: 22px 24px;
    font-size: 1rem;
    line-height: 1.5;
    border-top: 1px solid #eef2e8;
}


/* FORM */
.consult {
    background: url('./img/consult.png') center/cover;
    padding: 80px 20px;
}
.consult input {background: #fff; border: 1px solid#ccc; padding: 12px; width: 100%; border-radius:5px;}
form {
    background: rgba(255,255,255,0.95);
    width: 52%;
    margin: auto;
    padding: 50px;
    border-radius: 20px;
}
form h2 {text-align: center; font-size: 2rem;}

.option-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* .option-group button {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius:5px;
} */


#signupBtn {
    width: 100%;
    padding: 16px;
    background: #3d4f1b;
    color: #fff;
    border: none;
    margin-top: 20px;
    font-size: 1.1rem;
    border-radius:5px;
}

#signupBtn:hover {
    background: #93a444;
}
.option-group input[type="button"] {
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.option-group input[type="button"].active {
    border: 2px solid #6b8e23;
    color: #6b8e23;
    font-weight: bold;
}
.popup-box {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    min-width: 280px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.popup-box button {
    border-radius: 7px;
    background-color: #6b8e23;
    padding: 10px 10px;
    width: 80%;
    color: #fff;
    border: none;
}
.popup {
    position: fixed;
    inset: 0;               
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.hidden {
    display: none;
}
@media screen and (max-width: 1200px) {.highlight-badge {width: 33%;}}
@media screen and (max-width: 630px) {
    .hero {height: 80vh;}
    .hero-text p {font-size: 1.1rem; margin-top: 0px;}
    .hero-text h1 {font-size: 2.8rem;}
    .highlight-bar {padding: 6px 0px 25px 0px;}
    .highlight-small {font-size: 1.1rem;}
    .highlight-badge {width: 80%;}
    .highlight-large {font-size: 1.5rem;}
    .info {padding: 40px 20px;}
    .info-item h3 {font-size: 1rem;}
    .info-item p {font-size: 0.8rem;}
    .faq-item {width: 92%;}
    .faq {padding: 20px 0px;}
    form  {width: 95%;}
    .mob {display: block;}
    .pc {display: none;}
    .a-box {font-size: 0.9rem;}
}
@media screen and (max-width: 450px) {
    .hero {height: 80vh;}
    .hero-text {margin-top: -140px;}
    .hero-text h1 {font-size: 2.5rem;}
    .hero-text p {font-size: 1rem; margin-top: -13px;}
    .highlight-badge {margin-bottom: 13px;}
    .highlight-small {font-size: 1rem;}
    .highlight-large {font-size: 1.3rem;}
    .info {gap: 10px; padding: 45px 5px;}
    .info-item img {width: 50%;}
    .info-item h3 {font-size: 0.85rem;}
    .info-item p {font-size: 0.75rem;}
    .q-box  {font-size: 1.2rem; padding: 15px 10px;}
    .a-box  {font-size: 0.85rem; padding: 15px 15px;}
    form {width: 98%; padding: 20px 30px;}
    
}
