/* ========================================
   원바로기프트 - 카드깡 전문 업체
   메인 스타일시트
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #1a3cde;
  --primary-dark: #1230b8;
  --primary-light: #4a6fee;
  --secondary: #ff6b00;
  --secondary-dark: #e05500;
  --accent: #ffae00;
  --dark: #0f1723;
  --dark-2: #1e2a3a;
  --gray-1: #2d3748;
  --gray-2: #4a5568;
  --gray-3: #718096;
  --gray-4: #a0aec0;
  --gray-5: #e2e8f0;
  --gray-6: #f7fafc;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.22);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.25s ease;
  --font: 'Noto Sans KR', sans-serif;
  --nav-height: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--gray-1);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-tag {
  display: inline-block;
  background: rgba(26, 60, 222, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-header p {
  color: var(--gray-3);
  font-size: 1rem;
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }
.section-header.light .section-tag {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.highlight { color: var(--primary); }

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  white-space: nowrap;
  animation: floatPulse 2s ease-in-out infinite;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-xl);
}

.float-sms {
  background: #25d366;
  color: var(--white);
}

.float-tel {
  background: var(--secondary);
  color: var(--white);
}

.float-btn i {
  font-size: 1.1rem;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
  50% { box-shadow: 0 8px 32px rgba(26,60,222,0.35); }
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-5);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.main-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
}

.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu li a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-2);
  transition: var(--transition);
}

.nav-menu li a:hover {
  background: var(--gray-6);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 30px !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--dark);
  padding: 8px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #1a3cde22 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,60,222,0.18) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(255,107,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero animated bg shapes */
.hero-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,60,222,0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(26,60,222,0.25);
  border: 1px solid rgba(26,60,222,0.4);
  color: #8fb4ff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-sms {
  background: #25d366;
  color: var(--white);
}

.btn-sms:hover {
  background: #1aad52;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-tel {
  background: var(--secondary);
  color: var(--white);
}

.btn-tel:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,0,0.35);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,60,222,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
  background: var(--primary);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
}

.trust-item i {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-item div {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: 90px 0;
  background: var(--gray-6);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray-3);
  line-height: 1.7;
  margin-bottom: 18px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-2);
}

.check-list li i {
  color: var(--success);
  font-size: 0.85rem;
}

.step-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray-2);
}

.step-list li span {
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fee-visual {
  margin-top: 16px;
}

.fee-bar {
  height: 32px;
  background: var(--gray-5);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.fee-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 700;
}

.fee-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-3);
}

/* ========================================
   FEE TABLE SECTION
   ======================================== */
.fee-section {
  padding: 90px 0;
  background: var(--white);
}

.fee-table-wrap {
  overflow-x: auto;
  margin-bottom: 40px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 16px 0;
  font-size: 0.85rem;
  color: var(--gray-3);
}

.fee-table thead tr {
  background: var(--primary);
  color: var(--white);
}

.fee-table th {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.fee-table td {
  padding: 15px 20px;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-5);
  color: var(--gray-2);
}

.fee-table tbody tr:hover { background: var(--gray-6); }
.fee-table tbody tr:last-child td { border-bottom: none; }

.fee-rate {
  font-weight: 700;
  color: var(--primary) !important;
}

.fee-rate.best {
  color: var(--secondary) !important;
  background: rgba(255,107,0,0.08);
  border-radius: 6px;
}

.fee-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(26,60,222,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--gray-2);
}

.fee-notice i { color: var(--primary); margin-top: 2px; }

.card-brands h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.brand-item {
  padding: 8px 18px;
  background: var(--gray-6);
  border: 1px solid var(--gray-5);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-2);
  transition: var(--transition);
}

.brand-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */
.advantages-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.adv-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  border-color: rgba(26,60,222,0.5);
}

.adv-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(26,60,222,0.4), rgba(26,60,222,0.2));
  border: 1px solid rgba(26,60,222,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.adv-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.adv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.adv-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.whyus-section {
  padding: 90px 0;
  background: var(--gray-6);
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.whyus-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.whyus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.whyus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.whyus-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-5);
  line-height: 1;
  margin-bottom: 12px;
}

.whyus-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.whyus-card p {
  font-size: 0.9rem;
  color: var(--gray-3);
  line-height: 1.7;
}

/* ========================================
   CAUTION SECTION
   ======================================== */
.caution-section {
  padding: 90px 0;
  background: var(--white);
}

.caution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.caution-card {
  background: var(--white);
  border: 2px solid var(--gray-5);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.caution-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.caution-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 30px;
  white-space: nowrap;
}

.caution-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 20px;
}

.caution-icon i {
  font-size: 1.6rem;
  color: var(--white);
}

.caution-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.caution-card p {
  font-size: 0.88rem;
  color: var(--gray-3);
  line-height: 1.7;
}

/* ========================================
   POSTS SECTION
   ======================================== */
