@media(max-width:1024px){
  :root{
    --bd-header-h:78px;
  }

  .bd-container,
  .bd-header__inner{
    width:min(calc(100% - 44px), var(--bd-max));
  }

  .bd-header__logo img{
    width:156px;
  }

  .bd-header__nav{
    gap:28px;
    font-size:14px;
  }

  .bd-contact-float{
    right:22px;
    bottom:22px;
    width:104px;
    height:104px;
  }

  .bd-intro__sticky{
    min-height:600px;
  }

  .bd-intro__logo{
    width:56vw;
    min-width:300px;
  }

  .bd-main-start{
    padding:170px 0 130px;
  }

  .bd-main-start__text{
    max-width:560px;
    font-size:18px;
  }
}

@media(max-width:767px){
  :root{
    --bd-header-h:68px;
  }

  .bd-container,
  .bd-header__inner{
    width:calc(100% - 36px);
  }

  .bd-header__logo img{
    width:138px;
  }

  .bd-header__nav{
    position:fixed;
    top:var(--bd-header-h);
    right:0;
    width:100%;
    height:calc(100vh - var(--bd-header-h));
    padding:52px 24px;
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:.35s ease;
  }

  .bd-header__nav.is-open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .bd-header__nav a,
  .bd-header__contact{
    width:100%;
    padding:20px 0;
    border:0;
    border-bottom:1px solid var(--bd-line);
    font-size:24px;
    text-align:left;
  }

  .bd-header__menu{
    display:block;
  }

  .bd-contact-float{
    right:16px;
    bottom:16px;
    width:82px;
    height:82px;
  }

  .bd-contact-float span{
    font-size:12px;
  }

  .bd-contact-float strong{
    font-size:18px;
  }

 .bd-intro{
  height:100svh;
  min-height:560px;
}

  .bd-intro__sticky{
    height:100svh;
    min-height:560px;
  }

  .bd-intro__bg{
    background-position:center center;
  }

  .bd-intro__logo{
    width:78vw;
    min-width:0;
  }

  .bd-intro__scroll{
    bottom:18px;
  }

  .bd-main-start{
    min-height:auto;
    padding:130px 0 110px;
  }

  .bd-eyebrow{
    margin-bottom:24px;
    font-size:11px;
  }

  .bd-main-start h1{
    font-size:46px;
    line-height:1.08;
  }

  .bd-main-start__text{
    margin-top:42px;
    margin-left:0;
    font-size:16px;
    line-height:1.75;
  }
}



/* =====================================================
   SMART WELFARE SERVICE RESPONSIVE
===================================================== */

@media screen and (max-width: 1280px) {

  .bd-service {
    padding-right: 24px;
    padding-left: 24px;
  }

  .bd-service-card__content {
    padding: 58px 44px;
  }

  .bd-service-features {
    gap: 18px 8px;
  }

  .bd-service-feature strong {
    font-size: 12px;
  }

  .bd-service-feature p {
    display: none;
  }

}


