.company-banner {
  display: block;
  width: min(100%, 520px);
  margin: 0 0 22px;
  border-radius: 8px;
}

.footer-banner {
  display: block;
  width: min(100%, 420px);
  margin: 0 0 12px;
  border-radius: 5px;
}

/* Keep the desktop header aligned with the hero artwork. */
.topbar {
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
}

#name,
#phone,
#topic,
#message {
  border: 2px solid #9caec5;
}

#name:focus,
#phone:focus,
#topic:focus,
#message:focus {
  border-color: #155bd7;
  outline: 3px solid rgba(21, 91, 215, 0.15);
}

.hero-image-section {
  display: block;
  min-height: auto;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6ff 0%, #fff 100%);
}

.hero-image-section::before {
  content: none;
}

.hero-banner-image,
.hero-banner-image img {
  display: block;
  width: 100%;
}

.hero-banner-image {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-banner-image img {
  height: auto;
}

.ai-disclosure {
  width: min(100%, 1100px);
  margin: 8px auto 0;
  color: #65758b;
  font-size: 12px;
  text-align: right;
}

.hero-contact-strip {
  padding: 120px clamp(24px, 4vw, 72px) 0;
  border-top: 1px solid #dfe7f0;
  background: #f2f9ff;
}

.hero-links {
  width: min(92%, 560px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hero-links .button {
  min-height: 64px;
  font-size: 20px;
}

.hero-contact-strip > .fine {
  margin-top: 12px;
  text-align: center;
}

.check-image-section,
.status-image-section,
.process-image-section {
  width: 100%;
  padding: 80px clamp(24px, 4vw, 72px);
  overflow: hidden;
  background: #f2f9ff;
}

.check-banner-image,
.check-banner-image img,
.status-banner-image,
.status-banner-image img,
.process-banner-image,
.process-banner-image img {
  display: block;
  width: 100%;
}

.check-banner-image,
.status-banner-image,
.process-banner-image {
  max-width: 1100px;
  margin: 0 auto;
}

.check-banner-image img,
.status-banner-image img,
.process-banner-image img {
  height: auto;
}

.analysis-case {
  padding: 64px max(24px, calc((100% - 1180px) / 2)) 72px;
  background: #f2f9ff;
  text-align: center;
}

.analysis-case-copy {
  max-width: 820px;
  margin: 0 auto 26px;
}

.analysis-case-copy .eyebrow {
  margin-bottom: 7px;
}

.analysis-case-copy h2 {
  margin: 0;
  color: #071a3d;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.analysis-case-copy > p:last-child {
  margin: 12px 0 0;
  color: #56657a;
  font-size: 17px;
}

.analysis-case-trigger {
  position: relative;
  display: block;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 91, 215, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 26, 61, .12);
  cursor: zoom-in;
}

.analysis-case-trigger img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.analysis-case-trigger span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(7, 26, 61, .86);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.analysis-case-note {
  margin: 14px 0 0;
  color: #6a788b;
  font-size: 13px;
}

.analysis-modal[hidden] {
  display: none;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 52px 24px 24px;
  background: rgba(2, 10, 27, .88);
  backdrop-filter: blur(7px);
}

.analysis-modal img {
  display: block;
  max-width: min(1400px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
  user-select: none;
  -webkit-user-drag: none;
}

.analysis-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* Blend every content image into the shared pale-blue section background. */
.check-banner-image img,
.status-banner-image img,
.process-banner-image img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 36px,
    #000 calc(100% - 36px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 36px,
    #000 calc(100% - 36px),
    transparent 100%
  );
}

.promise {
  padding-top: 124px;
  padding-bottom: 124px;
  grid-template-columns: minmax(0, 900px) 180px;
  justify-content: center;
  gap: 20px;
  background:
    linear-gradient(90deg, rgba(21, 91, 215, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 91, 215, .08) 1px, transparent 1px),
    linear-gradient(120deg, #fff 0%, #edf7ff 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.promise-copy {
  width: 100%;
  max-width: 900px;
}

.promise-copy .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-left: 5px solid #ffd21c;
  background: #071a3d;
  color: #fff;
}

.promise-copy > p:not(.eyebrow) {
  margin-bottom: 24px;
}

.promise-copy strong {
  display: block;
  width: 100%;
  padding: 18px 22px;
  border: 3px solid #155bd7;
  border-left-width: 10px;
  border-radius: 12px;
  background: #fff;
  color: #071a3d;
  box-shadow: 0 14px 30px rgba(7, 26, 61, .1);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.promise-copy strong span {
  color: #155bd7;
}

.promise-check {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #071a3d;
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
}

.promise-check span {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 10px solid #155bd7;
  border-radius: 30px;
  background: #fff;
  color: #155bd7;
  box-shadow: 0 16px 32px rgba(21, 91, 215, .14);
  font-size: 62px;
  font-weight: 950;
  line-height: 1;
  transform: rotate(-4deg);
}

.consult {
  padding-top: 124px;
  padding-bottom: 124px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 210, 28, .14), transparent 28%),
    #f2f9ff;
}

.consult::before {
  content: none;
}

