/* ===== 기본 세팅 ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* ==== Color Variables ==== */

:root {
  /* Brand */
  --main-color: #F47C00;
  --White: #FFFFFF;
  --Black: #000000;
  --Charcoal-Black: #212121;
  --Dark-Gray: #595959;
  --Light-Gray: #D9D9D9;

  /* Status */
  --Status-safe: #27AE60;
  --Status-Helper: #4285F4;
  --Status-SOS: #E74C3C;
  --Status-Warning: #FFB300;

  /* Background */
  --bg-main: #F0F0F0;
  --bg-sub: #F3EAE0;
  --bg-sub-2: #BDBDBD;
  --bg-button: #EBEBEB;

  /* Text */
  --text-main: #212121;
  --text-sub: #595959;
  --text-Place-hold: #7C7C7C;
  --text-button: #BDBDBD;

  /* Stroke */
  --stroke-main: #D9D9D9;
  --stroke-sub: #F0F0F0;
  --stroke-sub-2: #BDBDBD;
  
  /* Logo */
  --logo-kakao-bg: #FEE500;
  --logo-kakao-logo: #000000;

  --logo-google-bg: #F6F6F6;
  --logo-google-logo-1: #34A853;
  --logo-google-logo-2: #4285F4;
  --logo-google-logo-3: #EA4335;
  --logo-google-logo-4: #FBBC05;
  
  --logo-naver-bg: #03C75A;
  --logo-naver-logo: #FFFFFF;
}

/* ==== Typography - Desktop ==== */

.h1 {
    font-size: 58px;
    line-height: 74px;
    font-weight: 700;
}
.h2 {
    font-size: 40px;
    font-weight: 700;
}

.eyebrow-l-medium {
    font-size: 30px;
    font-weight: 500;
}
.eyebrow-m-medium {
    font-size: 20px;
    font-weight: 500;
}

.body-xl-bold {
    font-size: 28px;
    font-weight: 700;
}
.body-l-semibold {
    font-size: 28px;
    font-weight: 600;
}
.body-l-regular {
    font-size: 25px;
    line-height: 35px;
    font-weight: 400;
}
.body-m-bold {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
}
.body-m-regular {
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
}
.body-s-regular {
    font-size: 19px;
    line-height: 31px;
    font-weight: 400;
}

