/* ==========================================================================
   유앤아이(U&I) 잉글리쉬 — Design tokens (bright & friendly, all-ages)
   ========================================================================== */
:root {
  --sky: #2F9BF6;
  --sky-deep: #1C7ED6;
  --sky-pale: #EAF4FF;
  --yellow: #FFC83D;
  --yellow-pale: #FFF6DF;
  --coral: #FF7A59;
  --coral-pale: #FFEAE3;
  --mint: #2FBF8F;

  --bg: #FFFFFF;
  --bg-alt: #F5FAFF;
  --white: #FFFFFF;
  --ink: #2B3648;
  --ink-soft: #64738C;
  --line: #E1EDF9;

  --font-heading: "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;
  --font-body: "Noto Sans KR", -apple-system, "Malgun Gothic", sans-serif;

  --radius-s: 10px;
  --radius-m: 20px;
  --radius-l: 32px;
  --shadow-card: 0 16px 36px -18px rgba(47, 155, 246, 0.28);
  --shadow-soft: 0 6px 20px -10px rgba(47, 155, 246, 0.22);
  --max-width: 1180px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; font-size: 1rem; }

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

.skip-link {
  position: absolute; left: 0; top: -48px;
  background: var(--sky); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Type helpers
   ========================================================================== */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  font-weight: 700;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-title.center { text-align: center; }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 44px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.hl { color: var(--coral); }

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  margin-right: 8px;
  vertical-align: middle;
}
.tag-coral { background: var(--coral); }
.tag-sky { background: var(--sky); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(255, 122, 89, 0.55);
}
.btn-primary:hover { background: #f2694a; }
.btn-outline {
  background: var(--white);
  border-color: var(--sky);
  color: var(--sky-deep);
}
.btn-outline:hover { background: var(--sky); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Waveform motif
   ========================================================================== */
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
}
.waveform span {
  display: block;
  width: 4px;
  border-radius: 3px;
  background: var(--sky);
  animation: wave 1.4s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 40%; animation-delay: -1.2s; }
.waveform span:nth-child(2) { height: 70%; animation-delay: -1.0s; }
.waveform span:nth-child(3) { height: 100%; animation-delay: -0.8s; background: var(--coral); }
.waveform span:nth-child(4) { height: 55%; animation-delay: -0.6s; }
.waveform span:nth-child(5) { height: 85%; animation-delay: -0.4s; background: var(--yellow); }
.waveform span:nth-child(6) { height: 45%; animation-delay: -0.2s; }
.waveform span:nth-child(7) { height: 75%; animation-delay: 0s; }
.waveform span:nth-child(8) { height: 95%; animation-delay: -0.9s; background: var(--coral); }
.waveform span:nth-child(9) { height: 50%; animation-delay: -0.5s; }
.waveform span:nth-child(10) { height: 65%; animation-delay: -0.3s; background: var(--yellow); }
.waveform span:nth-child(11) { height: 40%; animation-delay: -1.1s; }
.waveform span:nth-child(12) { height: 80%; animation-delay: -0.7s; }
.waveform span:nth-child(13) { height: 55%; animation-delay: -0.15s; background: var(--coral); }
.waveform span:nth-child(14) { height: 90%; animation-delay: -1.3s; }
.waveform span:nth-child(15) { height: 35%; animation-delay: -0.45s; }
.waveform span:nth-child(16) { height: 60%; animation-delay: -0.85s; background: var(--yellow); }
.waveform span:nth-child(17) { height: 100%; animation-delay: -0.25s; }
.waveform span:nth-child(18) { height: 45%; animation-delay: -1.05s; }
.waveform span:nth-child(19) { height: 70%; animation-delay: -0.55s; background: var(--coral); }
.waveform span:nth-child(20) { height: 50%; animation-delay: -0.95s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .waveform span { animation: none; transform: scaleY(0.75); }
}

.waveform-wide { height: 44px; justify-content: center; }
.waveform-wide span { width: 5px; }
.waveform-vert {
  flex-direction: column;
  height: auto;
  width: 28px;
  gap: 4px;
}
.waveform-vert span { width: 100%; height: 4px !important; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 76px;
}

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  border-radius: 2px;
  background: var(--coral);
  transition: width .2s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn-phone { display: inline-flex; align-items: center; gap: 6px; }
.btn-icon { font-size: 1rem; line-height: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--sky-pale);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sky-deep);
  margin: 0 auto;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--bg) 65%);
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}
.hero-blob-1 {
  width: 320px; height: 320px;
  background: var(--yellow-pale);
  top: -100px; right: 6%;
}
.hero-blob-2 {
  width: 220px; height: 220px;
  background: var(--coral-pale);
  bottom: -60px; left: 2%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.32;
  margin: 8px 0 22px;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust p { font-size: 0.92rem; color: var(--ink-soft); }
.hero-trust strong { color: var(--ink); }

.hero-visual { display: flex; justify-content: center; }

.call-mock {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.call-mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.call-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-pale);
}
.call-status { flex: 1; }
.call-timer { color: var(--sky-deep); }

