/* ==============================
   일조기프트 카드깡업체 랜딩페이지
   메인 스타일시트
   ============================== */

/* ── 변수 ── */
:root {
  --primary: #1a4fd6;
  --primary-dark: #1240b8;
  --primary-light: #3d6fe8;
  --secondary: #f5a623;
  --secondary-dark: #e09200;
  --accent: #e74c3c;
  --dark: #0f1c3a;
  --dark-2: #1e2e55;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --font: 'Noto Sans KR', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 64px;
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; }

/* ── 유틸 ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.anchor-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.anchor-link:hover { color: var(--primary-dark); }
.anchor-link-white { color: var(--white) !important; opacity: 0.9; }
.anchor-link-white:hover { opacity: 1; }

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 79, 214, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 79, 214, 0.5);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
}
.logo-icon { font-size: 1.4rem; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-contact .header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(26,79,214,0.3);
  transition: var(--transition);
}
.header-contact .header-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,79,214,0.4);
}
.header-contact .header-phone i { animation: ring 2s infinite; }
@keyframes ring {
  0%,100% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-10deg); }
  40% { transform: rotate(0deg); }
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px;
}
.mobile-nav ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mobile-nav ul li a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
}
.mobile-nav ul li a:hover {
  background: var(--primary);
  color: var(--white);
}
.mobile-nav.open { display: block; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--header-h) + 40px) 20px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, var(--primary-dark) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.2);
  border: 1px solid rgba(245,166,35,0.5);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, var(--white) 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-subtitle strong { color: var(--secondary); }
.hero-subtitle em { font-style: normal; text-decoration: underline; text-underline-offset: 4px; }
.hero-phone-wrap {
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 20px 36px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.hero-phone-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
  transform: scale(1.03);
}
.hero-phone-btn i {
  font-size: 1.8rem;
  color: var(--secondary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.hero-phone-btn small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  text-align: left;
}
.hero-phone-btn strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-item strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.stat-item span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ── 애니메이션 ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 20px 0;
  overflow: hidden;
}
.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1rem; color: var(--secondary); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img:hover { transform: scale(1.03); }
.about-content h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 16px;
}
.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
}
.about-list {
  margin-bottom: 28px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}
.about-list li:last-child { border-bottom: none; }
.about-list li i { color: var(--primary); font-size: 1rem; }

/* ============================================
   CARD NEWS SECTION
   ============================================ */
.news-section { background: var(--gray-100); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.news-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.badge-gold { background: linear-gradient(135deg, #f5a623, #e09200); }
.badge-purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.badge-dark { background: linear-gradient(135deg, #1e2e55, #0f1c3a); }
.badge-green { background: linear-gradient(135deg, #059669, #047857); }
.news-body {
  padding: 20px;
}
.news-body h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.news-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.service-card ul li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   REVIEW SECTION
   ============================================ */
.review-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); }
.review-section .section-header h2,
.review-section .section-desc { color: var(--white); }
.review-section .section-desc { opacity: 0.8; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.review-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.review-stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.review-text strong { color: var(--secondary); }
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.review-date {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.counselors-wrap {
  text-align: center;
}
.counselors-wrap h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 32px;
}
.counselors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.counselor-item {
  text-align: center;
}
.counselor-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  margin-bottom: 10px;
}
.counselor-item:hover img {
  border-color: var(--secondary);
  transform: scale(1.03);
}
.counselor-item figcaption {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { background: var(--gray-100); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-lg); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question h4 {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
}
.faq-icon {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] {
  background: var(--primary);
}
.faq-question[aria-expanded="true"] h4 {
  color: var(--white);
}
.faq-question[aria-expanded="true"] .faq-icon {
  color: var(--white);
}
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--gray-200);
}
.faq-answer p {
  padding-top: 16px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section { background: var(--white); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.step:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step:hover .step-num,
.step:hover .step-content h3,
.step:hover .step-content p { color: var(--white); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--gray-400);
  font-size: 1.2rem;
  padding-top: 40px;
  flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info .section-tag {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin: 16px 0;
}
.contact-info > p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1rem;
}
.contact-phone-big {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.contact-phone-big i {
  font-size: 1.8rem;
  color: var(--secondary);
  animation: pulse 2s infinite;
}
.contact-phone-big a {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
}
.contact-phone-big a:hover { color: var(--secondary); }
.contact-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.contact-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.contact-features li i { color: var(--secondary); }
.contact-card-news {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.contact-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.contact-img:hover { transform: scale(1.03); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 8px;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--secondary); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-contact p i { color: var(--secondary); font-size: 0.85rem; }
.footer-contact p a { color: rgba(255,255,255,0.7); }
.footer-contact p a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-disclaimer a { color: var(--secondary); }
.footer-disclaimer a:hover { text-decoration: underline; }

/* ============================================
   FLOATING CTA (모바일 고정)
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.floating-call {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.floating-call:hover { background: var(--primary-dark); }
.floating-sms {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
}
.floating-sms:hover { background: var(--secondary-dark); }
.floating-btn i { font-size: 1.3rem; }

/* ============================================
   스크롤 상단 버튼
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 899;
  background: var(--primary);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
.scroll-top-btn[hidden] { display: none; }

/* ============================================
   하단 여백 (플로팅 버튼 고려)
   ============================================ */
.site-footer { padding-bottom: 80px; }

/* ============================================
   반응형 - 태블릿 (1024px 이하)
   ============================================ */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .counselors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   반응형 - 모바일 (768px 이하)
   ============================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 60px 0; }

  /* 헤더 */
  .header-contact .header-phone span { display: none; }
  .header-contact .header-phone { padding: 10px 14px; }
  .mobile-menu-btn { display: flex; }

  /* 히어로 */
  .hero { padding: calc(var(--header-h) + 24px) 20px 100px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-phone-btn { padding: 16px 24px; }
  .hero-phone-btn strong { font-size: 1.3rem; }

  /* Trust bar */
  .trust-items { gap: 0; }
  .trust-item { padding: 8px 14px; font-size: 0.8rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Card news */
  .news-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .counselors-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process */
  .process-steps { flex-direction: column; align-items: center; gap: 16px; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .step { max-width: 100%; width: 100%; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .contact-card-news { display: none; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: unset; }
}

/* ============================================
   반응형 - 소형 모바일 (480px 이하)
   ============================================ */
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px 14px; }
  .stat-item strong { font-size: 1.3rem; }
  .trust-item { font-size: 0.75rem; padding: 8px 10px; }
  .section-header { margin-bottom: 40px; }
  .news-img-wrap { aspect-ratio: 4/3; }
  .counselors-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-phone-big a { font-size: 1.4rem; }
}

/* ============================================
   접근성 & 포커스 스타일
   ============================================ */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   인터섹션 옵저버 애니메이션
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
