/* assist-uhak.css */
:root{
  --ac-red:#EC001E;
  --text:#222;
  --muted:#666;
  --bg:#ffffff;
  --row:#f8f9fb;
  --border:#e5e5e5;
  --burgundy:#800020;
}

*{box-sizing:border-box;}
body{
  margin:0;
  font-family:'Noto Sans KR','Malgun Gothic',system-ui,-apple-system,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block;}

.page{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px 60px;
}

/* HERO – 1182×402 비율, 가운데 정렬 */
.hero{
  position:relative;
  margin:0 auto;
  max-width:1182px;
  width:100%;
  aspect-ratio:1182/402;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.hero img {
  width:100%;
  height:100%;
  object-fit:cover;
}

/* 히어로 아래: 단기여행만 크게 */
.intro-box{
  max-width:1200px;
  margin:28px auto 0;
  padding:0 16px;
}
.intro-main-title{
  font-size:44px;
  font-weight:800;
  margin:0;
}

/* 공통 섹션 타이틀 */
section{margin-top:40px;}
h2.section-title{
  font-size:26px;
  font-weight:800;
  margin:0 0 20px;
}
.section-title-lg{
  font-size:34px;
}

/* 비교 테이블 */
.compare-wrap{margin-top:40px;}
.compare-title{
  font-size:34px;
  font-weight:800;
  margin:0 0 20px;
}
.compare-table{
  display:grid;
  grid-template-columns:1fr 2.4fr 1fr;
  border-radius:12px;
  border:1px solid var(--border);
  background:#f8f9fb;
  position:relative;
  overflow:visible;
  padding:12px 0 12px;
}
.compare-col{
  display:flex;
  flex-direction:column;
  background:#f8f9fb;
  border-right:1px solid #ececec;
  z-index:0;
}
.compare-col:last-child{border-right:none;}
.compare-header{
  padding:16px 16px;
  font-size:15px;
  font-weight:700;
  background:#f1f3f5;
  text-align:center;
  border-bottom:1px solid #ddd;
}
.compare-col.center{
  background:#fff;
  border-left:2px solid var(--ac-red);
  border-right:2px solid var(--ac-red);
  position:relative;
  z-index:2;
  transform:translateY(-8px);
  box-shadow:0 14px 26px rgba(0,0,0,0.12);
  border-radius:12px;
}
.compare-col.center .compare-header.main{
  border-radius:12px 12px 0 0;
}
.compare-col.center .compare-item:last-child{
  border-radius:0 0 12px 12px;
}
.compare-header.main{
  padding:18px 16px;
  background:var(--ac-red);
  color:#fff;
  font-size:16px;
  border-bottom:none;
}
.compare-item{
  padding:16px 18px;
  font-size:14px;
  text-align:center;
  border-bottom:1px solid #eee;
  background:#fff;
}
.compare-col:not(.center) .compare-item{
  background:#f8f9fb;
}
.compare-item:last-child{border-bottom:none;}

/* 서비스 섹션 */
.service-block{
  display:flex;
  gap:32px;
  padding:24px 0;
  border-top:1px solid #eee;
}
.service-block:first-of-type{border-top:none;}
.service-image{
  flex:0 0 42%;
  border-radius:12px;
  overflow:hidden;
}
.service-text{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.service-text h3{
  margin:0 0 4px;
  font-size:28px;
  color:var(--ac-red);
  font-weight:800;
}
.service-main-copy{
  margin:0;
  font-size:19px;
  line-height:1.55;
  color:var(--text);
  white-space:pre-line;
}
.service-note{
  font-size:16px;
  color:#888;
  margin-top:8px;
  white-space:pre-line;
}

/* 이런 여행자라면 – 3컬럼 카드형 */
.persona-list{
  display:flex;
  gap:40px;
  justify-content:space-between;
}
.persona-row{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.persona-icon{
  width:72px;
  height:72px;
  margin-bottom:16px;
}
.persona-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.persona-body h3{
  margin:0 0 10px;
  font-size:22px;
  font-weight:700;
  white-space:pre-line;
}
.persona-tag{
  margin:0;
  font-size:17px;
  color:var(--ac-red);
}

/* 실제 위기 상황 레이아웃 */
.case-section{
  margin-top:120px;
}
.case-intro{
  margin:4px 0 18px;
  font-size:15px;
  color:var(--muted);
}
.case-list{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.case-card{
  position:relative;
}
.case-q{
  margin:0 0 8px;
  font-size:22px;
  font-weight:700;
}
.case-q span{
  color:var(--ac-red);
  margin-right:4px;
}

.case-layout{
  position:relative;
  padding-top:12px;
  padding-bottom:40px;
}

.case-left{
  background:#f8f9fb;
  border-radius:18px;
  border:1px solid #e5e5e5;
  padding:20px 26px 24px;
  width:52%;
  max-width:600px;
  margin-right:auto;
}
.case-left-header{
  text-align:center;
  font-size:16px;
  font-weight:700;
  margin-bottom:16px;
}
.case-left-text{
  font-size:18px;
  color:var(--muted);
  white-space:pre-line;
  text-align:center;
}

/* 오른쪽 카드 폭 조정: 58% → 48% (왼쪽 카드 테두리부터 시작하게) */
.case-right{
  position:absolute;
  top:12px;
  right:0;
  width:48%;
  max-width:640px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(0,0,0,0.18);
  background:#fff;
}
.case-right-header{
  background:var(--ac-red);
  color:#fff;
  text-align:center;
  padding:14px 18px;
  font-size:18px;
  font-weight:800;
}
.case-right-body{
  background:#fff;
  padding:24px 28px 26px;
  font-size:18px;
  color:var(--text);
  white-space:pre-line;
}
.case-right-body span.bold{
  font-weight:700;
}
.case-footnote{
  margin-top:-4px;
  font-size:14px;
  color:#888;
}

/* 맞춤형 보장 조회 CTA – pill */
.cta-section{
  margin-top:40px;
}
.cta-pill{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:18px 90px 18px 40px;
  border-radius:999px;
  background:linear-gradient(90deg,#59657c,#252c38);
  color:#fff;
  text-decoration:none;
  font-size:19px;
  font-weight:500;
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
  overflow:hidden;
}
.cta-pill-text{
  white-space:nowrap;
}
.cta-pill-text strong{
  font-weight:700;
}
.cta-pill-bubble{
  position:absolute;
  right:26px;
  top:50%;
  transform:translateY(-50%);
  width:70px;
  height:70px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 20%,#8addff,#1a8dff 40%,#0064d6 85%);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:800;
  font-size:14px;
  text-shadow:0 1px 2px rgba(0,0,0,0.35);
  box-shadow:0 6px 14px rgba(0,0,0,0.35);
}
.cta-pill-bubble::after{
  content:"";
  position:absolute;
  bottom:-10px;
  left:20px;
  border-width:12px 10px 0 0;
  border-style:solid;
  border-color:#0064d6 transparent transparent transparent;
  transform:skewX(-10deg);
  filter:brightness(1.05);
}

/* FAQ */
.faq-section{
  margin-top:70px;
}
.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.faq-item{
  border-radius:12px;
  border:1px solid #eee;
  padding:20px 22px 18px;
  background:#fff;
}
.faq-q-wrap,
.faq-a-wrap{
  display:flex;
  gap:6px;
  align-items:flex-start;
}
.faq-a-wrap{
  margin-top:4px;
}
.faq-q-label,
.faq-a-label{
  font-weight:700;
  font-size:16px;
  width:22px;
  flex-shrink:0;
}
.faq-q-label{color:var(--ac-red);}
.faq-a-label{color:#333;}
.faq-q{
  font-size:17px;
  margin:0;
  white-space:pre-line;
}
.faq-divider{
  height:1px;
  background:var(--burgundy);
  margin:10px 0 16px;
}
.faq-a-title{
  font-size:16px;
  margin:0 0 6px;
  font-weight:700;
}
.faq-a-body{
  font-size:14px;
  margin:0;
  white-space:pre-line;
  color:var(--muted);
}

/* 알려드려요 */
.notice-card{
  border-radius:12px;
  border:1px solid #eee;
  padding:18px 20px 14px;
  background:#fafbfc;
  margin-top:28px;
}
.notice-card h4{
  margin:0 0 10px;
  font-size:16px;
  font-weight:800;
}
.notice-item{
  display:flex;
  align-items:flex-start;
  font-size:13px;
  color:#555;
  margin-bottom:4px;
}
.notice-bullet{
  margin-right:6px;
}

/* 반응형 */
@media (max-width:900px){
  .compare-table{
    grid-template-columns:1.1fr 2.1fr 1.1fr;
  }
  .service-block{
    flex-direction:column;
  }
  .service-image{flex-basis:auto;}

  .persona-list{
    flex-direction:column;
    gap:28px;
  }

  .case-layout{
    padding-top:0;
    padding-bottom:0;
  }
  .case-left,
  .case-right{
    position:static;
    width:100%;
    max-width:none;
    margin-top:0;
    box-shadow:none;
  }
  .case-right{
    margin-top:16px;
  }
  .case-footnote{
    margin-top:4px;
  }

  .cta-pill{
    padding:16px 80px 16px 24px;
    font-size:17px;
  }
  .cta-pill-text{
    white-space:normal;
    text-align:center;
  }

  .faq-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .hero-title{font-size:24px;}
  .compare-title,
  h2.section-title,
  .section-title-lg{
    font-size:26px;
  }
  .intro-main-title{
    font-size:36px;
  }

  .cta-pill{
    padding:14px 70px 14px 18px;
    font-size:16px;
  }
  .cta-pill-bubble{
    right:18px;
    width:60px;
    height:60px;
    font-size:12px;
  }
  .cta-pill-bubble::after{
    bottom:-8px;
    left:18px;
  }
}