/* ============================================================
   Practical Spanish — Main Stylesheet
   ============================================================ */

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

:root {
  --primary:    #c8522a;   /* terracotta / copper */
  --primary-dk: #a33f1e;
  --primary-lt: #f0ddd5;
  --accent:     #2d6a4f;   /* forest green */
  --accent-lt:  #d5eae0;
  --amber:      #e8a020;   /* warm amber highlight */
  --bg:         #fafaf8;
  --bg-alt:     #f4f0eb;
  --dark:       #1a1a1a;
  --mid:        #444;
  --muted:      #777;
  --border:     #ddd8d0;
  --white:      #ffffff;

  --font-body:  'Lato', 'Segoe UI', system-ui, sans-serif;
  --font-head:  'Merriweather', Georgia, serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 2px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 6px 32px rgba(0,0,0,.14);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }

/* ---- Google Fonts import --------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Merriweather:wght@400;700&display=swap');

/* ---- Utility --------------------------------------------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--white); }
.section-accent { background: var(--accent); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag-level { background: var(--primary-lt); color: var(--primary-dk); }
.tag-trade { background: var(--accent-lt); color: var(--accent); }
.tag-amber { background: #fef3d5; color: #9a6200; }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-lt);
  border-color: var(--primary-lt);
  color: var(--primary-dk);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #1f4f3a;
  border-color: #1f4f3a;
  color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ---- Section headings ------------------------------------ */
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-dark .section-label,
.section-accent .section-label,
.section-primary .section-label { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section-title { margin-bottom: 12px; }
.section-sub   { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin: 0 auto 48px; }
.section-dark  .section-sub,
.section-accent .section-sub { color: rgba(255,255,255,.75); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.nav-logo span { color: var(--primary); }
.nav-logo:hover { color: var(--dark); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  flex: 1;
}
.nav-links a {
  display: block;
  padding: 6px 12px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--mid);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-lt);
}

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
  }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 50%, #1a2e24 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  background: rgba(200,82,42,.25);
  border: 1px solid rgba(200,82,42,.5);
  color: #f0a080;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em {
  color: var(--amber);
  font-style: normal;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.80);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}
.hero-stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p  { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ============================================================
   TRADES GRID
   ============================================================ */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.trade-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.trade-card:hover {
  border-color: var(--primary);
  background: var(--primary-lt);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.trade-icon { font-size: 2.2rem; margin-bottom: 10px; }
.trade-name { font-weight: 700; font-size: .92rem; color: var(--dark); margin-bottom: 4px; }
.trade-es   { font-size: .8rem; color: var(--muted); font-style: italic; }

/* ============================================================
   PRICING / BUNDLES
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-lt), var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-level {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 8px;
}
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.pricing-desc { font-size: .9rem; color: var(--muted); margin-bottom: 24px; min-height: 44px; }
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--muted);
}
.pricing-note { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card .btn { width: 100%; }

/* ============================================================
   SAMPLE STORY
   ============================================================ */
.sample-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.sample-header h3 { font-size: 1.4rem; }
.bilingual-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-col {
  padding: 32px;
}
.story-col-es { background: var(--white); }
.story-col-en { background: var(--bg-alt); border-left: 1px solid var(--border); }
.story-col-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.story-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.story-text p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 10px;
}
.story-text p:last-child { margin-bottom: 0; }
.story-text .highlight { color: var(--primary); font-weight: 700; }

.vocab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.vocab-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .85rem;
}
.vocab-pill .es { font-weight: 700; color: var(--primary); }
.vocab-pill .sep { color: var(--muted); margin: 0 6px; }
.vocab-pill .en { color: var(--mid); }

