/* ═══════════════════════════════════════════════════════════════
   EssayPanel — main.css  v1.0.0
   Palette: Deep Navy · Clean White · Gold Accent · Soft Slate
   Inspired by experthelp.com — professional, clean, modern
   Font: DM Sans (body) + Playfair Display (headings)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Primary — deep navy (trust, authority, academia) */
  --navy:        #1B2B4B;
  --navy-dark:   #0F1D33;
  --navy-mid:    #243352;
  --navy-light:  #344870;
  --navy-xlight: #EEF1F8;

  /* Accent — warm gold (success, premium) */
  --gold:        #F59E0B;
  --gold-dark:   #D97706;
  --gold-light:  #FEF3C7;
  --gold-xlight: #FFFBEB;

  /* Supporting — teal-blue (action, CTAs) */
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #DBEAFE;
  --blue-xlight: #EFF6FF;

  /* Supporting — green (success, trust signals) */
  --green:       #10B981;
  --green-dark:  #059669;
  --green-light: #D1FAE5;

  /* Neutrals — clean whites and light grays */
  --ink:         #1B2B4B;
  --ink-2:       #243352;
  --body:        #374151;
  --muted:       #6B7280;
  --border:      #E8ECF4;
  --border-2:    #D1D5DB;
  --offwhite:    #F8F9FC;
  --offwhite-2:  #F0F3FA;
  --white:       #FFFFFF;

  /* Semantic */
  --success:     #10B981;
  --warning:     #F59E0B;
  --danger:      #EF4444;
  --info:        #2563EB;

  /* Typography */
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --serif:  'Playfair Display', Georgia, serif;

  /* Layout */
  --max-w:     1200px;
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(27,43,75,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(27,43,75,.1),  0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 8px 32px rgba(27,43,75,.14), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(27,43,75,.18), 0 8px 24px rgba(0,0,0,.08);
}

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--sans); font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ── UTILITIES ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }

/* ── EYEBROW ──────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.eyebrow-navy  { background: var(--navy-xlight); color: var(--navy); }
.eyebrow-gold  { background: var(--gold-light);  color: var(--gold-dark); }
.eyebrow-blue  { background: var(--blue-xlight); color: var(--blue-dark); }
.eyebrow-white { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.2); }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: .9rem; font-weight: 700;
  padding: 12px 28px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: all .22s ease; text-decoration: none;
  line-height: 1; white-space: nowrap; letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

/* Primary — Navy */
.btn-navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(27,43,75,.35);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; box-shadow: 0 6px 22px rgba(27,43,75,.45); }

/* Secondary — Gold */
.btn-gold {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(245,158,11,.3);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); box-shadow: 0 6px 20px rgba(245,158,11,.4); }

/* Blue CTA */
.btn-blue {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* Outline variants */
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); color: #fff; }

.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-lg  { padding: 15px 36px; font-size: .95rem; }
.btn-xl  { padding: 18px 44px; font-size: 1rem; border-radius: var(--radius); }
.btn-block { width: 100%; justify-content: center; }

/* ── PROMO TOPBAR ─────────────────────────────────────────────── */
.promo-bar {
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: .02em;
  position: relative;
}
.promo-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.promo-bar a:hover { color: #fff; }
.promo-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 1.1rem; cursor: pointer; line-height: 1; padding: 2px 6px;
}

