:root {
  --taesan-blue: #1667d9;
  --taesan-deep: #0a2d68;
  --taesan-ink: #16233a;
  --taesan-muted: #60718d;
  --taesan-sky: #eaf4ff;
  --taesan-line: #dce8f7;
  --taesan-white: #fff;
  --taesan-radius: 24px;
  --taesan-shadow: 0 18px 45px rgba(14, 64, 138, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--taesan-ink);
  background: #fff;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.site-shell { overflow: clip; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-soft { background: #f7fbff; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.eyebrow { display: inline-block; margin: 0 0 10px; color: var(--taesan-blue); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--taesan-ink); line-height: 1.28; letter-spacing: -.04em; }
h1 { font-size: clamp(38px, 5vw, 66px); }
h2 { font-size: clamp(30px, 3.5vw, 46px); margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 8px; }
.section-heading p, .muted { color: var(--taesan-muted); }

.site-header { position: relative; z-index: 20; background: var(--taesan-deep); color: #fff; }
.site-header.is-inner { background: #fff; color: var(--taesan-ink); box-shadow: 0 2px 20px rgba(15, 45, 86, .07); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 170px; height: 56px; }
.brand img { width: 168px; height: 56px; object-fit: contain; object-position: left center; }
.site-header.is-inner .brand { background: var(--taesan-deep); border-radius: 8px; padding: 0 10px; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.site-nav a { opacity: .82; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; color: #9ec9ff; }
.site-header.is-inner .site-nav a:hover, .site-header.is-inner .site-nav a[aria-current="page"] { color: var(--taesan-blue); }
.nav-toggle { display: none; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 25px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 23px; border: 1px solid transparent; border-radius: 100px; background: var(--taesan-blue); color: #fff; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 103, 217, .24); }
.btn-outline { border-color: #c7dcfa; background: #fff; color: var(--taesan-blue); }
.btn-ghost { border-color: rgba(255,255,255,.38); background: transparent; color: #fff; }
.btn[aria-disabled="true"] { cursor: default; opacity: .68; }

.home-hero { position: relative; isolation: isolate; min-height: 670px; overflow: hidden; background: radial-gradient(circle at 15% 20%, #2f86ef 0, #1667d9 36%, #073271 100%); color: #fff; }
.home-hero::after { content: ""; position: absolute; z-index: -1; width: 72vw; height: 72vw; right: -24vw; bottom: -42vw; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.05), 0 0 0 140px rgba(255,255,255,.03); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; min-height: 670px; }
.hero-copy { position: relative; z-index: 2; padding: 86px 0; }
.hero-copy .eyebrow, .hero-copy h1 { color: #fff; }
.hero-copy p { max-width: 580px; margin-bottom: 31px; color: rgba(255,255,255,.82); font-size: 18px; }
.hero-image { align-self: end; justify-self: end; height: 610px; }
.hero-image img { height: 100%; max-width: none; object-fit: contain; object-position: bottom right; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; min-height: 295px; padding: 29px; overflow: hidden; border: 1px solid var(--taesan-line); border-radius: var(--taesan-radius); background: #fff; box-shadow: 0 9px 26px rgba(23, 74, 146, .05); }
.product-card img { width: 72px; height: 72px; margin-bottom: 26px; padding: 14px; border-radius: 18px; background: linear-gradient(145deg, #1f7cea, #0d4eae); object-fit: contain; }
.product-card p { min-height: 51px; color: var(--taesan-muted); }
.text-link { color: var(--taesan-blue); font-weight: 800; }
.news-all-link { display: block; width: fit-content; margin: 24px auto 0; }

.loan-overview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; padding: 17px; border-radius: 15px; background: #fff; box-shadow: 0 5px 17px rgba(25, 88, 172, .07); }
.step-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #ddecff; color: var(--taesan-blue); font-weight: 900; }
.step p { margin: 2px 0 0; color: var(--taesan-muted); font-size: 15px; }
.static-calculator { padding: 32px; border: 1px solid #dae9fb; border-radius: var(--taesan-radius); background: #fff; box-shadow: var(--taesan-shadow); }
.calculator-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.calculator-label { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; font-weight: 800; }
.range-rail { height: 8px; border-radius: 99px; background: #dbe9fa; overflow: hidden; }
.range-rail span { display: block; height: 100%; width: 58%; border-radius: inherit; background: var(--taesan-blue); }
.calculator-range { margin: 10px 0 0; color: var(--taesan-muted); font-size: 13px; }
.payment-box { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 30px; padding: 20px; border-radius: 16px; background: #eff7ff; }
.payment-box span { display: block; color: var(--taesan-muted); font-size: 14px; }
.payment-box strong { font-size: 22px; }
.static-note { margin: 18px 0 0; color: var(--taesan-muted); font-size: 13px; }

.visual-panel { overflow: hidden; border-radius: var(--taesan-radius); background: #e8f3ff; box-shadow: var(--taesan-shadow); }
.visual-panel img { width: 100%; min-height: 310px; object-fit: cover; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 25px; }
.benefit-intro { margin: 0 0 22px; color: var(--taesan-blue); font-weight: 800; }
.benefit { position: relative; padding-left: 23px; color: var(--taesan-ink); font-weight: 700; }
.benefit::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--taesan-blue); }

.news-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card { overflow: hidden; border: 1px solid var(--taesan-line); border-radius: 18px; background: #fff; }
.news-card img { width: 100%; aspect-ratio: 1.33; object-fit: cover; }
.news-card-body { padding: 19px; }
.news-card h3 { font-size: 18px; }
.news-card time { color: var(--taesan-muted); font-size: 13px; }

.testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.testimonial { padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 10px 29px rgba(18, 77, 156, .09); }
.testimonial img { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; object-fit: cover; }
.testimonial blockquote { margin: 0 0 20px; color: #43536c; font-size: 14px; }
.testimonial strong, .testimonial span { display: block; }
.testimonial span { color: var(--taesan-muted); font-size: 13px; }

.advisor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr); gap: 62px; align-items: center; }
.advisor-photo { position: relative; min-height: 480px; border-radius: var(--taesan-radius); background: linear-gradient(145deg, #e3f2ff, #c0ddff); overflow: hidden; }
.advisor-photo img { position: absolute; right: 0; bottom: 0; height: 470px; max-width: 100%; object-fit: contain; object-position: bottom right; }
.contact-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.contact-chip { padding: 14px; border: 1px solid var(--taesan-line); border-radius: 14px; background: #fff; color: var(--taesan-blue); font-weight: 800; text-align: center; }
.faq-list { border-top: 1px solid var(--taesan-line); }
.faq-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--taesan-line); font-weight: 800; cursor: pointer; transition: color .25s ease; }
.faq-item span { color: var(--taesan-blue); }
.faq-question { color: var(--taesan-ink) !important; }
.faq-item:focus-visible { outline: 3px solid rgba(22, 103, 217, .25); outline-offset: 6px; border-radius: 8px; }
.faq-item > span:last-child { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--taesan-sky); color: var(--taesan-blue); font-size: 22px; font-weight: 500; line-height: 1; transition: transform .35s cubic-bezier(.22, .61, .36, 1), background .25s ease, color .25s ease; }
.faq-item[aria-expanded="true"] { color: var(--taesan-blue); }
.faq-item[aria-expanded="true"] > span:last-child { transform: rotate(45deg); background: var(--taesan-blue); color: #fff; }
.faq-answer { height: 0; overflow: hidden; padding: 0; color: var(--taesan-muted); font-size: 14px; line-height: 1.8; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: height .42s cubic-bezier(.22, .61, .36, 1), padding .42s cubic-bezier(.22, .61, .36, 1), opacity .25s ease, transform .42s ease, visibility 0s linear .42s; will-change: height; }
.faq-answer[aria-hidden="false"] { padding: 0 0 18px; opacity: 1; transform: translateY(0); visibility: visible; transition: height .42s cubic-bezier(.22, .61, .36, 1), padding .42s cubic-bezier(.22, .61, .36, 1), opacity .25s ease, transform .42s ease, visibility 0s linear 0s; }
.faq-note { margin: 17px 0 0; color: var(--taesan-muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-item > span:last-child, .faq-answer { transition-duration: 0.01ms; }
}

.cta { color: #fff; background: linear-gradient(110deg, #0d4ca7, #1474df); }
.cta h2, .cta p { color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 45px; align-items: center; }
.cta p { margin-bottom: 0; color: rgba(255,255,255,.86); }

.inner-hero { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--taesan-deep) center/cover no-repeat; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 29, 68, .84), rgba(4, 29, 68, .46)); }
.inner-hero-content { position: relative; width: min(1160px, calc(100% - 40px)); }
.inner-hero h1 { margin-bottom: 10px; color: #fff; }
.inner-hero p { max-width: 630px; margin-bottom: 0; color: rgba(255,255,255,.86); font-size: 18px; }
.about-hero { background-image: url("../picture/taesan-about-background.png"); }
.about-company-introduction { display: block; width: min(805px, 100%); height: auto; margin: 0 auto; }
.career-hero { background-image: url("../picture/taesan-loan-product-background.png"); }
.loan-hero { background-image: url("../picture/taesan-company-background.png"); }
.contact-hero { background-image: url("../picture/taesan-customer-service-background.png"); }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.about-image { min-height: 410px; border-radius: var(--taesan-radius); background: url("../picture/taesan-about-background.png") center/cover no-repeat; box-shadow: var(--taesan-shadow); }
.detail-list { display: grid; gap: 14px; margin: 27px 0; }
.detail-list div { padding: 15px 17px; border-left: 4px solid var(--taesan-blue); border-radius: 0 12px 12px 0; background: #f4f9ff; }

.loan-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loan-product { min-height: 164px; padding: 24px; border: 1px solid var(--taesan-line); border-radius: 18px; background: #fff; box-shadow: 0 7px 21px rgba(11, 72, 150, .06); }
.loan-product span { display: inline-grid; width: 36px; height: 36px; margin-bottom: 15px; place-items: center; border-radius: 50%; background: #e3f1ff; color: var(--taesan-blue); font-weight: 900; }
.loan-product p { min-height: 52px; margin-bottom: 18px; color: var(--taesan-muted); font-size: 14px; }
.loan-product .btn { min-height: 40px; padding: 0 17px; font-size: 13px; }

.application-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.application-step { padding: 27px; border: 1px solid var(--taesan-line); border-radius: var(--taesan-radius); text-align: center; background: #fff; }
.application-step img { width: 105px; height: 105px; margin: 0 auto 20px; object-fit: contain; }
.application-step p { margin-bottom: 0; color: var(--taesan-muted); font-size: 14px; }
.loan-calculator-card { max-width: 800px; margin: 0 auto; }
.loan-calculator-card .static-calculator { box-shadow: none; }
.calculator-form { display: grid; gap: 24px; }
.calculator-input-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calculator-field { display: grid; gap: 10px; padding: 17px; border: 1px solid var(--taesan-line); border-radius: 16px; background: #f8fbff; color: var(--taesan-ink); }
.calculator-field > span:first-child { font-size: 14px; font-weight: 800; }
.calculator-input-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; border: 1px solid #ccdef4; border-radius: 10px; background: #fff; }
.calculator-input-wrap input { min-width: 0; width: 100%; padding: 11px 0; border: 0; outline: 0; color: var(--taesan-ink); background: transparent; }
.calculator-input-wrap span { color: var(--taesan-muted); font-size: 13px; white-space: nowrap; }
.calculator-range { width: 100%; accent-color: var(--taesan-blue); cursor: pointer; }
.calculator-field-fixed { cursor: default; }
.calculator-field-fixed .calculator-input-wrap { background: #eef5ff; }
.calculator-field-fixed .calculator-input-wrap input { color: var(--taesan-blue); font-weight: 800; cursor: not-allowed; }
.calculator-field-fixed .calculator-range { appearance: none; -webkit-appearance: none; cursor: not-allowed; opacity: 1; background: transparent; }
.calculator-field-fixed .calculator-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--taesan-blue) 0 21.6667%, #dbe9fa 21.6667% 100%); }
.calculator-field-fixed .calculator-range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--taesan-blue); -webkit-appearance: none; }
.calculator-field-fixed .calculator-range::-moz-range-track { height: 8px; border-radius: 999px; background: #dbe9fa; }
.calculator-field-fixed .calculator-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--taesan-blue); }
.calculator-field-fixed .calculator-range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--taesan-blue); }
.calculator-range:focus-visible { outline: 3px solid rgba(22, 103, 217, .22); outline-offset: 3px; }
.calculator-field small { color: var(--taesan-muted); font-size: 12px; line-height: 1.45; }
.calculator-error { margin: 0; padding: 11px 13px; border-radius: 10px; color: #a52b3a; background: #fff0f2; font-size: 13px; }
.calculator-results { margin-top: 0; }
.calculator-results > div { min-height: 112px; }
.calculator-results strong { font-size: 21px; }
.calculator-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.calculator-actions .btn { min-width: 120px; cursor: pointer; }
.calculator-apply { justify-content: center; }
.calculator-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.calculator-detail-grid > div { padding: 15px; border-radius: 14px; background: #f2f8ff; }
.calculator-detail-grid span, .calculator-detail-grid small { display: block; color: var(--taesan-muted); font-size: 12px; }
.calculator-detail-grid strong { display: block; margin: 4px 0; font-size: 18px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-methods { display: grid; gap: 14px; }
.contact-method { padding: 18px 20px; border: 1px solid var(--taesan-line); border-radius: 16px; background: #fff; }
.contact-method span { display: block; margin-bottom: 3px; color: var(--taesan-muted); font-size: 13px; }
.contact-method a { color: var(--taesan-blue); font-weight: 900; }
.static-form { padding: 29px; border-radius: var(--taesan-radius); background: #f4f9ff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; color: var(--taesan-muted); font-size: 14px; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 13px 14px; resize: vertical; border: 1px solid #ccdef4; border-radius: 11px; color: var(--taesan-ink); background: #fff; }
.form-note { margin: 15px 0 0; color: var(--taesan-muted); font-size: 13px; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card { padding: 27px; border: 1px solid var(--taesan-line); border-radius: var(--taesan-radius); background: #fff; text-align: center; }
.help-card img { width: 86px; height: 86px; margin: 0 auto 17px; object-fit: contain; }
.help-card p { margin-bottom: 0; color: var(--taesan-muted); font-size: 14px; }

.site-footer { padding: 72px 0 22px; color: rgba(255,255,255,.78); background: #08244f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 34px; }
.footer-brand { display: inline-flex; height: 55px; margin-bottom: 18px; align-items: center; }
.footer-brand img { width: 168px; height: 55px; object-fit: contain; object-position: left center; }
.site-footer h3 { margin-bottom: 14px; color: #fff; font-size: 16px; letter-spacing: 0; }
.site-footer p { margin-bottom: 0; font-size: 14px; }
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.footer-bottom > div:first-child { display: grid; gap: 4px; }
.footer-bottom > div:last-child { align-self: end; flex: 1; text-align: center; }

@media (max-width: 980px) {
  .site-nav { position: absolute; top: 80px; right: 20px; left: 20px; display: none; padding: 18px; border-radius: 18px; background: #fff; color: var(--taesan-ink); box-shadow: var(--taesan-shadow); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 7px 4px; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--taesan-blue); }
  .nav-toggle { display: block; }
  .hero-grid, .advisor, .two-column, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-image { height: 420px; justify-self: center; }
  .hero-image img { object-position: bottom center; }
  .news-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 72px; }
  .site-nav { top: 72px; }
  .brand, .brand img { width: 150px; min-width: 150px; }
  .section { padding: 68px 0; }
  .home-hero { min-height: 0; }
  .hero-copy { padding: 68px 0 0; }
  .hero-image { height: 340px; }
  .product-grid, .news-grid, .testimonials, .loan-products, .application-steps, .help-cards { grid-template-columns: 1fr; }
  .loan-overview, .calculator-columns, .contact-chips, .form-grid { grid-template-columns: 1fr; }
  .calculator-input-grid, .calculator-results { grid-template-columns: 1fr; }
  .news-head, .payment-box, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom > div:last-child { align-self: flex-start; text-align: center; width: 100%; }
  .calculator-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-results.calculator-detail-grid { grid-template-columns: 1fr; }
  .visual-panel img { min-height: 190px; }
  .advisor-photo { min-height: 390px; }
  .advisor-photo img { height: 390px; }
  .inner-hero { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
}