@media (max-width: 640px) {
  .bilingual-story { grid-template-columns: 1fr; }
  .story-col-en    { border-left: none; border-top: 1px solid var(--border); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text  { font-size: .95rem; line-height: 1.75; font-style: italic; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--white); }
.testimonial-role { font-size: .8rem; color: rgba(255,255,255,.50); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.newsletter-box h2 { font-size: 1.7rem; margin-bottom: 10px; }
.newsletter-box p  { color: var(--muted); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input[type=email] {
  flex: 1;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg);
  font-family: var(--font-body);
}
.newsletter-form input[type=email]:focus { border-color: var(--primary); }
.newsletter-fine { font-size: .78rem; color: var(--muted); margin-top: 12px; }

@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-box  { padding: 32px 20px; }
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: .78rem;
  color: var(--muted);
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: .85rem; font-weight: 700; color: var(--primary); }
.blog-read-more:hover { color: var(--primary-dk); }

/* ============================================================
   ABOUT / METHOD PAGE
   ============================================================ */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.method-grid.reverse { direction: rtl; }
.method-grid.reverse > * { direction: ltr; }

.method-text h2 { margin-bottom: 16px; }
.method-text p  { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.method-text ul { padding-left: 0; list-style: none; margin-bottom: 20px; }
.method-text ul li {
  padding: 8px 0;
  padding-left: 26px;
  position: relative;
  color: var(--mid);
  font-size: .95rem;
}
.method-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.method-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.method-visual .big-icon { font-size: 4rem; margin-bottom: 16px; }
.method-visual p { color: var(--muted); font-size: .95rem; }

@media (max-width: 768px) {
  .method-grid       { grid-template-columns: 1fr; gap: 32px; }
  .method-grid.reverse { direction: ltr; }
}

/* ============================================================
   CEFR LADDER
   ============================================================ */
.cefr-ladder { max-width: 560px; margin: 48px auto 0; }
.cefr-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.cefr-step:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cefr-badge {
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.cefr-a1 { background: #4caf50; }
.cefr-a2 { background: #8bc34a; }
.cefr-b1 { background: #ff9800; }
.cefr-b2 { background: #f44336; }
.cefr-info h4 { font-size: .95rem; margin-bottom: 3px; }
.cefr-info p  { font-size: .82rem; color: var(--muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c1810 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.70); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   STORE PAGE
   ============================================================ */
.store-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 7px 18px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
  color: var(--mid);
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary-lt);
  color: var(--primary-dk);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.book-cover {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.book-cover-icon { font-size: 3.5rem; }
.book-cover-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
}
.book-body { padding: 18px; }
.book-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.book-character { font-size: .82rem; color: var(--muted); margin-bottom: 10px; font-style: italic; }
.book-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.book-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.book-price .original { text-decoration: line-through; color: var(--muted); font-size: .9rem; margin-right: 6px; }

/* ============================================================
   SAMPLES PAGE
   ============================================================ */
.sample-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sample-tab {
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  background: var(--white);
  color: var(--mid);
  transition: all var(--transition);
  font-family: var(--font-body);
}
.sample-tab:hover,
.sample-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.sample-block { display: none; }
.sample-block.active { display: block; }

.sample-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sample-meta h2 { font-size: 1.5rem; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-hero-post {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}
.blog-hero-thumb {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--bg-alt);
}
.blog-hero-body { padding: 40px 40px 40px 0; }
.blog-hero-body h2 { font-size: 1.7rem; margin-bottom: 12px; }
.blog-hero-body h2 a { color: var(--dark); }
.blog-hero-body h2 a:hover { color: var(--primary); }
.blog-hero-body p { color: var(--muted); margin-bottom: 20px; line-height: 1.8; }

@media (max-width: 640px) {
  .blog-hero-post { grid-template-columns: 1fr; }
  .blog-hero-body { padding: 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #111;
  color: rgba(255,255,255,.65);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.50); }
.footer-col h4 { color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MISC COMPONENTS
   ============================================================ */
.divider { height: 1px; background: var(--border); margin: 0; }

.alert-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: .88rem;
  font-weight: 700;
}
.alert-bar a { color: var(--amber); }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }
