@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
/* Base styles and variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

:root {
  --primary-color: #004a92;
  --secondary-color: #0070c0;
  --light-color: #f5f7fa;
  --dark-color: #002f56;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 100;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Further increase the height of the top white band by 1.5x compared to the previous setting */
  padding: 1.5rem 0;
}

.logo {
  /* Remove font styling when using an image logo; keep the container inline-flex for alignment */
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

/* Logo image sizing */
.logo img {
  /* Enlarge logo roughly twice in size */
  height: 84px;
  width: auto;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 1.5rem; /* provide more spacing between larger menu items */
}

/* Navigation dropdown styling */
.navigation li {
  position: relative;
}

.navigation li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 50;
  padding: 0.5rem 0;
}

.navigation li:hover > .dropdown {
  display: block;
}

.navigation li .dropdown li {
  list-style: none;
}

.navigation li .dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.navigation li .dropdown a:hover {
  background: var(--light-color);
  color: var(--secondary-color);
}

.navigation a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  /* Increase menu font size further to 1.4rem for better visibility */
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.navigation a:hover {
  color: var(--secondary-color);
}

/* Hero section */
.hero {
  position: relative;
  /* Default hero image shows the handshake graphic until the slideshow script rotates the images */
  background-image: url('images/hero-handshake.png');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Call‑to‑action box inside hero: white container that stands out against the dark overlay */
.hero-cta-box {
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  margin-top: 1rem;
}
.hero-cta-box .btn {
  /* reset default button colours for this box */
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
}
.hero-cta-box .btn:hover {
  background: var(--secondary-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.primary-btn {
  background: var(--secondary-color);
  color: #fff;
}

.primary-btn:hover {
  background: var(--primary-color);
}

/* Features section */
.features {
  background-image: url('images/network-bg.png');
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  color: #fff;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.features .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
  background: transparent !important; /* 배경색 제거 */
  background-color: transparent !important; /* 배경색 제거 */
}

/* Grid layout for feature and partner items ensures cards wrap neatly without overlapping. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
  backdrop-filter: blur(4px);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Ensure feature cards on services pages use a light background and dark text for better readability */
.services-list .feature-item {
  background: #fff;
  color: #333;
  backdrop-filter: none;
}
.services-list .feature-icon {
  color: var(--primary-color);
}

/* Thumbnail images within cards */
.thumb-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Stats section */
.stats {
  background: var(--light-color);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* Partner section */
.partners {
  background: var(--secondary-color);
  color: #fff;
  padding: 4rem 0;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-item {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.partner-item h3 {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  color: #fff;
}

.partner-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #e1ecf7;
}

/* Contact section */
.contact {
  background: var(--light-color);
  padding: 4rem 0;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-info {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info ul {
  list-style: none;
  margin-top: 1rem;
}

.contact-info li {
  margin-bottom: 0.5rem;
}

.contact-map {
  margin-top: 2rem;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.contact-form {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* agree-wrap 내부의 체크박스는 예외 처리 */
.contact-form .agree-wrap input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-bottom: 0;
  margin-right: 4px;
}

/* contact-form 내부의 consult-form 스타일 */
.contact-form .consult-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form .consult-form * {
  max-width: 100%;
  box-sizing: border-box;
}

/* contact-form 내부의 agree-wrap은 예외 처리 */
.contact-form .consult-form .agree-wrap {
  max-width: none !important;
  gap: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.contact-form .consult-form .agree-wrap * {
  max-width: none !important;
  box-sizing: content-box !important;
}

.contact-form .consult-form .agree-wrap span,
.contact-form .consult-form .agree-wrap a {
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.contact-form .consult-form input[type="text"],
.contact-form .consult-form input[type="tel"] {
  padding: 12px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 0;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--secondary-color);
}

/* Footer */
.site-footer {
  background: var(--dark-color);
  color: #ccd7e4;
  padding: 2.5rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-info {
  line-height: 1.8;
}

.footer-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #a0aec0;
}

.footer-info .footer-company {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.site-footer nav a {
  color: #ccd7e4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.site-footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #718096;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navigation ul {
    gap: 0.6rem;
    font-size: 0.9rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .footer-info p {
    font-size: 0.8rem;
  }
  
  .footer-info .footer-company {
    font-size: 1.1rem;
  }
  
  .site-footer nav {
    gap: 0.3rem 1rem;
  }
  
  .site-footer nav a {
    font-size: 0.85rem;
  }
}

/* CTA (call-to-action) section */
.cta-section {
  background: var(--secondary-color);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

/* Secondary call‑to‑action section styling */
.cta-second {
  background: var(--secondary-color);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-second h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.cta-second .cta-list {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 600px;
  text-align: left;
}
.cta-second .cta-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.6rem;
  position: relative;
  font-size: 1.1rem;
}
.cta-second .cta-list li::before {
  content: '\2022'; /* bullet dot */
  color: var(--light-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.cta-second p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.cta-second .btn {
  background: #fff;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}
.cta-second .btn:hover {
  background: var(--light-color);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
}
.cta-section .btn:hover {
  background: var(--light-color);
}

/* About section */
.about {
  padding: 4rem 0;
  background: var(--light-color);
}

.about .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-text ul {
  list-style: none;
}

.about-text li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.8rem;
}

.about-text li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Process section */
.process {
  background: #f7f9fc;
  padding: 4rem 0;
}

.process .container {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-item {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.process-item .icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-item p {
  font-size: 0.95rem;
  color: #666;
}

/* Location section */
.location {
  background: var(--light-color);
  padding: 4rem 0;
}

.location .map-placeholder {
  height: 300px;
  background: #dfe6f1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.location .address {
  text-align: center;
  font-size: 1rem;
  color: #333;
}

/* News section styles */
.news-section {
  background: var(--light-color);
  padding: 4rem 0;
}

/* Services list page (policy, support etc.) */
.services-list {
  /* Add more vertical space above and below the services grid so it doesn't feel cramped */
  padding: 5rem 0 6rem 0;
  background: var(--light-color);
}

/* Increase the size of individual cards on services pages (policy/support/etc.) so they feel less squat */
.services-list .feature-item {
  padding: 2rem;
  min-height: 320px;
}

/* Make thumbnails taller on service cards for better proportions */
.services-list .thumb-img {
  height: 220px;
}

.news-item {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.news-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.news-item p {
  font-size: 0.95rem;
}

.news-item.news {
  background: #28a745; /* green */
}

.news-item.case {
  background: #007bff; /* blue */
}

.news-item.fund {
  background: #e67e22; /* orange */
}

html, body { font-family: 'Noto Sans KR', 'Roboto', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }

/* Header styling */
.header { 
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

/* Navigation styling */
.nav { display:flex; gap:28px; }
.nav a {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 18px 0;
  color:#1f4f86;
  text-decoration: none;
}
.nav a:hover,
.nav a:focus { 
  color:#173e69;
}
.nav a.active {
  position: relative;
}
.nav a.active::after {
  content:"";
  position:absolute; left:0; right:0; bottom:-8px;
  height:3px; border-radius:2px; background:#1f4f86;
}

/* === 2-line hero CTA button === */
.btn-2line{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  line-height:1.15;
  padding:14px 24px; /* keep your existing .btn padding if defined; this overrides slightly for vertical layout */
  text-transform:none; /* prevent all-caps if previously set */
  text-align:center;
}
.btn-2line .btn-main{ font-weight:700; }
.btn-2line .btn-sub{ font-size:0.9em; opacity:0.9; }
@media (max-width: 640px){
  .btn-2line{ padding:12px 20px; }
  .btn-2line .btn-main{ font-size:1em; }
  .btn-2line .btn-sub{ font-size:0.85em; }
}

/* === 2-line hero CTA button === */
.btn-2line{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  line-height:1.15;
  padding:14px 24px; /* keep your existing .btn padding if defined; this overrides slightly for vertical layout */
  text-transform:none; /* prevent all-caps if previously set */
  text-align:center;
}
.btn-2line .btn-main{ font-weight:700; }
.btn-2line .btn-sub{ font-size:0.9em; opacity:0.9; }
@media (max-width: 640px){
  .btn-2line{ padding:12px 20px; }
  .btn-2line .btn-main{ font-size:1em; }
  .btn-2line .btn-sub{ font-size:0.85em; }
}

/* Sync hero background + text */
.hero{
  position:relative;
  background-size:cover;
  background-position:center;
  height:800px;
}
.hero.fade-in .hero-content{
  opacity:1;
  transform:translateY(0);
}
.hero .hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  opacity:1;
  transition:opacity .6s ease, transform .6s ease;
  transform:translateY(0);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:1;
}
@media (max-width: 768px){
  .hero{ height:520px; }
}

/* === Top nav separators (added) === */
.site-header .navigation > ul > li{
  position: relative;
  padding: 0 18px; /* keep spacing while adding separator */
}
.site-header .navigation > ul > li:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #cfd6df; /* light gray line */
  opacity: 0.9;
}
/* Prevent separators inside dropdowns */
.site-header .navigation > ul > li > ul.dropdown li::after{ content:none !important; }
/* Mobile: stack menu without separators */
@media (max-width: 768px){
  .site-header .navigation > ul > li{ padding: 8px 0; }
  .site-header .navigation > ul > li::after{ display: none; }
}


/* ===== 정책자금(Policy) 섹션 내비 & 본문 ===== */
.pf-subnav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eef2f6}
.pf-subnav .container{display:flex;gap:16px;padding:12px 16px;overflow:auto}
.pf-subnav a{color:#1a4fb7;font-weight:700;padding:8px 12px;border-radius:10px;white-space:nowrap;text-decoration:none}
.pf-subnav a.active{background:#e8f0ff;color:#0a43a6}

.pf-section{padding:56px 0}
.pf-title{font-size:28px;font-weight:800;color:#0A4AA6;margin:0 0 14px}
.pf-subtitle{margin:18px 0 10px;font-weight:800;color:#223}
.pf-p{color:#39424e;line-height:1.9;font-size:17px;margin:10px 0}
.pf-hl{font-weight:700}
.pf-red{color:#d32f2f}.pf-blue{color:#1a73e8}.pf-green{color:#2e7d32}

.pf-bullets{list-style:none;margin:8px 0;padding:0;display:grid;gap:10px}
.pf-bullets li{padding:12px 14px;border:1px solid #eef2f6;border-radius:12px;background:#fff;color:#3b4350}
.pf-compare{list-style:none;margin:8px 0;padding:0;display:grid;gap:10px}
.pf-compare li{padding:12px 14px;background:#f7f9fc;border-radius:12px;color:#2a3441}

.pf-cta{background:#f7f9fc;padding:48px 0;text-align:center;border-top:1px solid #eef2f6}
.pf-cta h3{margin:0 0 12px;color:#102a56}

@media (max-width:992px){ .pf-section{padding:44px 0} .pf-title{font-size:24px} }
@media (max-width:640px){
  .pf-section{padding:36px 0}
  .pf-title{font-size:22px}
  .pf-p{font-size:15.5px}
  .pf-subnav .container{gap:12px}
}



/* ---- Sub banner (1/3 hero height) ---- */
.sub-banner{ width:100%; height:calc(800px / 3); background:#f2f5f9 url('images/sub-banner.jpg') center/cover no-repeat; }

/* Sticky header + subnav (both fixed on scroll) */
:root{ --header-h: 72px; }
.site-header{ position: sticky; top:0; z-index: 100; }
.pf-subnav{ position: sticky; top: var(--header-h); z-index: 90; background:#fff; border-bottom:1px solid #eef2f6; }
.pf-subnav .container{ display:flex; gap:16px; padding:12px 16px; overflow:auto; }
.pf-subnav a{ color:#1a4fb7; font-weight:700; padding:8px 12px; border-radius:10px; white-space:nowrap; text-decoration:none; }
.pf-subnav a.active{ background:#e8f0ff; color:#0a43a6; }

/* Section styles + separators */
.pf-wrap{ padding:56px 0; }
.pf-title{ font-size:28px; font-weight:800; color:#0A4AA6; margin:0 0 14px; position:relative; padding-left:12px; }
.pf-title::before{ content:""; position:absolute; left:0; top:4px; bottom:4px; width:6px; background:#d4b432; border-radius:3px; }
.pf-desc{ color:#39424e; line-height:1.9; font-size:17px; margin:10px 0; }
.pf-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:14px; }
.pf-card{ background:#fff; border:1px solid #e8edf3; border-radius:16px; padding:18px; box-shadow:0 6px 18px rgba(0,0,0,.04); }
.pf-card h3{ margin:0 0 6px; font-size:18px; color:#1f2937; }
.pf-card p{ margin:0; color:#586172; }

/* Bullets with separators */
.pf-list{ list-style:none; margin:12px 0; padding:0; }
.pf-list li{ display:flex; gap:10px; align-items:flex-start; padding:12px 2px; color:#3b4350; }
.pf-list.pf-sep li + li{ border-top:1px solid #e8edf3; } /* 구분선 추가 */
.pf-dot{ flex:0 0 18px; width:18px; height:18px; border-radius:50%; background:#d4b432; position:relative; margin-top:3px; }
.pf-dot::after{ content:""; position:absolute; left:5px; top:3px; width:6px; height:10px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(45deg); }

/* Rows (label/value) with separators */
.pf-rows{ display:block; margin:10px 0; border:1px solid #e8edf3; border-radius:12px; overflow:hidden; }
.pf-row{ display:grid; grid-template-columns:160px 1fr; }
.pf-row + .pf-row{ border-top:1px solid #e8edf3; } /* 줄 긋기 */
.pf-label{ background:#f8fafc; padding:12px 14px; font-weight:700; color:#273142; }
.pf-val{ background:#fff; padding:12px 14px; color:#3b4350; }

@media (max-width: 980px){
  .pf-grid{ grid-template-columns:1fr 1fr; }
  .pf-row{ grid-template-columns:140px 1fr; }
}
@media (max-width: 640px){
  :root{ --header-h: 64px; }
  .pf-wrap{ padding:40px 0; }
  .pf-title{ font-size:22px; }
  .pf-desc{ font-size:15.5px; }
  .pf-grid{ grid-template-columns:1fr; }
  .pf-row{ grid-template-columns:1fr; }
  .pf-label{ border-bottom:1px solid #e8edf3; }
}


/* === Section separators for policy fund page === */
.pf-section + .pf-section{
  border-top:1px solid #e8edf3;
  margin-top:36px;
  padding-top:36px;
}
@media (max-width:640px){
  .pf-section + .pf-section{ margin-top:24px; padding-top:24px; }
}



/* Anchor offset so headings align perfectly under sticky header+subnav */
:root{ --header-h: 72px; --subnav-h: 56px; }
.pf-title{ scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 12px); }



/* === 운전자금 상세 표 (accent #d4b432) === */
:root{ --pf-accent:#d4b432; --pf-line:#e6ebf2; }

.pf-driver{ margin-top: 28px; }
.pf-driver-title{
  margin: 0 0 16px; padding-top: 8px;
  font-size: 24px; font-weight: 800; color:#1e2a39; position:relative;
}
.pf-driver-title span{
  padding-left:14px; position:relative;
}
.pf-driver-title span::before{
  content:""; position:absolute; left:0; top:4px; bottom:4px; width:6px;
  background: var(--pf-accent); border-radius:3px;
}

.pf-box{ position:relative; margin:22px 0 36px; }
.pf-chip{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:8px;
  background:rgba(212,180,50,.15); color:var(--pf-accent); font-weight:800;
  box-shadow:0 4px 10px rgba(212,180,50,.15);
}
.pf-box-title{ display:inline-block; margin:0 0 10px 10px; font-size:20px; font-weight:800; color:#1f2937; }

.pf-vline{ position:relative; margin:6px 0 10px 12px; padding-left:16px; color:#2b3443; font-weight:700; }
.pf-vline::before{ content:""; position:absolute; left:0; top:2px; bottom:2px; width:4px; border-radius:2px; background:var(--pf-accent); }

.pf-table2{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border-radius:8px; overflow:hidden; }
.pf-table2 th, .pf-table2 td{ padding:12px 14px; border:1px solid var(--pf-line); }
.pf-table2 th{ width:180px; background:rgba(212,180,50,.08); color:#273142; font-weight:800; text-align:left; }
.pf-table2 tr:first-child th, .pf-table2 tr:first-child td{ border-top-left-radius:8px; border-top-right-radius:8px; }
.pf-table2 tr:last-child th, .pf-table2 tr:last-child td{ border-bottom-left-radius:8px; border-bottom-right-radius:8px; }

@media (max-width:640px){
  .pf-driver-title{ font-size:20px; }
  .pf-box-title{ font-size:18px; }
  .pf-table2 th{ width:34%; }
}



/* ensure accent color for startup tables */
:root{ --pf-accent:#d4b432; }



/* === Unified section mini-headers (number + title in one box) === */
:root{ --pf-accent:#d4b432; --pf-line:#e6ebf2; }

.pf-head{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(212,180,50,.12);
  border:1px solid rgba(212,180,50,.35);
  padding:8px 12px; border-radius:12px;
  font-weight:800; color:#1f2937;
  margin: 2px 0 10px 0;
}
.pf-head .num{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:28px; height:28px; padding:0 8px;
  background: var(--pf-accent); color:#000;
  border-radius:8px; font-weight:900; font-size:14px;
}
.pf-head .text{ font-size:18px; letter-spacing:-0.2px; }

/* remove old margin left from previous vline alignment if any */
.pf-vline{ margin-left: 0.5rem; }



/* === Responsive grid for policy lists/cards === */
.pf-bullets{ display:grid; gap:16px; grid-template-columns:repeat(3,1fr); }
@media (max-width:1024px){ .pf-bullets{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .pf-bullets{ grid-template-columns:1fr; } }

/* === Mobile hamburger & drawer === */
.menu-toggle{ display:none; margin-left:auto; width:40px; height:40px; border:none; background:transparent; position:relative; }
.menu-toggle span{ position:absolute; left:8px; right:8px; height:2.5px; background:#fff; transition:transform .25s, opacity .2s, top .25s; }
.menu-toggle span:nth-child(1){ top:12px; }
.menu-toggle span:nth-child(2){ top:19px; }
.menu-toggle span:nth-child(3){ top:26px; }
.nav-open .menu-toggle span:nth-child(1){ top:15px; transform:rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2){ opacity:0; }
.nav-open .menu-toggle span:nth-child(3){ top:15px; transform:rotate(-45deg); }

.mobile-nav{ position:fixed; top:var(--header-h,72px); right:-100%; width:78%; max-width:360px; bottom:0; background:transparent; box-shadow:none; padding:18px; transition:right .25s; z-index:95; border-radius:0 0 8px 8px; }
.mobile-nav ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.mobile-nav a{ display:block; padding:14px 12px; border:1px solid #eef2f6; border-radius:12px; text-decoration:none; color:#102a56; font-weight:700; }
.nav-open .mobile-nav{ right:0; }
@media (max-width: 992px){ .navigation{ display:none; } .menu-toggle{ display:inline-block; } }

/* === Foldable (dual-screen) support === */
@media (spanning: single-fold-vertical){
  .pf-wrap .container{
    display:grid;
    grid-template-columns: calc(env(viewport-segment-width 0 0)) calc(env(viewport-segment-width 1 0));
    grid-auto-rows: auto;
    gap: 24px;
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
  }
  .pf-bullets{ grid-template-columns: 1fr; }
  .pf-rows{ grid-template-columns: 1fr; }
}
@media (spanning: single-fold-horizontal){
  .pf-wrap .container{
    display:grid;
    grid-template-rows: calc(env(viewport-segment-height 0 0)) calc(env(viewport-segment-height 0 1));
    grid-auto-columns: 1fr;
    gap: 24px;
    row-gap: calc(env(viewport-segment-top 0 1) - env(viewport-segment-bottom 0 0));
  }
  .pf-bullets{ grid-template-columns: 1fr; }
  .pf-rows{ grid-template-columns: 1fr; }
}


/* === Mobile logo resize === */
@media (max-width: 640px){
  .site-header .logo img{
    max-height: 56px; /* bigger height */
    height: auto;
    width: auto;
  }
}


/* === Floating consult box === */
.consult-floating{
  position:fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 300px;
  background: rgba(20,22,28,0.84);
  color:#fff;
  border-radius:14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 120;
  backdrop-filter: blur(4px);
  overflow:hidden;
}
.consult-floating .cf-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; background: rgba(0,0,0,0.2);
}
.consult-floating .cf-title{ font-weight:800; }
.consult-floating .cf-close{ background:transparent; border:0; color:#fff; font-size:18px; line-height:1; cursor:pointer; }
.consult-floating .cf-form{ display:grid; gap:8px; padding:12px; }
.consult-floating input[type="text"],
.consult-floating input[type="tel"]{
  width:100%; border:1px solid #3a4250; border-radius:10px; padding:10px 12px; background:#11161f; color:#fff;
}
.consult-floating .cf-consent{ font-size:12px; color:#d7dde8; display:flex; gap:6px; align-items:flex-start; }
.consult-floating .btn{ width:100%; }

/* Hide on desktop if you want only on mobile & tablet */
@media(min-width:1280px){
  .consult-floating{ right:24px; bottom:24px; }
}

/* Optional: move up if floating chat widget overlaps */
@media(max-width:640px){
  .consult-floating{ width: 84vw; right: 8vw; left: auto; }
}

/* sr-only helper */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }


/* === Compact floating consult box (bottom-right) === */
.consult-floating{
  width: 260px;
  padding: 0;
  background: rgba(20,22,28,0.92);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.consult-floating .cf-header{ padding:8px 10px; }
.consult-floating .cf-title{ font-size:14px; }
.consult-floating .cf-close{ font-size:16px; }
.consult-floating .cf-form{ gap:6px; padding:10px; }
.consult-floating input[type="text"],
.consult-floating input[type="tel"]{
  height:36px; padding:8px 10px; font-size:13px; border-radius:8px;
}
.consult-floating .cf-consent{ font-size:12px; }
.consult-floating .btn{ height:38px; font-size:14px; border-radius:9px; }

@media(max-width:640px){
  .consult-floating{ width: 74vw; right: max(16px, env(safe-area-inset-right, 0px)); }
}


/* === Overlap fixes & mobile-only === */
/* Hide the original hero CTA button on small screens to avoid duplication over the floating panel */
@media (max-width: 992px){
  .hero-cta-box,
  .hero .btn.primary-btn,
  .btn.primary-btn.btn-2line{
    display: none !important;
  }
}

/* Make sure floating Kakao/chat widgets don't overlap: move our panel slightly left/up if needed */
.consult-floating{
  z-index: 9999;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
}

/* If there is any generic .floating button, hide it on small screens */
@media (max-width: 992px){
  .floating,
  .quick-contact,
  .cta-floating{ display:none !important; }
}


/* === Floating KakaoTalk button only === */
.kakao-floating{
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 9999;
}
.kakao-floating img{
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


/* === Fix: inline SVG button for KakaoTalk === */
.kakao-floating svg{ width:60px; height:60px; border-radius:50%; box-shadow:0 4px 10px rgba(0,0,0,.3); display:block; }


/* === PNG-based Kakao floating button === */
.kakao-floating{
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 9999;
}
.kakao-floating img{
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
@media (max-width: 640px){
  .kakao-floating img{ width: 56px; height: 56px; }
}


/* === Fix: keep original PNG edges perfectly round, no extra clipping === */
.kakao-floating{ filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.kakao-floating img{
  width:64px; height:64px;
  border-radius:0;            /* do not re-round: use the PNG as-is */
  box-shadow:none;            /* avoid clipping by the box */
  background:transparent;
  object-fit:contain;
  image-rendering:auto;
}
@media (max-width:640px){
  .kakao-floating img{ width:56px; height:56px; }
}


/* === 1.5x size increase for KakaoTalk button === */
.kakao-floating img{
  width:96px;
  height:96px;
}
@media (max-width:640px){
  .kakao-floating img{
    width:84px;
    height:84px;
  }
}


/* === Adjust position for PC screens: move KakaoTalk button slightly left/up === */
@media (min-width: 993px){
  .kakao-floating{
    bottom: 40px;  /* was 20px */
    right: 40px;   /* was 20px */
  }
}


/* Floating call icon above KakaoTalk icon */
.call-floating{
  position:fixed;
  bottom: 150px; /* place above Kakao icon */
  right: 20px;
  z-index:999;
  display:block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.3));
}
.call-floating img{
  width:96px; height:96px;
  border-radius:0;
  background:transparent;
  object-fit:contain;
}
@media (max-width:640px){
  .call-floating{
    bottom: 130px;
    right: 20px;
  }
  .call-floating img{
    width:84px; height:84px;
  }
}
@media (min-width: 993px){
  .call-floating{
    bottom: 170px; /* shift with PC Kakao button position */
    right: 40px;
  }
}


/* === Smaller size for both floating buttons on mobile === */
@media (max-width:640px){
  .kakao-floating img{
    width:70px;
    height:70px;
  }
  .call-floating img{
    width:70px;
    height:70px;
  }
}


/* === Adjust call button position for mobile to reduce gap === */
@media (max-width:640px){
  .call-floating{
    bottom: 110px !important; /* was 130px */
  }
}

/* === Facility table unify with driver table style === */
:root { --pf-accent:#d4b432; --pf-line:#e9edf3; }

.pf-subtitle{
  font-size: 1.125rem; font-weight: 800; margin: 12px 0 10px 0;
  color:#1f2937; letter-spacing:-0.2px;
}

.pf-table{
  width:100%; border-radius:14px; overflow:hidden;
  border:1px solid var(--pf-line); background:#fff;
}
.pf-tr{ display:flex; border-top:1px solid var(--pf-line); }
.pf-tr:first-child{ border-top:0; }
.pf-td{
  flex:1 1 auto; padding:18px 20px; line-height:1.6;
  font-size:16px; color:#1f2937;
}
.pf-headrow{ background: var(--pf-accent); color:#fff; font-weight:800; }
.pf-headrow .pf-td{ color:#fff; }

.pf-colw{
  flex:0 0 240px; max-width:240px; min-width:200px;
  font-weight:800; color:#111827;
  background: rgba(212,180,50,.08);
}

.pf-facility-terms .pf-table{ margin-top: 10px; }

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-header { height: var(--header-h); padding: 0; }

  .site-header .container.header-wrapper {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* 로고: 크기 약간 축소 + 살짝만 위로(= 기존 -4px → -2px로 완화) */
  .site-header .logo img {
    height: auto;
    max-height: 46px;
    transform: translateY(-2px);
  }

  /* 메뉴 토글도 동일하게 살짝만 위로 */
  .site-header .menu-toggle {
    margin-top: -2px;
  }

  .pf-subnav { top: var(--header-h); }
}



/* === PC-only vs Mobile-only hero content === */
.pc-only { display: none; }
.mobile-only { display: block; }
@media (min-width: 993px){
  .pc-only { display: block; }
  .mobile-only { display: none; }
  .hero{ min-height: 72vh; margin-bottom: 56px; }
}

/* === Hero slides (PC) text styling === */
.hero .pc-only .hero-slide{ display:none; }
.hero .pc-only .hero-slide.active{ display:block; }
.hero .pc-only .headline{ font-size:2.6rem; font-weight:700; margin-bottom:1rem; }
.hero .pc-only .main-msg{ font-size:2.3rem; font-weight:800; line-height:1.4; margin-bottom:1rem; }
.hero .pc-only .mid-msg{ font-size:1.45rem; margin-bottom:1rem; }
.hero .pc-only .cta-msg{ font-size:1.35rem; font-weight:700; }

.white{ color:#fff; }
.red{ color:#d32f2f; }
.highlight{ color: #e0c551; } /* CTA/orange */
.dark{ color:#111; }


/* === PC-only: unify hero main & mid text sizes === */
@media (min-width: 992px){
  .hero .pc-only .hero-slide .main-msg,
  .hero .pc-only .hero-slide .mid-msg{
    font-size: 1.3rem !important;
    line-height: 1.55 !important;
  }
}



/* === PC 전용: Hero 슬라이드 1,2 문구 개별 사이즈 === */
@media (min-width: 992px){
  /* --- 슬라이드 1 --- */
  .hero-content.pc-only .slide-1 .headline { font-size: 32px; }
  .hero-content.pc-only .slide-1 .main-msg { font-size: 28px; }
  .hero-content.pc-only .slide-1 .mid-msg { font-size: 24px; }
  .hero-content.pc-only .slide-1 .cta-msg { font-size: 26px; }

  /* --- 슬라이드 2 --- */
  .hero-content.pc-only .slide-2 .headline { font-size: 30px; }
  .hero-content.pc-only .slide-2 .main-msg { font-size: 26px; }
  .hero-content.pc-only .slide-2 .mid-msg { font-size: 22px; }
  .hero-content.pc-only .slide-2 .cta-msg { font-size: 24px; }
}
