/* ==========================================================================
   BN Publishing House — Core Stylesheet
   Brand: Primary #4858CC | Secondary #00047E | Text #666666
   ========================================================================== */

:root {
  --primary: #4858CC;
  --primary-light: #6C7AE0;
  --secondary: #00047E;
  --text: #666666;
  --dark: #100F2C;
  --heading: #0E1033;
  --white: #FFFFFF;
  --light-bg: #F6F7FD;
  --light-bg-2: #EEF0FF;
  --border-color: #E6E8F5;

  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-primary-rev: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(72,88,204,0.08) 0%, rgba(0,4,126,0.08) 100%);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 16px rgba(16, 15, 44, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 15, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 15, 44, 0.14);
  --shadow-glow: 0 16px 40px rgba(72, 88, 204, 0.28);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  --container-w: 1240px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }
.section-pad { padding: 50px 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--light-bg-2);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: inline-block;
}
.section-head { max-width: 680px; margin: 0 0 60px; }
.section-head.center { margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; letter-spacing: -0.5px; }
.section-head p { font-size: 17px; color: var(--text); }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 17px 34px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(72,88,204,0.38); }
.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--light-bg-2); transform: translateY(-4px); }
.btn-white { background: var(--white); color: var(--secondary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--light-bg-2);
  color: var(--primary);
  transition: var(--transition);
}
.btn-icon-circle:hover { background: var(--gradient-primary); color: var(--white); transform: scale(1.08); }

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-dark {
  background: rgba(16, 15, 44, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__ring {
  width: 56px; height: 56px;
  border: 4px solid var(--light-bg-2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(16,15,44,0.08);
}
.site-header .container { max-width: 1360px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.logo .logo-dark { display: none; }
.logo .logo-light { display: block; }
.site-header.is-scrolled .logo .logo-dark { display: block; }
.site-header.is-scrolled .logo .logo-light { display: none; }

.nav-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); flex-wrap: nowrap; }
.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 6px 1px;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gradient-primary);
  transition: width 0.35s ease;
}
.nav-menu a:hover::after, .nav-menu a.is-active::after { width: 100%; }
.nav-menu a.is-active { color: #C9D1FF; }
.site-header.is-scrolled .nav-menu a { color: var(--heading); }
.site-header.is-scrolled .nav-menu a.is-active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-actions .btn-primary.desktop-only { padding: 14px 26px; font-size: 14px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.hamburger span { height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: var(--transition); }
.site-header.is-scrolled .hamburger span { background: var(--heading); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 86vw);
  background: var(--white);
  box-shadow: -20px 0 50px rgba(16,15,44,0.15);
  z-index: 1050;
  padding: 100px 36px 40px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--heading);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu .btn { margin-top: 30px; }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(16,15,44,0.45);
  z-index: 1040; opacity: 0; visibility: hidden; transition: var(--transition);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(16,15,44,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 1190; opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.contact-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.92);
  width: min(640px, 94vw); max-height: 88vh; overflow-y: auto;
  background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 48px 52px 40px; z-index: 1200; opacity: 0; visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.65,0,0.35,1), transform 0.4s cubic-bezier(0.65,0,0.35,1), visibility 0.4s;
  scrollbar-width: thin; scrollbar-color: var(--primary-light) transparent;
}
.contact-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.contact-modal::-webkit-scrollbar { width: 6px; }
.contact-modal::-webkit-scrollbar-track { background: transparent; }
.contact-modal::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
.contact-modal::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.contact-modal h3 { font-size: 26px; margin-bottom: 24px; padding-right: 30px; }
.modal-close {
  position: absolute; top: 20px; right: 20px; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--primary); border-radius: var(--radius-sm);
  color: var(--primary); font-size: 15px; line-height: 1; cursor: pointer; transition: var(--transition); z-index: 1;
}
.modal-close:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; }
.contact-modal .form-group { margin-bottom: 16px; }
.modal-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; cursor: pointer; }
.modal-checkbox input { width: 17px; height: 17px; min-width: 17px; margin-top: 2px; accent-color: var(--primary); }
.modal-checkbox span { font-size: 12.5px; line-height: 1.6; color: var(--text); }
.modal-checkbox a { color: var(--primary); text-decoration: underline; }
.contact-modal .form-success { padding: 30px 4px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--dark);
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,4,126,0.92) 0%, rgba(16,15,44,0.82) 55%, rgba(72,88,204,0.55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 50px; }
.hero-content .eyebrow { background: rgba(255,255,255,0.1); color: #C9D1FF; }
.hero-content .eyebrow::before { background: #fff; }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(38px, 5.2vw, 64px);
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-content p { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 540px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-meta { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta div { color: rgba(255,255,255,0.85); font-family: var(--font-heading); font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.hero-meta span { width: 8px; height: 8px; border-radius: 50%; background: #6C7AE0; display: inline-block; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; height: 520px; }
.hero-visual img { width: 100%; max-width: 480px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  animation: floatY 5s ease-in-out infinite;
}
.float-card .ic { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.float-card .lb { font-size: 12px; color: rgba(255,255,255,0.7); }
.float-card .num { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--white); }
.float-card--1 { top: 6%; left: -4%; animation-delay: 0s; }
.float-card--2 { bottom: 12%; right: -6%; animation-delay: 1.2s; }
.float-card--3 { top: 44%; right: -10%; animation-delay: 2.4s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.hero-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; z-index: 1; }
.hero-shape--1 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(108,122,224,0.4), transparent 70%); top: -80px; right: 10%; animation: floatY 8s ease-in-out infinite; }
.hero-shape--2 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(72,88,204,0.35), transparent 70%); bottom: 10%; left: 4%; animation: floatY 7s ease-in-out infinite reverse; }

.hero-dots { display: flex; gap: 10px; position: absolute; left: 24px; bottom: 28px; z-index: 3; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.3); transition: var(--transition); }
.hero-dots button.is-active { background: var(--white); width: 50px; }
.hero-arrows { position: absolute; right: 24px; bottom: 24px; z-index: 3; display: flex; gap: 10px; }
.hero-arrows button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 18px;
}
.hero-arrows button:hover { background: var(--white); color: var(--secondary); }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue .line { width: 1px; height: 36px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:50%; background:#fff; animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 190px 0 110px;
  background: var(--dark);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,4,126,0.94), rgba(72,88,204,0.75));
}
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(6px); }
.page-hero .blob--1 { width: 320px; height: 320px; background: rgba(108,122,224,0.35); top: -120px; right: 8%; }
.page-hero .blob--2 { width: 200px; height: 200px; background: rgba(255,255,255,0.08); bottom: -80px; left: 12%; }
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero .eyebrow { background: rgba(255,255,255,0.12); color: #D6DBFF; }
.page-hero .eyebrow::before { background: #fff; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; font-size: 17px; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.65); font-family: var(--font-heading); }
.breadcrumb a:hover { color: var(--white); }

/* ==========================================================================
   TRUST / STATS
   ========================================================================== */
.trust { padding: 90px 0; background: var(--light-bg); }
.trust-head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.trust-head h2 { font-size: clamp(28px, 3.6vw, 38px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.stat-card .num {
  font-family: var(--font-heading); font-weight: 700; font-size: 44px;
  background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 8px;
}
.stat-card .lb { font-family: var(--font-heading); font-weight: 500; color: var(--heading); font-size: 15px; }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-primary); opacity: 0;
  transition: var(--transition); z-index: 0;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card .icon { width: 64px; height: 64px; border-radius: var(--radius-md); margin-bottom: 24px; transition: var(--transition); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; transition: var(--transition); }
.service-card p { font-size: 14.5px; margin-bottom: 20px; transition: var(--transition); }
.service-card .card-link { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.service-card .card-link .arrow { transition: var(--transition); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .card-link { color: var(--white); }
.service-card:hover .card-link .arrow { transform: translateX(6px); }
.service-card:hover .icon { filter: brightness(0) invert(1); transform: scale(1.05) rotate(-4deg); }
.services-more { text-align: center; margin-top: 50px; }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process { background: var(--dark); position: relative; overflow: hidden; }
.process::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(72,88,204,0.25), transparent 60%); }
.process .section-head h2, .process .section-head p { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,0.7); }
.process .eyebrow { background: rgba(255,255,255,0.1); color: #D6DBFF; }
.process .eyebrow::before { background: #fff; }
.process-track { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.process-track::before {
  content: ''; position: absolute; top: 34px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.25), rgba(255,255,255,0.05));
}
.process-step { position: relative; text-align: center; }
.process-step .step-num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--white);
  box-shadow: var(--shadow-glow);
  position: relative; z-index: 2;
  transition: var(--transition);
}
.process-step:hover .step-num { transform: scale(1.12); }
.process-step h4 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.process-step p { color: rgba(255,255,255,0.6); font-size: 13.5px; }

/* ==========================================================================
   FEATURED BOOKS
   ========================================================================== */
.books-slider-wrap { overflow: hidden; }
.books-slider { display: flex; gap: 28px; transition: transform 0.6s cubic-bezier(0.65,0,0.35,1); }
.book-card { flex: 0 0 270px; }
.book-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative;
}
.book-cover img { width: 100%; aspect-ratio: 450 / 650; object-fit: cover; transition: var(--transition); }
.book-card:hover .book-cover { transform: translateY(-12px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.book-card:hover .book-cover img { transform: scale(1.06); }
.book-card h4 { font-size: 16px; margin-bottom: 4px; }
.book-card span { font-size: 13.5px; color: var(--text); }
.books-controls { display: flex; justify-content: center; gap: 14px; margin-top: 46px; }
.books-cta { text-align: center; margin-top: 46px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--light-bg); }
.testimonial-track-wrap { overflow: hidden; }
.testimonial-track { display: flex; gap: 28px; transition: transform 0.6s cubic-bezier(0.65,0,0.35,1); }
.testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.testimonial-card .stars { color: #F5A623; margin-bottom: 18px; font-size: 14px; letter-spacing: 3px; }
.testimonial-card p { color: var(--heading); font-size: 15px; margin-bottom: 26px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-person h5 { font-size: 15px; margin-bottom: 2px; }
.testimonial-person span { font-size: 13px; color: var(--text); }
.testimonial-controls { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.testimonial-controls button { width: 11px; height: 11px; border-radius: 50%; background: var(--border-color); transition: var(--transition); }
.testimonial-controls button.is-active { background: var(--gradient-primary); width: 30px; border-radius: 6px; }

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.blog-card .thumb { overflow: hidden; aspect-ratio: 3/2; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .thumb img { transform: scale(1.08); }
.blog-card .content { padding: 28px; }
.blog-card .tag {
  display: inline-block; font-size: 12px; font-weight: 600; font-family: var(--font-heading);
  color: var(--primary); background: var(--light-bg-2); padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.blog-card h3 { font-size: 18px; margin-bottom: 14px; }
.blog-card .meta { display: flex; gap: 16px; font-size: 13px; color: var(--text); margin-bottom: 16px; }
.blog-card .more { font-family: var(--font-heading); font-weight: 600; color: var(--secondary); font-size: 14px; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  margin: 0 auto;
  max-width: 1280px;
  padding: 80px 60px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before, .cta-banner::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta-banner::before { width: 320px; height: 320px; top: -140px; right: -60px; }
.cta-banner::after { width: 220px; height: 220px; bottom: -100px; left: -40px; }
.cta-banner .inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 34px; font-size: 16px; }
.cta-banner .btn-white { display: inline-flex; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); padding: 90px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 10% 10%, rgba(72,88,204,0.18), transparent 55%); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr 0.9fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about .logo img { height: 40px; margin-bottom: 22px; }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 14.5px; margin-bottom: 26px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: var(--white);
  transition: var(--transition); font-size: 14px;
}
.footer-social a:hover { background: var(--gradient-primary); transform: translateY(-4px); }
.footer-col h5 { color: var(--white); font-size: 16px; margin-bottom: 26px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14.5px; transition: var(--transition); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-newsletter p { color: rgba(255,255,255,0.6); font-size: 14.5px; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 18px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact .ic {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.08); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-contact span { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.55; }
.footer-contact a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--transition); }
.footer-contact a:hover { color: var(--white); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 14px 18px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06); color: var(--white); font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition);
}
.newsletter-form button:hover { transform: scale(1.08); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,0.5); font-size: 13.5px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--white); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="zoom"].in-view { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }
[data-reveal-delay="5"] { transition-delay: 0.6s; }
[data-reveal-delay="6"] { transition-delay: 0.72s; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.story-section .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-visual { position: relative; }
.story-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.story-visual .badge-float {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 22px 26px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.story-visual .badge-float .num { font-family: var(--font-heading); font-weight: 700; font-size: 26px; color: var(--primary); }
.story-visual .badge-float .lb { font-size: 13px; color: var(--text); }
.story-content p { margin-bottom: 18px; }
.story-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.story-list li { display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-weight: 500; color: var(--heading); font-size: 15px; }
.story-list .check { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv-card {
  background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 40px 32px; transition: var(--transition);
}
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.mv-card .icon-circle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 22px; margin-bottom: 22px;
}
.mv-card h3 { font-size: 19px; margin-bottom: 12px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 36px 24px; border-radius: var(--radius-lg); background: var(--light-bg); transition: var(--transition); }
.why-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.why-card .icon-circle { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--primary); font-size: 22px; }
.why-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 14px; }