.caption-m-medium {
    font-size: 20px;
    font-weight: 500;
}
.caption-s-regular {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

.button-l-medium {
    font-size: 18px;
    font-weight: 500;
}

.logo-l-bold {
    font-size: 40px;
    font-weight: 700;
}

/* Typography - Tablet */

@media (max-width: 1300px) {

  .h1 {
    font-size: 30px;
    line-height: 35px;
  }
  .h2 {
    font-size: 20px;
  }

  .eyebrow-l-medium {
    font-size: 15px;
  }
  .eyebrow-m-medium {
    font-size: 13px;
  }

  .body-xl-bold {
    font-size: 16px;
  }
  .body-l-semibold {
    font-size: 16px;
  }
  .body-l-regular {
    font-size: 14px;
    line-height: 20px;
  }
  .body-m-bold {
    font-size: 15px;
    line-height: 22px;
  }
  .body-m-regular {
    font-size: 15px;
    line-height: 22px;
  }
  .body-s-regular {
    font-size: 14px;
    line-height: 21px;
  }

  .caption-m-medium {
    font-size: 14px;
  }
  .caption-s-regular {
    font-size: 13px;
    line-height: 18px;
  }

  .button-l-medium {
    font-size: 13px;
  }

  .logo-l-bold {
    font-size: 20px;
  }
}

/* Typography - Mobile */

@media (max-width: 480px) {

  .h1 {
    font-size: 33px;
    line-height: 40px;
  }
  .h2 {
    font-size: 19px;
    line-height: 25px;
  }

  .eyebrow-l-medium {
    font-size: 16px;
  }
  .eyebrow-m-medium {
    font-size: 12px;
  }

  .body-xl-bold {
    font-size: 15px;
  }
  .body-l-semibold {
    font-size: 15px;
  }
  .body-l-regular {
    font-size: 14px;
    line-height: 20px;
  }
  .body-m-bold {
    font-size: 14px;
    line-height: 20px;
  }
  .body-m-regular {
    font-size: 14px;
    line-height: 20px;
  }
  .body-s-regular {
    font-size: 13px;
    line-height: 19px;
  }

  .caption-m-medium {
    font-size: 13px;
  }
  .caption-s-regular {
    font-size: 12px;
    line-height: 18px;
  }

  .button-l-medium {
    font-size: 12px;
  }

  .logo-l-bold {
    font-size: 23px;
  }
}


body {
    font-family: "Pretendard Variable", sans-serif;
    color: #333;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    max-width: 1270px;
    width: 100%;
    margin: 0 auto;
}

/* ===== HEADER + HERO WRAPPER ===== */
.header-hero-wrapper {
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== HEADER ===== */
.header {
    padding: 24px 0 0;
    position: relative;
    z-index: 10;
}

.logo {
    color: var(--main-color);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 840px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-text {
    flex: 1;
}


.hero-sub{
    color: var(--White);
    margin-bottom: 10px;
}

.hero-title {
    color: var(--main-color);
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-button);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    display: block;
    max-width: 100%;
    max-height: 760px;
    height: auto;
}

/* 스토어 버튼 공통 */
.store-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 32px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;
    padding: 12px 29px;

    background: #000;
    color: #fff;

    border: 1px solid var(--stroke-sub-2);
    border-radius: 14px;

    text-decoration: none;
    white-space: nowrap;
}

.store-btn img {
    height: 35px;
    width: auto;
    flex-shrink: 0;
}

/* ===== About safeON ===== */
.about-desc-mo {
    display: none;
}

.about {
    padding: 84px 0 0;
    background: var(--White)
}

.about .container {
    display: flex;
    align-items: center;
    gap: 233px;
    margin: 0 auto;
}

.about-title {
    color: var(--main-color);
    margin-bottom: 24px;
}

.about-desc {
    color: var(--text-main);
}

.about-image img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 480px;
}

/* ===== Feature ===== */
.feature-desc-mo {
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 111px;
}

.feature-text {
    width: 530px;
}

.feature-sub {
    position: relative;
    color: var(--text-Place-hold);
}

.feature-sub::before {
    content: "";
    display: block;
    width: 116px;
    height: 7px;
    background: var(--main-color);
    margin-bottom: 18px;
}

.feature-title {
    color: var(--text-main);
    margin-top: 8px;
    margin-bottom: 24px;
}

.feature-desc {
    color: var(--text-main);
}

.feature-image img {
    width: 600px;
    max-width: 100%;
    height: auto;
}

/* ===== Feature 01 ===== */
.feature-location {
    padding: 57px 0 40px;
    background: var(--bg-main);
}

/* ===== Feature 02 ===== */
.feature-video {
    background: var(--White);
}

/* ===== Feature 03 ===== */
.feature-map {
    padding: 70px 0;
    background: var(--logo-google-bg);
}

.feature3-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.feature3-icons img {
    width: 62px;
    height: 62px;
    display: block;
    object-fit: contain;
}

/* ===== Feature 04 ===== */
.feature-sos {
    padding: 55px 0 27px;
    background: var(--bg-sub);
}


.feature-sos .feature-item {
    gap: 0;
}

.feature-sos .feature-image {
    margin-left: -54px;
    flex-shrink: 0;
}

.feature-sos .feature-image img {
    width: 900px;
    max-width: none;
    height: auto;
}

.feature4-icons {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.feature4-icons img {
    width: 83px;
    height: 83px;
    display: block;
    object-fit: contain;
}

/* ===== Feature 05 ===== */
.feature-helper {
    background: var(--logo-google-bg);
}

.feature-helper .feature-image img {
    width: 500px;
    max-width: none;
    height: auto;
}


/* ===== FAQ ===== */
.faq {
    background: #fff;
    padding: 100px 0;
}

.sec-title {
  color: var(--text-Place-hold);
}

.faq-list {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid #e6e6e6
}

details {
    padding: 20px 24px;
    border-bottom: 1px solid #dfdfdf
}

details:hover summary {
    color: var(--main-color);
    font-weight: 700
}

summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    color: #111;
    user-select: none;
    padding-right: 32px;
}