/* ── SITE HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; gap: 20px; height: 70px;
}
.logo-wrap { flex-shrink: 0; display: flex; align-items: center; }
.logo-wrap:hover { opacity: .9; }

.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; flex: 1; justify-content: center; }
.nav-links li { list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 600; color: var(--body);
  padding: 8px 13px; border-radius: var(--radius-sm); transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--navy-xlight); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-signin {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all .15s;
}
.nav-signin:hover { color: var(--navy); background: var(--navy-xlight); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; border-radius: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: 300px;
  background: #fff; z-index: 1200; padding: 24px;
  box-shadow: -4px 0 40px rgba(27,43,75,.18);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 0; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mm-close {
  background: var(--offwhite); border: 1px solid var(--border); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--muted);
}
.mm-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mm-links a {
  font-size: .95rem; font-weight: 600; color: var(--body); padding: 11px 14px;
  border-radius: var(--radius-sm); transition: all .15s;
}
.mm-links a:hover { color: var(--navy); background: var(--navy-xlight); }
.mm-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 72px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 700;
  color: #fff; line-height: 1.18; margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero-h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.72); line-height: 1.72;
  margin-bottom: 28px; max-width: 540px;
}
.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); padding: 5px 11px; border-radius: 100px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.hero-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.hero-rating-score { font-weight: 800; color: rgba(255,255,255,.85); font-size: .95rem; }

/* ── ORDER CARD ───────────────────────────────────────────────── */
.order-card {
  background: #fff; border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.order-card-title {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 700;
  color: var(--ink); margin-bottom: 18px; text-align: center;
}
.order-card-title span { color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.form-control {
  width: 100%; padding: 9px 12px; font-size: .88rem; font-family: var(--sans);
  color: var(--ink); background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); background: #fff; }

.pages-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--offwhite); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 4px 8px;
}
.pages-btn {
  width: 34px; height: 34px; border-radius: 8px; background: #fff; border: 1.5px solid var(--border);
  cursor: pointer; font-size: 1.2rem; font-weight: 700; color: var(--navy); transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.pages-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pages-count { font-size: .88rem; font-weight: 700; color: var(--ink); }
.pages-words { font-size: .68rem; color: var(--muted); }

.order-price-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy-xlight); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0;
}
.order-price-label { font-size: .78rem; font-weight: 700; color: var(--navy); }
.order-price-val { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.order-price-val sup { font-size: .9rem; vertical-align: super; }
.order-discount {
  font-size: .76rem; color: var(--muted); text-align: center; margin-bottom: 14px;
  background: var(--gold-light); border: 1px solid rgba(245,158,11,.3); padding: 8px 12px; border-radius: 8px;
}
.order-card-footer {
  font-size: .7rem; color: var(--muted); text-align: center; margin-top: 10px;
}
.order-card-footer a { color: var(--blue); }

/* ── STATS BAR ────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy); padding: 28px 0;
}
.stats-inner {
  display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-val {
  font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1;
  margin-bottom: 4px;
}
.stat-val span { color: var(--gold); }
.stat-lbl { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* ── FEATURES STRIP ──────────────────────────────────────────── */
.features-strip { background: var(--offwhite); padding: 64px 0; border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.feature-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s;
}
.feature-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { font-size: 1.6rem; flex-shrink: 0; }
.feature-title { font-size: .95rem; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.feature-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.how-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 36px; flex-wrap: wrap;
}
.how-tab {
  padding: 14px 24px; font-family: var(--sans); font-size: .88rem; font-weight: 700; color: var(--muted);
  background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all .2s;
}
.how-tab:hover { color: var(--navy); }
.how-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.how-panel { display: none; gap: 56px; align-items: center; }
.how-panel.active { display: grid; grid-template-columns: auto 1fr; }
.how-panel-img {
  width: 100px; height: 100px; border-radius: 50%; background: var(--navy-xlight);
  display: flex; align-items: center; justify-content: center; font-size: 2.6rem; flex-shrink: 0;
}
.how-step-num { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 6px; }
.how-panel-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.how-panel-desc { font-size: .97rem; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }

/* ── SERVICES GRID ───────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.svc-card {
  display: block; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  transition: all .25s ease; text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.svc-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--navy); text-decoration: none;
}
.svc-icon { font-size: 1.7rem; margin-bottom: 12px; }
.svc-title { font-size: .98rem; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.svc-desc { font-size: .84rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── FREE FEATURES ───────────────────────────────────────────── */
.free-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ff-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; gap: 10px; box-shadow: var(--shadow-sm);
}
.ff-label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.ff-was { font-size: .72rem; color: var(--muted); text-decoration: line-through; }
.ff-free {
  font-size: .75rem; font-weight: 800; color: var(--green-dark);
  background: var(--green-light); padding: 3px 10px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}