.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-color); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 0 50px 60px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item .dot {
  position: absolute; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gradient-primary); box-shadow: var(--shadow-glow);
}
.timeline-item:nth-child(odd) .dot { right: -9px; }
.timeline-item:nth-child(even) .dot { left: -9px; }
.timeline-item .year { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.timeline-item h4 { font-size: 17px; margin-bottom: 8px; }
.timeline-item p { font-size: 14.5px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 22px; position: relative; box-shadow: var(--shadow-sm); transition: var(--transition); }
.team-photo img { width: 100%; aspect-ratio: 450 / 550; object-fit: cover; }
.team-card:hover .team-photo { box-shadow: var(--shadow-md); transform: translateY(-8px); }
.team-photo .social {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px;
  display: flex; justify-content: center; gap: 10px;
  background: linear-gradient(0deg, rgba(0,4,126,0.75), transparent);
  opacity: 0; transition: var(--transition);
}
.team-card:hover .social { opacity: 1; }
.team-photo .social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.2); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.team-card h4 { font-size: 17px; margin-bottom: 4px; }
.team-card span { font-size: 13.5px; color: var(--primary); font-family: var(--font-heading); font-weight: 500; }

.achievements { background: var(--gradient-primary); border-radius: var(--radius-xl); padding: 70px 50px; }
.achievements .stats-grid .stat-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.achievements .stat-card .num { -webkit-text-fill-color: var(--white); background: none; color: var(--white); }
.achievements .stat-card .lb { color: rgba(255,255,255,0.85); }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.service-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 56px; }
.service-filter button {
  padding: 11px 22px; border-radius: 50px; border: 1px solid var(--border-color);
  font-family: var(--font-heading); font-weight: 500; font-size: 14px; color: var(--heading); transition: var(--transition);
}
.service-filter button.is-active, .service-filter button:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border-color); }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .sd-media { order: 2; }
.sd-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sd-content .icon-circle { width: 58px; height: 58px; border-radius: var(--radius-sm); background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 22px; margin-bottom: 22px; }
.sd-content h3 { font-size: 26px; margin-bottom: 16px; }
.sd-content p { margin-bottom: 20px; }
.sd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.sd-list li { font-size: 14.5px; color: var(--heading); display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 500; }
.sd-list .check { width: 22px; height: 22px; border-radius: 50%; background: var(--light-bg-2); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 44px 34px; text-align: center; transition: var(--transition); position: relative; }
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.price-card.is-popular { background: var(--gradient-primary); border-color: transparent; }
.price-card.is-popular * { color: var(--white) !important; }
.price-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--secondary); color: var(--white); font-size: 12px; font-family: var(--font-heading); font-weight: 600; padding: 6px 18px; border-radius: 50px; }
.price-card h3 { font-size: 19px; margin-bottom: 18px; }
.price-card .price { font-family: var(--font-heading); font-weight: 700; font-size: 42px; color: var(--primary); margin-bottom: 6px; }
.price-card.is-popular .price { color: var(--white); }
.price-card .price span { font-size: 14px; font-weight: 400; color: var(--text); }
.price-card .desc { font-size: 13.5px; margin-bottom: 28px; }
.price-card ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; text-align: left; }
.price-card ul li { font-size: 14px; display: flex; gap: 10px; align-items: center; }
.price-card ul li .check { color: var(--primary); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item.is-open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; cursor: pointer; }
.faq-q h4 { font-size: 16px; }
.faq-q .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--light-bg-2); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--gradient-primary); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a div { padding: 0 28px 26px; font-size: 14.5px; }

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 50px; }
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.blog-search { position: relative; flex: 1; max-width: 360px; }
.blog-search input { width: 100%; padding: 14px 50px 14px 20px; border-radius: 50px; border: 1px solid var(--border-color); font-size: 14px; }
.blog-search button { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); display: flex; align-items: center; justify-content: center; }
.blog-cats-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-cats-inline button { padding: 9px 18px; border-radius: 50px; border: 1px solid var(--border-color); font-size: 13.5px; font-family: var(--font-heading); transition: var(--transition); }
.blog-cats-inline button.is-active { background: var(--gradient-primary); color: var(--white); border-color: transparent; }
.blog-grid-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.sidebar-widget { background: var(--light-bg); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 28px; }
.sidebar-widget h4 { font-size: 17px; margin-bottom: 22px; }
.cat-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 14.5px; }
.cat-list li:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--primary); }
.cat-list span { color: var(--primary); font-weight: 600; }
.recent-post { display: flex; gap: 14px; margin-bottom: 18px; }
.recent-post img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.recent-post h5 { font-size: 13.5px; margin-bottom: 6px; line-height: 1.4; }
.recent-post span { font-size: 12px; color: var(--text); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { padding: 8px 16px; border-radius: 50px; background: var(--white); font-size: 13px; transition: var(--transition); }
.tag-cloud a:hover { background: var(--gradient-primary); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.pagination a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); font-family: var(--font-heading); font-weight: 600; font-size: 14px; transition: var(--transition); }
.pagination a.is-active, .pagination a:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