@media screen and (max-width: 1024px) {

  .bd-service {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .bd-service__heading {
    margin-bottom: 52px;
  }

  .bd-service-card,
  .bd-service-card--event {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bd-service-card__content {
    min-height: auto;
    padding: 58px 42px 62px;
  }

  .bd-service-card__content-inner {
    max-width: none;
  }

  .bd-service-card__visual {
    min-height: 480px;
  }

  .bd-service-card--snack .bd-service-card__visual {
    grid-row: 2;
  }

  .bd-service-card--event .bd-service-card__visual {
    grid-row: 2;
  }

  .bd-service-card--event .bd-service-card__content {
    grid-row: 1;
  }

  .bd-service-feature p {
    display: block;
  }

}


@media screen and (max-width: 767px) {

  .bd-service {
    padding: 84px 15px 92px;
  }

  .bd-service__heading {
    margin-bottom: 38px;
    padding: 0 8px;
  }

  .bd-service__eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .bd-service__title {
    font-size: 34px;
    line-height: 1.18;
  }

  .bd-service__description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .bd-service__description br {
    display: none;
  }

  .bd-service__title-line {
    width: 35px;
    margin-top: 23px;
  }

  .bd-mobile-br {
    display: block;
  }


  /* 카드 */

  .bd-service-card {
    margin-bottom: 17px;
    border-radius: 15px;
  }

  .bd-service-card__content {
    padding: 39px 22px 42px;
  }

  .bd-service-card__category {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .bd-service-card__title {
    font-size: 32px;
  }

  .bd-service-card__text {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.7;
  }

  .bd-service-card__text br {
    display: none;
  }


  /* 아이콘 */

  .bd-service-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
    margin-top: 31px;
  }

  .bd-service-feature__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 11px;
    font-size: 18px;
  }

  .bd-service-feature strong {
    font-size: 12px;
    white-space: normal;
  }

  .bd-service-feature p {
    margin-top: 3px;
    font-size: 10px;
  }


  /* 버튼 */

  .bd-service-card__button {
    width: 100%;
    min-width: 0;
    height: 51px;
    margin-top: 31px;
    padding: 0 18px 0 20px;
    font-size: 13px;
  }


  /* 이미지 */

  .bd-service-card__visual {
    min-height: 340px;
  }

  .bd-service-card__visual-label {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 12px 14px;
  }

  .bd-service-card__visual-label > span {
    width: 35px;
    height: 35px;
  }

  .bd-service-card__visual-label strong {
    font-size: 12px;
  }

}


@media screen and (max-width: 420px) {

  .bd-service-card__visual {
    min-height: 300px;
  }

  .bd-service-feature p {
    display: none;
  }

}

/* =====================================================
   WHY BETTER DAY - FOUR EQUAL CARDS RESPONSIVE
===================================================== */

@media screen and (max-width: 1200px) {

  .bd-why-simple__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-why-simple-card {
    min-height: 400px;
  }

}


@media screen and (max-width: 1024px) {

  .bd-why-simple {
    padding-top: 115px;
    padding-bottom: 115px;
  }

  .bd-why-simple__heading {
    margin-bottom: 52px;
  }

  .bd-why-simple-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bd-why-simple-cta__button {
    grid-column: 1 / -1;
    width: 100%;
  }

}


@media screen and (max-width: 767px) {

  .bd-why-simple {
    padding: 87px 15px 90px;
  }

  .bd-why-simple__heading {
    margin-bottom: 38px;
    padding: 0 8px;
  }

  .bd-why-simple__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .bd-why-simple__eyebrow::before,
  .bd-why-simple__eyebrow::after {
    width: 15px;
  }

  .bd-why-simple__title {
    font-size: 35px;
    line-height: 1.2;
  }

  .bd-why-simple__description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .bd-mobile-only {
    display: block;
  }


  /* 카드 */

  .bd-why-simple__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bd-why-simple-card {
    min-height: 0;
    padding: 27px 23px 24px;
    border-radius: 16px;
  }

  .bd-why-simple-card::before {
    width: 75px;
    height: 75px;
    border-radius: 0 16px 0 75px;
  }

  .bd-why-simple-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    font-size: 21px;
  }

  .bd-why-simple-card__body {
    margin-top: 27px;
  }

  .bd-why-simple-card__body h3 {
    font-size: 29px;
  }

  .bd-why-simple-card__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .bd-why-simple-card__keyword {
    margin-top: 24px;
    padding-top: 20px;
    font-size: 12px;
  }


  /* CTA */

  .bd-why-simple-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 17px;
    padding: 24px 21px 21px;
  }

  .bd-why-simple-cta__symbol {
    width: 51px;
    height: 51px;
    border-radius: 14px;
    font-size: 18px;
  }

  .bd-why-simple-cta__content strong {
    font-size: 18px;
    line-height: 1.5;
  }

  .bd-why-simple-cta__content p {
    font-size: 13px;
  }

  .bd-why-simple-cta__button {
    grid-column: auto;
    min-width: 0;
    height: 54px;
    border-radius: 10px;
    font-size: 14px;
  }

}