.posts-section {
  padding: 90px 0;
  background: var(--gray-6);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-thumb-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #1a3cde22, #4a6fee44);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.post-body {
  padding: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-category {
  background: rgba(26,60,222,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 30px;
}

.post-date {
  font-size: 0.78rem;
  color: var(--gray-4);
}

.post-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  font-size: 0.85rem;
  color: var(--gray-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.post-read-more:hover {
  color: var(--primary-dark);
  gap: 8px;
}

.posts-loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px;
  color: var(--gray-4);
  font-size: 1rem;
}

.posts-more-wrap {
  text-align: center;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 90px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: var(--white);
  transition: var(--transition);
  gap: 12px;
}

.faq-question:hover {
  background: var(--gray-6);
  color: var(--primary);
}

.faq-item.open .faq-question {
  background: rgba(26,60,222,0.05);
  color: var(--primary);
}

.faq-question i {
  font-size: 0.85rem;
  color: var(--gray-4);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::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.04'%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");
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 280px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
}

.cta-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: translateX(6px);
}

.cta-sms { background: rgba(37,211,102,0.25); }
.cta-tel { background: rgba(255,107,0,0.25); }

.cta-btn i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cta-btn div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.cta-btn strong { font-size: 1.05rem; }
.cta-btn span { font-size: 0.8rem; opacity: 0.8; font-weight: 400; }

/* ========================================
   INFO SECTION
   ======================================== */
.info-section {
  padding: 90px 0;
  background: var(--gray-6);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--gray-5);
  background: linear-gradient(135deg, rgba(26,60,222,0.04), rgba(26,60,222,0.02));
}

.info-card-header i {
  font-size: 1.3rem;
  color: var(--primary);
}

.info-card-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.info-card > div {
  padding: 20px 24px 24px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--gray-3);
  margin-bottom: 14px;
  line-height: 1.6;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.info-table th {
  background: var(--primary);
  color: var(--white);
  padding: 8px 10px;
  text-align: center;
  font-weight: 600;
}

.info-table td {
  padding: 7px 10px;
  text-align: center;
  border-bottom: 1px solid var(--gray-5);
  color: var(--gray-2);
}

.info-table tr:last-child td { border-bottom: none; }
.info-table tbody tr:nth-child(even) { background: var(--gray-6); }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-2);
  line-height: 1.5;
}

.info-list li i {
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

.info-list.warning li i { color: var(--danger); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-nav nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav nav ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-nav nav ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tel, .footer-sms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.footer-tel:hover { color: var(--accent); }
.footer-sms { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.footer-sms:hover { color: #25d366; }

.footer-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-disclaimer {
  font-size: 0.76rem !important;
  margin-top: 4px;
}

/* ========================================
   BOARD PAGE
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: calc(var(--nav-height) + 50px) 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.board-section {
  padding: 60px 0 90px;
  background: var(--gray-6);
  min-height: 80vh;
}

.board-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.board-search {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 400px;
}

.board-search input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gray-5);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.board-search input:focus { border-color: var(--primary); }

.board-search button {
  padding: 10px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.9rem;
}

.board-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--gray-5);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-2);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.board-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px;
  color: var(--gray-4);
}

.board-empty i { font-size: 3rem; margin-bottom: 16px; display: block; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-5);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--gray-2);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* BOARD SINGLE / DETAIL */
.board-detail-section {
  padding: 60px 0 90px;
  background: var(--gray-6);
  min-height: 80vh;
}

.post-detail-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.post-detail-thumbnail {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.post-detail-body {
  padding: 40px;
}

.post-detail-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.post-detail-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.post-detail-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray-2);
}

.post-detail-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}

.post-detail-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 22px 0 10px;
}

.post-detail-content p { margin-bottom: 14px; }
.post-detail-content ul, .post-detail-content ol {
  margin: 12px 0 16px 20px;
}
.post-detail-content ul li { list-style: disc; }
.post-detail-content ol li { list-style: decimal; }
.post-detail-content li { margin-bottom: 6px; }

.post-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.post-detail-content th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 600;
}

.post-detail-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--gray-5);
  color: var(--gray-2);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-5);
  gap: 16px;
}

/* ========================================
   ADMIN PAGE
   ======================================== */
.admin-section {
  padding: calc(var(--nav-height) + 40px) 0 90px;
  background: var(--gray-6);
  min-height: 100vh;
}

.admin-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.admin-card-header {
  padding: 28px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.admin-card-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-card-header p {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-top: 4px;
}

.admin-form {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-2);
}

.form-group label span {
  color: var(--danger);
}

.form-control {
  padding: 11px 16px;
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,222,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 300px;
  line-height: 1.7;
  font-family: var(--font);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--gray-5);
}

.thumbnail-preview {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 200px;
}

.thumbnail-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.admin-posts-list {
  padding: 0 36px 36px;
}

.admin-posts-list h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-5);
}

.admin-post-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-5);
}

.admin-post-item:last-child { border-bottom: none; }

.admin-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-post-info {
  flex: 1;
  min-width: 0;
}

.admin-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-post-meta {
  font-size: 0.78rem;
  color: var(--gray-4);
  margin-top: 3px;
}

.admin-post-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-edit {
  padding: 6px 14px;
  background: rgba(26,60,222,0.1);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-delete {
  padding: 6px 14px;
  background: rgba(220,53,69,0.1);
  color: var(--danger);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-delete:hover { background: var(--danger); color: var(--white); }

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.login-modal h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}

.login-modal p {
  font-size: 0.88rem;
  color: var(--gray-3);
  margin-bottom: 28px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9000;
  padding: 14px 24px;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-5);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 899;
  }

  .nav-menu.open { transform: translateY(0); }

  .nav-menu li a {
    display: block;
    padding: 12px 16px;
  }

  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.4rem; }

  .about-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .caution-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .cta-inner { flex-direction: column; }
  .cta-buttons { min-width: unset; width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }
  .admin-form { padding: 24px; }
  .admin-posts-list { padding: 0 24px 24px; }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
    flex-direction: column;
    gap: 8px;
  }

  .float-btn span { display: none; }
  .float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .board-controls { flex-direction: column; align-items: stretch; }
  .board-search { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .post-detail-body { padding: 24px; }
}