.consult-visual {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.consult-visual p {
  position: relative;
  z-index: 2;
  margin: 0 0 -16px 5%;
  color: #071a3d;
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.05em;
  transform: rotate(-3deg);
}

.consult-visual p::after {
  content: "";
  display: block;
  width: 76%;
  height: 8px;
  margin-top: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f0442f, #ffd21c 72%, transparent);
  transform: skewX(-18deg);
}

.consult-visual img {
  height: auto;
  object-fit: contain;
  aspect-ratio: 1234 / 1274;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.consult-visual .ai-disclosure {
  margin: 8px auto 0;
  padding: 0;
  color: #65758b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: right;
  transform: none;
}

.consult-visual .ai-disclosure::after {
  content: none;
}

.process-image-section .personal-opinion-note {
  width: min(100%, 1100px);
  margin: 8px auto 0;
  padding: 0;
  color: #52647c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: left;
  transform: none;
}

.process-image-section .personal-opinion-note::after {
  content: none;
}

.consult-panel {
  width: min(780px, 100%);
  border: 1px solid rgba(21, 91, 215, .12);
}

.consult-actions {
  padding: 30px;
  display: grid;
  gap: 14px;
}

.consult-actions p {
  margin: 0 0 4px;
  color: #56657a;
  text-align: center;
}

.button.kakao {
  background: #fee500;
  color: #191919;
  box-shadow: 0 12px 24px rgba(95, 80, 0, .15);
}

.kakao-link {
  gap: 8px;
}

.kakao-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #fee500;
  color: #191919;
  font-size: 15px;
  line-height: 1;
}

.consult-panel label {
  font-size: 15px;
}

.consult-panel input,
.consult-panel select,
.consult-panel textarea {
  min-height: 52px;
  border-radius: 12px;
  font-size: 16px;
}

.consult-panel textarea {
  min-height: 78px;
}

footer {
  padding-top: 60px;
}

.footer-grid {
  width: min(100%, 780px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 44px;
  align-items: center;
}

.footer-company,
.footer-contact {
  display: grid;
  gap: 3px;
}

.footer-company span,
.footer-contact span {
  color: #ffd21c;
  font-size: 13px;
  font-weight: 900;
}

.footer-company strong,
.footer-contact strong {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.footer-company p {
  margin: 2px 0 0;
  color: #c6d2e6;
  font-size: 17px;
}

.footer-contact {
  justify-items: end;
  text-align: right;
}

.footer-contact a {
  color: #ffd21c;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 950;
  line-height: 1.2;
}

.footer-qr {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #fff;
  text-align: center;
}

.footer-qr img {
  display: block;
  width: 148px;
  height: 148px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
}

.footer-qr b {
  margin-top: 5px;
  color: #ffd21c;
  font-size: 18px;
}

.footer-qr small {
  color: #9babc3;
  font-size: 12px;
}

.footer-notice {
  width: min(100%, 780px);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.footer-notice small {
  color: #9babc3;
}

.compliance-notice {
  color: #c6d2e6;
  font-size: 13px;
  line-height: 1.65;
}

.compliance-notice p {
  margin: 8px 0;
}

.compliance-notice ol {
  margin: 4px 0 10px;
  padding-left: 24px;
}

.compliance-number {
  margin-top: 18px !important;
  color: #ffd21c;
}

@media (max-width: 850px) and (min-width: 621px) {
  .promise {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .company-banner {
    margin-bottom: 16px;
    border-radius: 5px;
  }

  .hero-image-section {
    padding: 0 16px;
  }

  .hero-contact-strip {
    padding: 32px 0 0;
    border-top: 0;
    background: #f2f9ff;
  }

  .hero-banner-image {
    margin: 0 -16px;
    width: calc(100% + 32px);
  }

  .ai-disclosure {
    padding: 0 12px;
    font-size: 11px;
  }

  .hero-links {
    width: 100%;
    margin-top: 16px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-links .button {
    min-height: 52px;
    font-size: 16px;
  }

  .check-image-section,
  .status-image-section,
  .process-image-section {
    padding: 32px 0;
  }

  .analysis-case {
    padding: 38px 16px 46px;
  }

  .analysis-case-copy {
    margin-bottom: 20px;
  }

  .analysis-case-copy h2 {
    font-size: 30px;
  }

  .analysis-case-copy > p:last-child {
    font-size: 15px;
  }

  .analysis-case-trigger {
    border-radius: 12px;
  }

  .analysis-case-trigger span {
    right: 9px;
    bottom: 9px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .analysis-modal {
    padding: 58px 8px 18px;
    overflow: auto;
  }

  .analysis-modal img {
    max-width: none;
    width: 1400px;
    height: auto;
    align-self: start;
  }

  .check-banner-image,
  .status-banner-image,
  .process-banner-image {
    max-width: none;
  }

  .promise {
    padding: 58px 20px 64px;
  }

  .promise-copy .eyebrow {
    font-size: 13px;
  }

  .promise-copy strong {
    padding: 15px 16px;
    border-width: 3px 3px 3px 8px;
    font-size: 17px;
  }

  .promise-check {
    position: absolute;
    right: -13px;
    top: 42px;
    opacity: .13;
  }

  .promise-check span {
    width: 92px;
    height: 92px;
    border-width: 8px;
    border-radius: 24px;
    font-size: 48px;
  }

  .promise-check b {
    display: none;
  }

  .consult {
    padding: 54px 16px 72px;
    gap: 0;
  }

  .consult-visual {
    width: 78%;
    max-width: 330px;
    margin: 0 auto -18px;
  }

  .consult-visual p {
    margin: 0 0 -8px -12%;
    font-size: 27px;
  }

  .consult-panel {
    border-radius: 22px;
  }

  .consult-actions {
    padding: 24px 20px;
  }

  .consult-panel input,
  .consult-panel select,
  .consult-panel textarea {
    min-height: 54px;
  }

  footer {
    padding: 38px 20px 105px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .footer-company,
  .footer-contact {
    justify-items: center;
    text-align: center;
  }

  .footer-qr {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  .footer-qr img {
    width: 156px;
    height: 156px;
  }

  .footer-contact {
    order: 2;
  }

  .footer-notice {
    margin-top: 24px;
    text-align: center;
  }

  .compliance-notice {
    text-align: left;
    font-size: 12px;
  }
}