/* ── GUARANTEES ──────────────────────────────────────────────── */
.guar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.guar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--navy); }
.guar-icon { font-size: 1.8rem; margin-bottom: 12px; }
.guar-title { font-size: .95rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.guar-desc { font-size: .83rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── REVIEWS SECTION ──────────────────────────────────────────── */
.reviews-strip { background: var(--navy-dark); padding: 84px 0; }
.reviews-header { text-align: center; margin-bottom: 52px; }
.overall-rating { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.overall-num { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; }
.overall-stars { font-size: 1.3rem; color: var(--gold); letter-spacing: 3px; }
.overall-sub { font-size: .8rem; color: rgba(255,255,255,.45); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 24px;
  transition: background .25s, border-color .25s;
}
.rev-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.rev-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 8px; }
.rev-body { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 18px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-av {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.rev-name { font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.9); }
.rev-detail { font-size: .73rem; color: rgba(255,255,255,.45); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--sans); font-size: .97rem; font-weight: 700;
  color: var(--ink); background: none; border: none; cursor: pointer; text-align: left; gap: 14px;
  transition: color .2s;
}
.faq-q:hover { color: var(--navy); }
.faq-ico {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-xlight); color: var(--navy); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  transition: all .25s;
}
.faq-q[aria-expanded="true"] .faq-ico { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-ans { display: none; padding-bottom: 18px; }
.faq-ans p { font-size: .93rem; color: var(--muted); line-height: 1.75; margin: 0; }

/* ── BLOG CARDS ──────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--offwhite); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; background: var(--navy-xlight);
}
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cats-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-cat-pill {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--navy-xlight); color: var(--navy); padding: 3px 9px; border-radius: 100px;
}
.post-date-sm { font-size: .73rem; color: var(--muted); margin-left: auto; }
.blog-card-title { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.38; margin: 0; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--navy); }
.blog-card-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.65; margin: 0; flex: 1; }
.blog-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto;
}
.read-time { font-size: .74rem; color: var(--muted); }
.read-more-link { font-size: .8rem; font-weight: 700; color: var(--navy); }
.read-more-link:hover { color: var(--blue); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 76px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%); pointer-events: none;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-title {
  font-family: var(--serif); font-size: clamp(1.5rem,3vw,2rem); font-weight: 700;
  color: #fff; margin-bottom: 12px; line-height: 1.28;
}
.cta-desc { font-size: .95rem; color: rgba(255,255,255,.6); max-width: 520px; line-height: 1.7; margin: 0; }
.cta-desc a { color: var(--gold); text-decoration: underline; }
.cta-acts { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.7; margin: 18px 0 20px; }
.footer-socials { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .9rem;
  display: flex; align-items: center; justify-content: center; transition: all .2s; font-style: normal;
}
.footer-social:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-trust { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-trust-badge {
  font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 4px 10px; border-radius: 100px;
}
.footer-col h4 {
  font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.85); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: .85rem; color: rgba(255,255,255,.5); transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom-inner span { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-payment { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ── BLOG PAGE ───────────────────────────────────────────────── */
.breadcrumbs { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }

/* ── SINGLE POST ─────────────────────────────────────────────── */
.post-body { font-size: 1.02rem; line-height: 1.82; color: var(--body); }
.post-body h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2em 0 .7em; }
.post-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin: 1.6em 0 .6em; }
.post-body p { margin-bottom: 1.2em; }
.post-body ul, .post-body ol { list-style: disc; padding-left: 1.5em; margin-bottom: 1.2em; }
.post-body ul li, .post-body ol li { margin-bottom: .5em; }
.post-body blockquote {
  border-left: 4px solid var(--navy); padding: 16px 24px; margin: 1.8em 0;
  background: var(--navy-xlight); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--navy);
}
.post-body code { background: var(--offwhite); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.post-body img { border-radius: var(--radius); margin: 1.5em 0; }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--blue-dark); }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.post-body th, .post-body td { padding: 10px 14px; border: 1px solid var(--border); font-size: .92rem; }
.post-body th { background: var(--offwhite); font-weight: 700; color: var(--ink); }

/* ── SIDEBAR WIDGET ──────────────────────────────────────────── */
.widget { margin-bottom: 28px; }
.widget-title { font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }

/* ── SEARCH ──────────────────────────────────────────────────── */
.search-form input[type="search"] {
  width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; font-family: var(--sans); outline: none; background: var(--offwhite);
  transition: border-color .2s; color: var(--ink);
}
.search-form input:focus { border-color: var(--navy); background: #fff; }

/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .88rem; font-weight: 700; color: var(--body);
  padding: 0 10px; transition: all .15s; background: #fff;
}
.pagination .page-numbers:hover, .pagination .current {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* ── 404 / Search ────────────────────────────────────────────── */
.not-found-wrap { text-align: center; padding: 120px 24px; }
.not-found-wrap h1 { font-family: var(--serif); font-size: 4rem; color: var(--navy); }
.not-found-wrap p { font-size: 1.1rem; color: var(--muted); margin: 16px 0 28px; }

/* ── ANIMATION HELPERS ───────────────────────────────────────── */
.an { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.an.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr 380px; gap: 40px; }
  .guar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .order-card { max-width: 520px; margin: 0 auto; }
  .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .free-features-grid > div:nth-child(2) ~ div { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 52px 0 60px; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .guar-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 28px; }
  .how-panel.active { grid-template-columns: 1fr; }
  .how-panel-img { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-acts { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .free-features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 1.9rem; }
  .how-tabs { flex-direction: column; }
  .how-tab { border-bottom: none; border-left: 3px solid transparent; padding: 10px 16px; }
  .how-tab.active { border-left-color: var(--navy); border-bottom: none; }
}