.call-mock-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.call-avatar {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
}
.call-avatar.kid { background: var(--coral-pale); }
.call-avatar.tutor { background: var(--sky-pale); }
.avatar-initial {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.call-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.call-name em { display: block; font-style: normal; font-size: 0.68rem; color: var(--ink-soft); font-weight: 500; }

.call-mock-caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-alt);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.mic-icon { color: var(--coral); font-size: 0.6rem; margin-top: 5px; }
.call-mock-caption p { font-size: 0.85rem; line-height: 1.5; color: var(--ink); }

.call-mock-waveform { justify-content: center; height: 32px; }
.call-mock-waveform span { width: 3px; }

/* ==========================================================================
   About (회사소개)
   ========================================================================== */
.about { padding: 88px 0; background: var(--bg-alt); }

.about-copy {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-copy p:last-child { margin-bottom: 0; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .2s var(--ease);
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }

/* ==========================================================================
   Audience section
   ========================================================================== */
.audience { padding: 88px 0; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.audience-card {
  border-radius: var(--radius-m);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease);
}
.audience-card:hover { transform: translateY(-4px); }
.audience-kid { background: var(--coral-pale); }
.audience-teen { background: var(--yellow-pale); }
.audience-adult { background: var(--sky-pale); }

.audience-emoji { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.audience-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  margin-bottom: 14px;
}
.audience-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.audience-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   Why / Stats+Compare
   ========================================================================== */
.why { padding: 20px 0 96px; background: var(--bg-alt); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.why-icon-coral { background: var(--coral-pale); }
.why-icon-yellow { background: var(--yellow-pale); }
.why-icon-sky { background: var(--sky-pale); }

.why-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.why-number em { font-style: normal; font-size: 1.1rem; color: var(--sky-deep); }
.why-label { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}
.compare-col {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.compare-col h3 {
  font-size: 1.25rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.compare-col ul { display: flex; flex-direction: column; gap: 14px; }
.compare-col li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.compare-col.problem li::before {
  content: "×";
  position: absolute; left: 0; top: -2px;
  color: var(--coral);
  font-weight: 700;
  font-size: 1.1rem;
}
.compare-col.solution li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--sky-deep);
  font-weight: 700;
}
.compare-arrow { display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Curriculum
   ========================================================================== */
.curriculum { padding: 96px 0; }

/* ---- Trust badges ---- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px 22px;
}
.trust-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.trust-badge h3 { font-size: 0.98rem; margin-bottom: 4px; }
.trust-badge p { color: var(--ink-soft); font-size: 0.85rem; line-height: 1.5; }

/* ---- Category cards ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.cat-emoji { font-size: 2rem; margin-bottom: 10px; }
.cat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--sky-deep);
  margin-bottom: 6px;
}
.cat-title { font-size: 1.15rem; margin-bottom: 16px; }

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.pill {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.pill:hover {
  background: var(--coral-pale);
  border-color: var(--coral);
  transform: translateY(-2px);
}

/* ---- Curriculum detail modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 54, 72, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade .18s var(--ease);
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-card);
  animation: modal-pop .2s var(--ease);
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { animation: none; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.modal-close:hover { background: var(--coral-pale); color: var(--coral); }

.modal-category {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--sky-deep);
  margin-bottom: 8px;
}
.modal-title { font-size: 1.5rem; margin-bottom: 14px; }
.modal-desc { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; }

/* ==========================================================================
   Level test CTA banner
   ========================================================================== */
.level-cta {
  background: linear-gradient(120deg, var(--sky), var(--yellow));
  padding: 72px 0;
}
.level-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.level-cta-inner .waveform-wide span { background: rgba(255,255,255,0.85); }
.level-cta-inner .waveform-wide span:nth-child(3n) { background: var(--ink); }
.level-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 640px; }
.level-cta p { color: rgba(255,255,255,0.92); max-width: 520px; margin-bottom: 6px; }
.level-cta .btn-primary { background: var(--white); color: var(--coral); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.25); }
.level-cta .btn-primary:hover { background: #fff3ef; }

/* ==========================================================================
   Insight
   ========================================================================== */
.insight { padding: 96px 0; background: var(--bg-alt); }

/* ---- Blog CTA + tabs ---- */
.blog-cta-row { display: flex; justify-content: center; margin-bottom: 36px; }

.blog-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.blog-tab {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.blog-tab:hover { border-color: var(--sky); color: var(--sky-deep); }
.blog-tab.is-active {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.blog-panel[hidden] { display: none; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--coral);
  transition: transform .2s var(--ease);
}
.insight-card:nth-child(2) { border-top-color: var(--yellow); }
.insight-card:nth-child(3) { border-top-color: var(--sky); }
.insight-card:nth-child(4) { border-top-color: var(--mint); }
.insight-card:hover { transform: translateY(-4px); }

.insight-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--sky-deep);
}
.insight-card h3 { font-size: 1.05rem; line-height: 1.4; }
.insight-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.insight-link { font-weight: 700; color: var(--coral); font-size: 0.88rem; }

/* ---- Category pills ---- */
.category-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.category-pill {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 16px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.category-pill:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
  color: var(--coral);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { background: var(--sky-pale); padding: 64px 0; }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-copy h2 { color: var(--ink); font-size: 1.5rem; margin-bottom: 8px; max-width: 420px; }
.newsletter-copy p { color: var(--ink-soft); font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--ink-soft); }
.newsletter-inner .form-note {
  width: 100%;
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ==========================================================================
   Consultation form
   ========================================================================== */
.consult { padding: 96px 0; }
.consult-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 56px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.consult-intro .section-title { margin-bottom: 12px; }
.consult-intro .section-sub { margin-bottom: 28px; }

.consult-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.quick-link:hover { border-color: var(--sky); transform: translateY(-2px); }
.quick-link-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--sky-deep);
}
.quick-link-value { font-weight: 700; color: var(--ink); font-size: 1rem; }

.consult-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.form-row input, .form-row select {
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus { border-color: var(--sky); background: var(--white); }
.form-hint { font-size: 0.8rem; color: var(--ink-soft); }

.form-disclaimer { font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.form-note:empty { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--sky-pale); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(43, 54, 72, 0.1);
}
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; margin-top: 16px; max-width: 280px; }

.footer-col h4 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--sky-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .value-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: 8px 0; }
  .trust-badges { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-inner { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--bg); padding: 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; order: 1; }
  .header-cta { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
  .header-actions { order: 2; flex-basis: 100%; justify-content: flex-end; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .insight-grid { grid-template-columns: 1fr; }
  .blog-tabs { gap: 8px; }
  .blog-tab { padding: 10px 18px; font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .newsletter-form { max-width: none; }
  .consult-inner { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .call-mock { padding: 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .modal { padding: 36px 24px 26px; }
}
