/* BIZ BRIDGE 기업통신 상세 모달
   기존 카드/레이아웃/애니메이션은 변경하지 않음 */

.service-card-detail{
  cursor:pointer;
}

.service-card-detail:focus-visible{
  outline:2px solid rgba(241,189,85,.88);
  outline-offset:4px;
}

body.service-modal-open{
  overflow:hidden;
}

.service-modal[hidden]{
  display:none !important;
}

.service-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:24px;
}

.service-modal__backdrop{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 24%, rgba(217,150,37,.10), transparent 42%),
    rgba(0,3,3,.82);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  opacity:0;
  animation:serviceBackdropIn .34s ease forwards;
}

.service-modal__panel{
  position:relative;
  z-index:1;
  width:min(880px, calc(100vw - 48px));
  max-height:min(88vh, 820px);
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid rgba(217,150,37,.46);
  border-radius:18px;
  color:#eceeea;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 36%),
    radial-gradient(circle at 18% 0%, rgba(217,150,37,.10), transparent 32%),
    linear-gradient(180deg, rgba(8,14,13,.98), rgba(2,7,6,.99));
  box-shadow:
    0 30px 90px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 40px rgba(217,150,37,.08);
  transform:translateY(24px) scale(.975);
  opacity:0;
  animation:servicePanelIn .46s cubic-bezier(.22,.61,.36,1) forwards;
  scrollbar-width:thin;
  scrollbar-color:rgba(217,150,37,.55) rgba(255,255,255,.035);
}

.service-modal__panel::-webkit-scrollbar{
  width:8px;
}

.service-modal__panel::-webkit-scrollbar-track{
  background:rgba(255,255,255,.025);
}

.service-modal__panel::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:linear-gradient(#f1bd55,#8d5611);
}

.service-modal__close{
  position:sticky;
  float:right;
  top:18px;
  z-index:5;
  width:42px;
  height:42px;
  margin:18px 18px 0 0;
  border:1px solid rgba(217,150,37,.42);
  border-radius:50%;
  color:#f4d58b;
  background:rgba(2,7,6,.82);
  box-shadow:0 8px 22px rgba(0,0,0,.34);
  cursor:pointer;
  transition:transform .24s ease, border-color .24s ease, background .24s ease;
}

.service-modal__close span{
  display:block;
  font:300 29px/36px Arial,sans-serif;
}

.service-modal__close:hover{
  transform:rotate(6deg) scale(1.05);
  border-color:rgba(241,189,85,.82);
  background:rgba(16,20,18,.94);
}

.service-modal__header{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:26px;
  align-items:center;
  padding:38px 56px 30px;
  border-bottom:1px solid rgba(217,150,37,.18);
  background:
    linear-gradient(90deg, rgba(217,150,37,.05), transparent 45%);
}

.service-modal__icon{
  width:124px;
  height:124px;
  display:grid;
  place-items:center;
  border:1px solid rgba(217,150,37,.22);
  border-radius:24px;
  background:
    radial-gradient(circle, rgba(217,150,37,.08), transparent 62%),
    rgba(255,255,255,.018);
  box-shadow:
    0 18px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.service-modal__icon img{
  width:108px;
  height:108px;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 0 13px rgba(217,150,37,.28));
}

.service-modal__heading{
  min-width:0;
}

.service-modal__eyebrow{
  margin:0 0 8px;
  color:#d99625;
  font:800 11px/1 Inter,sans-serif;
  letter-spacing:.16em;
}

.service-modal__heading h2{
  margin:0;
  color:#f7f4ea;
  font-size:36px;
  line-height:1.15;
  letter-spacing:-.055em;
}

.service-modal__headline{
  margin:12px 0 0;
  color:#e4b552;
  font-size:16px;
  line-height:1.55;
  font-weight:700;
  word-break:keep-all;
}

.service-modal__content{
  padding:34px 56px 46px;
}

.service-modal__intro{
  display:grid;
  gap:9px;
  color:#d9ddd8;
  font-size:14px;
  line-height:1.8;
}

.service-modal__intro p,
.service-modal__bodycopy,
.service-modal__statement p,
.service-modal__fields,
.service-modal__cta p{
  margin:0;
}

.service-modal__intro strong{
  color:#f1bd55;
}

.service-modal__questions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:26px 0;
}

.service-modal__questions p{
  min-height:82px;
  margin:0;
  padding:17px 18px;
  display:flex;
  align-items:center;
  border:1px solid rgba(217,150,37,.20);
  border-radius:12px;
  color:#f0e7d1;
  background:
    linear-gradient(145deg, rgba(217,150,37,.055), rgba(255,255,255,.015));
  font-size:12.5px;
  line-height:1.65;
  word-break:keep-all;
}