/* =====================================================
   COMMON FOOTER RESPONSIVE
===================================================== */

@media screen and (max-width: 1100px) {

  .bd-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 65px 55px;
  }

  .bd-footer__social {
    grid-column: 1 / -1;
  }

  .bd-footer__social-text br {
    display: none;
  }

}


@media screen and (max-width: 767px) {

  .bd-footer__inner {
    grid-template-columns: 1fr;
    gap: 51px;
    width: calc(100% - 38px);
    padding: 72px 0 58px;
  }

  .bd-footer__social {
    grid-column: auto;
  }

  .bd-footer__logo {
    width: 175px;
  }

  .bd-footer__slogan {
    margin-top: 21px;
    font-size: 14px;
  }

  .bd-footer__company-info {
    margin-top: 30px;
  }

  .bd-footer__company-info dl > div {
    grid-template-columns: 101px minmax(0, 1fr);
    gap: 9px;
    margin-top: 11px;
  }

  .bd-footer__company-info dt {
    font-size: 12px;
  }

  .bd-footer__company-info dd {
    font-size: 13px;
  }

  .bd-footer__section-head h2 {
    font-size: 23px;
  }

  .bd-footer__contact-list {
    gap: 22px;
    margin-top: 29px;
  }

  .bd-footer__contact-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
  }

  .bd-footer__contact-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .bd-footer__contact-list a,
  .bd-footer__contact-list p {
    font-size: 14px;
  }

  .bd-footer__social-text {
    margin-top: 24px;
    font-size: 13px;
  }

  .bd-footer__social-links a {
    width: 44px;
    height: 44px;
  }

  .bd-footer__inquiry {
    margin-top: 29px;
  }

  .bd-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    width: calc(100% - 38px);
    min-height: 112px;
  }

  .bd-footer__policy {
    order: -1;
  }

}

/* =====================================================
   EVENT SERVICE MOBILE LAYOUT FIX
===================================================== */