/* Single blog */
.blog-single-head { max-width: 780px; margin: 0 auto; text-align: center; }
.blog-single-cover { max-width: 980px; margin: -70px auto 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 3; }
.blog-single-body { max-width: 780px; margin: 0 auto; }
.blog-single-body p { margin-bottom: 22px; }
.blog-single-body h2, .blog-single-body h3 { margin: 40px 0 18px; }
.blog-single-body blockquote { border-left: 3px solid var(--primary); padding: 6px 0 6px 26px; font-size: 18px; font-style: italic; color: var(--heading); margin: 30px 0; }
.blog-single-tags { display: flex; gap: 10px; margin: 40px 0; flex-wrap: wrap; }
.author-box { display: flex; gap: 20px; align-items: center; padding: 30px; background: var(--light-bg); border-radius: var(--radius-lg); margin: 40px 0; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h5 { font-size: 16px; margin-bottom: 6px; }
.author-box p { font-size: 14px; margin-bottom: 0; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); background: var(--light-bg); transition: var(--transition); }
.contact-card:hover { background: var(--white); box-shadow: var(--shadow-md); }
.contact-card .icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; }
.contact-card h4 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 13.5px; color: var(--heading); margin-bottom: 10px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 16px 20px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-color);
  transition: var(--transition); background: var(--light-bg);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(72,88,204,0.1); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--text); margin-top: 14px; }
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; height: 420px; margin-top: 80px; box-shadow: var(--shadow-sm); position: relative; }
.map-placeholder { width: 100%; height: 100%; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--secondary); }
.map-placeholder .icon-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.map-placeholder h4 { font-size: 18px; }
.map-placeholder p { font-size: 14px; }
.form-success { display: none; text-align: center; padding: 50px 20px; }
.form-success.is-visible { display: block; }
.form-success .icon-circle { width: 70px; height: 70px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content { margin: 0 auto; }
.legal-updated { display: inline-block; font-size: 13.5px; color: var(--primary); background: var(--light-bg-2); padding: 8px 18px; border-radius: 50px; margin-bottom: 40px; font-family: var(--font-heading); font-weight: 500; }
.legal-content h2 { font-size: 24px; margin: 44px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 18px; margin: 30px 0 12px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 20px; padding-left: 22px; }
.legal-content ul li { list-style: disc; margin-bottom: 10px; }
.legal-toc { background: var(--light-bg); border-radius: var(--radius-lg); padding: 30px 34px; margin-bottom: 50px; }
.legal-toc h4 { font-size: 16px; margin-bottom: 16px; }
.legal-toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.legal-toc a { font-size: 14.5px; color: var(--text); }
.legal-toc a:hover { color: var(--primary); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 60px; }
.error-page .code { font-family: var(--font-heading); font-weight: 700; font-size: clamp(80px, 14vw, 160px); background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