.service-modal__bodycopy{
  color:#cbd1cc;
  font-size:14px;
  line-height:1.82;
}

.service-modal__section{
  margin-top:30px;
}

.service-modal__section-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.service-modal__section-title span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(241,189,85,.58);
  border-radius:50%;
  color:#f4cf7a;
  background:rgba(217,150,37,.06);
  box-shadow:0 0 14px rgba(217,150,37,.10);
  font:800 11px/1 Inter,sans-serif;
}

.service-modal__section-title h3{
  margin:0;
  color:#f3f4f1;
  font-size:18px;
  letter-spacing:-.035em;
}

.service-modal__checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 16px;
  margin:0;
  padding:0;
  list-style:none;
}

.service-modal__checklist li{
  position:relative;
  min-height:46px;
  padding:13px 14px 13px 42px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:10px;
  color:#d8ddd8;
  background:rgba(255,255,255,.018);
  font-size:13px;
  line-height:1.5;
}

.service-modal__checklist li::before{
  content:"✓";
  position:absolute;
  left:14px;
  top:12px;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  border:1px solid rgba(217,150,37,.52);
  border-radius:50%;
  color:#f1bd55;
  font-size:10px;
  font-weight:800;
}

.service-modal__statement{
  margin-top:30px;
  padding:22px 24px;
  border-left:2px solid #d99625;
  color:#e3e6e1;
  background:
    linear-gradient(90deg, rgba(217,150,37,.08), transparent 84%);
  font-size:14px;
  line-height:1.82;
}

.service-modal__fields{
  padding:20px 22px;
  border:1px solid rgba(217,150,37,.18);
  border-radius:12px;
  color:#d8ddd7;
  background:rgba(255,255,255,.016);
  font-size:13px;
  line-height:1.8;
  word-break:keep-all;
}

.service-modal__cta{
  margin-top:32px;
  padding:24px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  border:1px solid rgba(217,150,37,.30);
  border-radius:14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(241,189,85,.10), transparent 38%),
    linear-gradient(135deg, rgba(217,150,37,.075), rgba(255,255,255,.015));
}

.service-modal__cta p{
  color:#e6e2d8;
  font-size:13.5px;
  line-height:1.7;
}

.service-modal__cta-button{
  height:46px;
  min-width:164px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  border:1px solid rgba(255,224,147,.50);
  border-radius:8px;
  color:#120c04;
  background:linear-gradient(180deg,#f3ca70,#d99625 62%,#a66614);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 10px 24px rgba(0,0,0,.26),
    0 0 18px rgba(217,150,37,.12);
  font-weight:800;
  cursor:pointer;
  transition:transform .24s ease, box-shadow .24s ease;
}

.service-modal__cta-button:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    0 14px 30px rgba(0,0,0,.32),
    0 0 26px rgba(217,150,37,.20);
}

.service-modal__cta-button span{
  font-size:23px;
  line-height:1;
}

@keyframes serviceBackdropIn{
  to{opacity:1;}
}

@keyframes servicePanelIn{
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (max-width:720px){
  .service-modal{
    place-items:end center;
    padding:0;
  }

  .service-modal__backdrop{
    background:rgba(0,3,3,.84);
  }

  .service-modal__panel{
    width:100%;
    max-height:92vh;
    border-left:0;
    border-right:0;
    border-bottom:0;
    border-radius:22px 22px 0 0;
    animation:serviceSheetIn .45s cubic-bezier(.22,.61,.36,1) forwards;
  }

  .service-modal__close{
    top:12px;
    margin:12px 14px 0 0;
  }

  .service-modal__header{
    grid-template-columns:86px 1fr;
    gap:16px;
    padding:26px 22px 22px;
  }

  .service-modal__icon{
    width:82px;
    height:82px;
    border-radius:18px;
  }

  .service-modal__icon img{
    width:74px;
    height:74px;
  }

  .service-modal__heading h2{
    font-size:28px;
  }

  .service-modal__headline{
    font-size:13px;
    line-height:1.58;
  }

  .service-modal__content{
    padding:24px 22px 34px;
  }

  .service-modal__questions{
    grid-template-columns:1fr;
  }

  .service-modal__questions p{
    min-height:0;
  }

  .service-modal__checklist{
    grid-template-columns:1fr;
  }

  .service-modal__cta{
    grid-template-columns:1fr;
  }

  .service-modal__cta-button{
    width:100%;
  }

  @keyframes serviceSheetIn{
    from{
      opacity:0;
      transform:translateY(100%);
    }
    to{
      opacity:1;
      transform:translateY(0);
    }
  }
}

@media (prefers-reduced-motion:reduce){
  .service-modal__backdrop,
  .service-modal__panel{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