summary::after {
    font-weight: 700;
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #222;
    transform: translateY(-50%);
    transition: transform .35s ease, border-top-color .2s ease
}

details[open] summary {
    color: var(--main-color);
    font-weight: 700;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: var(--main-color)
}

.answer {
    margin-top: 20px;
    padding: 16px;
    background: #f5f5f5;
    color: #555;
}

/* FAQ: 컨테이너 간격 40px */
.faq .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* FAQ 전용 간격 (요청: 배지↔제목 16px, 제목↔설명 4px) */
.faq .sec-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq .sec-head .badge {
    display: inline-block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.faq .sec-title {
    margin: 0 0 11px;
    color: var(--text-Place-hold);
}

.faq .sec-title::before {
    content: "";
    display: block;
    width: 120px;
    height: 7px;
    background: var(--main-color);
    margin: 0 auto 16px;
}

.faq .sec-desc {
    margin-top: 4px;
}


/* ===== CTA ===== */
.cta-title-mo {
    display: none;
}

.cta {
    padding: 100px 0;
    background-image: url("img/cta_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta .sec-head {
    text-align: center;
    margin-bottom: 24px;
}

.cta-inner {
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-media {
    display: none;
}

.cta-content {
    text-align: center;
    margin-bottom: 63px;
}

.cta-sub {
    color: var(--White);
    margin-bottom: 12px;
}

.cta-title {
    color: var(--White);
    max-width: none;
}

.cta-title .highlight {
    color: var(--main-color);
}

.cta .store-buttons {
    margin-top: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--Charcoal-Black);
    color: var(--text-button);
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    justify-content: center;
    gap: 140px;
}

.footer-info {
    width: 380px;
}

.footer-contact {
    width: 280px;
}

.footer-menu {
    width: 240px;
}

.footer-info h3,
.footer-menu h3,
.footer-contact h3 {
    margin-bottom: 16px;
    color: var(--stroke-main);
}

.footer-menu ul {
    list-style: none;
}

.footer-menu a {
    color: var(--text-button);
}

.footer-copy {
    width: 1250px;
    max-width: 100%;

    margin: 36px auto 0;
    padding-top: 36px;

    text-align: center;
    color: var(--text-Place-hold);
    border-top: 0.5px solid var(--stroke-sub-2);
}

/* 기본값: 데스크탑 */
.footer-business-mobile {
    display: none;
}

.footer-business-desktop {
    display: block;
}

/* ===== Tablet ===== */
@media (max-width: 1300px) {

    .container {
        padding: 0 33px;
    }

    /* Header */
    .header {
        padding: 50px 0 0;
    }

    .logo {
        text-align: center;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 30px 0 0;
    }

    .hero .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-sub {
        margin-bottom: 5px;
    }

    .hero-title {
        margin-bottom: 12px;
    }

    .hero .store-buttons {
        justify-content: center;
        margin-top: 30px;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .store-btn {
        padding: 10px 21px;
        gap: 11px;
        border-radius: 10px;
    }

    .store-btn img {
        height: 20px;
    }

    .hero-image img {
        width: 355px;
        max-width: 100%;
        height: auto;
    }

    /* About */
    .about-desc-mo {
        display: block;
    }

    .about {
        padding: 37px 0 0;
    }

    .about .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .about-text {
        width: 100%;
        max-width: 320px;
    }

    .about-title {
        margin-bottom: 15px;
    }

    .about-desc {
        display: none;
    }

    .about-image img {
        width: 365px;
        margin: 0 auto;
    }

    /* Feature 공통 */
    .feature-item {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .feature-text,
    .feature-sos .feature-text {
        width: 100%;
    }

    .feature-sub::before {
        margin: 0 auto 16px;
    }

    .feature-title {
        margin-bottom: 16px;
    }

    .feature-image img {
        width: 380px;
    }

    .feature3-icons,
    .feature4-icons {
        display: none;
    }

    .feature-location {
      padding: 37px 0 30px;
      margin-bottom: 30px;
    }

    .feature-video {
      margin-top: 37px;
    }

    /* Feature 02만 순서 뒤집기 */
    .feature-video .feature-item {
        flex-direction: column-reverse;
    }

    .feature-map {
      padding: 37px 0;
    }

    /* Feature 04 */
    .feature-sos {
        padding: 37px 0 19px;
    }

    .feature-sos .container {
        padding: 0;
    }

    .feature-sos .feature-item {
        gap: 19px;
    }

    .feature-sos .feature-text {
        width: 100%;
        padding: 0 33px; /* 20 → 33 */
    }

    .feature-sos .feature-image {
        width: 100%;
        margin: 0;
    }

    .feature-sos .feature-image img {
        display: block;
        width: 100%;
        height: auto;

        /* 너무 커지는 것 방지 */
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-helper{
      padding: 37px 0 0px;
    }

    .feature-helper .feature-image img {
        width: 465px;
        max-width: none;
        height: auto;
    }


    /* FAQ */
    .faq {
        padding: 37px 0;
    }

    .faq .container {
        gap: 24px;
    }

    details {
        padding: 16px;
    }

    /* CTA */
    .cta {
        padding: 25px 0;
    }

    .cta-content {
        margin-bottom: 24px;
    }

    .cta-sub {
    margin-bottom: 9px;
    }

    /* Footer */
    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 17px;
    }

    /* 순서 변경 */
    .footer-menu {
        order: 1;
        width: 100%;
    }

    .footer-info {
        order: 2;
        width: 100%;
    }

    /* Contact 숨김 */
    .footer-contact {
        display: none;
    }

    /* 데스크탑용 사업자정보 숨기기 */
    .footer-business-desktop {
        display: none;
    }

    /* 모바일용 사업자정보 보이기 */
    .footer-business-mobile {
        display: block;
        padding: 0;
        border: none;
    }

    /* 기본 summary 스타일 */
    .footer-business-mobile summary,
    .footer-business-mobile:hover summary,
    .footer-business-mobile[open] summary {
        list-style: none;
        cursor: pointer;
        color: var(--stroke-main) !important;
        font-weight: 500 !important;
        padding-right: 0;
        position: static;
    }

    .footer-business-mobile summary::-webkit-details-marker {
        display: none;
    }

    /* 화살표 */
    .footer-business-mobile summary::after,
    .footer-business-mobile:hover summary::after,
    .footer-business-mobile[open] summary::after {
        content: "";

        display: inline-block;
        width: 0;
        height: 0;

        margin-left: 8px;

        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid var(--stroke-main) !important;

        position: static;
    }

    .footer-business-mobile[open] summary::after {
        transform: rotate(180deg);
    }

    .footer-business-content {
        margin-top: 16px;
        color: var(--text-button);
    }

    /* 이용안내 제목 숨김 */
    .footer-menu h3 {
        display: none;
    }

    /* 이용약관 가로 정렬 */
    .footer-menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        list-style: none;
    }

    .footer-menu li:not(:last-child)::after {
        content: "|";
        margin: 0 12px;
        color: var(--text-button);
    }

    /* 카피라이트 */
    .footer-copy {
        margin-top: 17px;
        padding-top: 17px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {

    .container {
        padding: 0 20px;
    }

    .store-btn {
        padding: 7px 17px;
        gap: 11px;
        border-radius: 8px;
    }

    .store-btn img {
        height: 22px;
        width: auto;
    }

    .hero-image img {
        width: 312px;
    }

    .about-image img {
        width: 294px;
    }

    .feature-desc {
        display: none;
    }

    .feature-desc-mo {
        display: block;
    }

    .feature-image img {
        width: 339px;
    }

    .feature-sos {
        padding: 37px 0 0px;
    }

    /* 추가 */
    .feature-helper .feature-image img {
        width: 317px;
    }

    details {
        padding: 12px;
    }

    .cta {
        padding: 25px 0;
    }

    .cta-title {
        display: none;
    }

    .cta-title-mo {
        display: block;
        color: var(--White);
    }

    .cta-title-mo .highlight {
        color: var(--main-color);
    }

    /* Footer */
    .footer-menu .caption-s-regular {
        font-size: 11px;
        line-height: 16px;
    }

    .footer-menu li:not(:last-child)::after {
        margin: 0 6px;
    }
}