@media screen and (max-width: 1024px) {

  .bd-service-card.bd-service-card--event {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .bd-service-card--event .bd-service-card__content {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .bd-service-card--event .bd-service-card__content-inner {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .bd-service-card--event .bd-service-card__visual {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .bd-service-card--event .bd-service-card__visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

}


@media screen and (max-width: 767px) {

  .bd-service-card--event .bd-service-card__content {
    padding: 42px 23px 45px !important;
  }

  .bd-service-card--event .bd-service-card__text {
    width: 100% !important;
    max-width: none !important;
  }

  .bd-service-card--event .bd-service-card__text br {
    display: none !important;
  }

  .bd-service-card--event .bd-service-features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 25px 12px !important;
  }

  .bd-service-card--event .bd-service-feature {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .bd-service-card--event .bd-service-card__button {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin-top: 32px !important;
    padding: 0 19px 0 21px !important;
    white-space: nowrap !important;
  }

  .bd-service-card--event .bd-service-card__visual {
    min-height: 340px !important;
  }

}

/* =====================================================
   SIMPLE HEADER DROPDOWN MOBILE
===================================================== */

@media screen and (max-width: 1024px) {

  .bd-header__menu-item {
    display: block;
    width: 100%;
    height: auto;
  }

  .bd-header__service {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .bd-header__service i {
    display: none;
  }

  .bd-header__submenu {
    position: static;
    width: 100%;
    padding: 0 0 8px 16px;
    visibility: visible;
    opacity: 1;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .bd-header__submenu a {
    padding: 10px 0;
    color: #777;
    font-size: 13px;
    font-weight: 500;
  }

  .bd-header__submenu a + a {
    border-top: 0;
  }

}


/* =====================================================
   BETTER DAY HEADER FINAL - MOBILE
===================================================== */

@media screen and (max-width: 767px) {

  .bd-header__nav {
    position: fixed;
    top: var(--bd-header-h);
    right: 0;
    display: flex;
    width: 100%;
    height: calc(100dvh - var(--bd-header-h));
    padding: 38px 28px 42px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: rgba(255,255,255,.99);
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity .28s ease,
      visibility .28s ease,
      transform .28s ease;
  }

  .bd-header__nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .bd-header__nav > .bd-header__nav-link,
  .bd-header__service {
    display: flex;
    width: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--bd-line);
    border-radius: 0;
    color: #111;
    background: transparent;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
  }

  .bd-header__nav > .bd-header__nav-link::after,
  .bd-header__service::after {
    display: none !important;
  }

  .bd-header__menu-item {
    display: block;
    width: 100%;
    height: auto;
  }

  .bd-header__service i {
    display: inline-block;
    margin-right: 3px;
    color: #8a9097;
    font-size: 12px;
    transform: rotate(0);
    transition:
      color .25s ease,
      transform .3s ease;
  }

  .bd-header__menu-item:hover .bd-header__service i {
    transform: rotate(0);
  }

  .bd-header__menu-item.is-open .bd-header__service i {
    color: #111;
    transform: rotate(180deg);
  }

  /* 모바일에서는 hover 서브메뉴 완전 차단 */
  .bd-header__menu-item:hover .bd-header__submenu,
  .bd-header__menu-item:focus-within .bd-header__submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .bd-header__submenu {
    position: static;
    display: grid;
    width: 100%;
    max-height: 0;
    padding: 0 16px;
    margin: 0;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    visibility: visible;
    opacity: 1;
    background: #f8f9fb;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
    transition:
      max-height .34s cubic-bezier(.22,1,.36,1),
      padding .34s ease,
      margin .34s ease;
  }

  .bd-header__menu-item.is-open .bd-header__submenu {
    max-height: 132px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 4px;
  }

  .bd-header__submenu a {
    display: flex;
    min-height: 56px;
    align-items: center;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    color: #626a75;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    transform: none;
  }

  .bd-header__submenu a + a {
    margin: 0;
    border-top: 1px solid rgba(17,17,17,.08);
  }

  .bd-header__submenu a:hover {
    color: #1265dc;
    background: transparent;
    transform: none;
  }

  /* 모바일 문의하기 */
  .bd-header__contact {
    display: flex;
    width: 100%;
    height: 62px;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    margin-top: 24px;
    border: 1px solid #111;
    border-radius: 8px;
    color: #fff;
    background: #111;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
  }

  .bd-header__contact i {
    font-size: 12px;
  }

  .bd-header__contact:hover {
    color: #fff;
    background: #111;
    transform: none;
  }

  /* 햄버거 → 닫기 */
  .bd-header__menu {
    position: relative;
  }

  .bd-header__menu span {
    position: absolute;
    top: 50%;
    left: 0;
    margin: 0;
    transition:
      transform .28s ease,
      opacity .28s ease;
  }

  .bd-header__menu span:first-child {
    transform: translateY(-5px);
  }

  .bd-header__menu span:last-child {
    transform: translateY(5px);
  }

  .bd-header__menu.is-open span:first-child {
    transform: rotate(45deg);
  }

  .bd-header__menu.is-open span:last-child {
    transform: rotate(-45deg);
  }
}


/* =====================================================
   MOBILE HEADER CONTACT BUTTON FIX
===================================================== */

@media screen and (max-width: 767px) {

  .bd-header__nav > a.bd-header__contact {
    display: flex !important;
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;

    align-items: center !important;
    justify-content: space-between !important;

    margin: 24px 0 0 !important;
    padding: 0 22px !important;

    border: 1px solid #111 !important;
    border-radius: 10px !important;

    color: #fff !important;
    background: #111 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: left !important;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13) !important;
  }

  .bd-header__nav > a.bd-header__contact::after {
    display: none !important;
  }

  .bd-header__nav > a.bd-header__contact span {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
  }

  .bd-header__nav > a.bd-header__contact i {
    display: block;
    margin: 0;
    font-size: 12px;
    line-height: 1;
  }

}