/* ============================================================
   Rae's Tutoring Service — brand tokens
   ============================================================ */
:root {
  --purple: #7B2CE2;
  --purple-dark: #5F1FB8;
  --navy: #16206F;
  --pink: #F54C9A;
  --pink-deep: #D6317D;   /* AA-safe fill for solid pink buttons/text-on-pink */
  --teal: #18B7CB;
  --teal-dark: #0F8A9B;
  --gold: #F6B12A;
  --green: #6FB23E;
  --soft-white: #FAFAFC;
  --white: #FFFFFF;
  --ink: #221A3A;          /* body text, near-navy for warmth */
  --ink-soft: #574F72;

  --font-script: 'Caveat', cursive;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px -12px rgba(22, 32, 111, 0.22);
  --shadow-card: 0 6px 18px -8px rgba(22, 32, 111, 0.18);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
p { margin: 0 0 1em; }
button { font-family: inherit; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6vw;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
/* filled-style icons */
#icon-star, #icon-heart, #icon-badge { stroke: none; fill: currentColor; }
.icon-lg { width: 32px; height: 32px; }

.script-eyebrow {
  font-family: var(--font-script);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--pink-deep);
  margin: 0 0 0.15em;
  line-height: 1;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--purple-dark); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }

.btn-accent {
  background: var(--pink-deep);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: var(--shadow-card);
}
.btn-accent:hover { background: #b8256a; }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 252, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(22, 32, 111, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.brand-sub { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.62rem; color: var(--pink-deep); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 24px; }
.main-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 2px;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--pink);
  transition: right 0.2s ease;
  border-radius: 2px;
}
.main-nav a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 6vw 24px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid rgba(22,32,111,0.08); }
  .main-nav ul a { display: block; padding: 14px 4px; }
  .nav-cta { margin-top: 14px; width: 100%; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #F3E9FF 0%, var(--soft-white) 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 0.35em;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--green); }

.hero-visual { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-blob {
  position: absolute;
  inset: 6% 8%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  border-radius: 62% 38% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.16;
}
.hero-logo {
  position: relative;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  border: 6px solid #fff;
}
.deco { position: absolute; }
.deco-star { width: 30px; height: 30px; color: var(--gold); }
.deco-heart { width: 26px; height: 26px; color: var(--pink); }
.deco-dot { width: 14px; height: 14px; color: var(--teal); }
.deco-1 { top: 6%; left: 12%; transform: rotate(-12deg); }
.deco-2 { top: 14%; right: 10%; }
.deco-3 { bottom: 16%; left: 6%; transform: rotate(18deg); }
.deco-4 { top: 46%; right: 2%; }
.deco-5 { bottom: 8%; right: 22%; }

.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-card-books { top: 8%; left: -2%; color: var(--purple); }
.hero-card-badge {
  bottom: 4%;
  right: -4%;
  background: var(--navy);
  color: #fff;
  flex-direction: column;
  text-align: center;
  padding: 16px 20px;
  border-radius: 50%;
  width: 108px;
  height: 108px;
  justify-content: center;
}
.hero-card-badge span { font-size: 0.75rem; font-weight: 700; line-height: 1.15; margin-top: 4px; }
.hero-card-badge .icon { color: var(--gold); }

.section-wave { display: block; width: 100%; height: 60px; fill: var(--white); }

/* ============================================================
   Credentials strip
   ============================================================ */
.credentials { background: var(--white); padding: 0 0 70px; margin-top: -1px; }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.credential-card {
  background: var(--soft-white);
  border: 1px solid rgba(22,32,111,0.07);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: left;
}
.credential-card h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.credential-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }
.credential-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.icon-purple { background: rgba(123,44,226,0.12); color: var(--purple); }
.icon-gold   { background: rgba(246,177,42,0.16); color: #B97D0F; }
.icon-pink   { background: rgba(245,76,154,0.14); color: var(--pink-deep); }
.icon-teal   { background: rgba(24,183,203,0.14); color: var(--teal-dark); }
.icon-green  { background: rgba(111,178,62,0.16); color: #4E8A29; }
.icon-navy   { background: rgba(22,32,111,0.1); color: var(--navy); }

/* ============================================================
   Ribbon banner
   ============================================================ */
.ribbon-banner {
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink-deep) 100%);
  padding: 22px 0;
}
.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
}
.ribbon-inner p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}
.ribbon-inner .icon { color: #fff; width: 22px; height: 22px; }

/* ============================================================
   Services
   ============================================================ */
.services { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--ink-soft); margin-bottom: 0; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.icon-purple-bg { background: var(--purple); color: #fff; }
.icon-teal-bg   { background: var(--teal); color: #fff; }
.icon-green-bg  { background: var(--green); color: #fff; }

/* ============================================================
   About
   ============================================================ */
.about { background: var(--navy); padding: 90px 0; color: #fff; position: relative; overflow: hidden; }
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(123,44,226,0.35), transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(245,76,154,0.25), transparent 50%);
  pointer-events: none;
}
.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 320px; }
.about-ring {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: #fff;
  border: 6px dashed var(--gold);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.about-logo { border-radius: 50%; }
.about-deco-1 { top: 4%; right: 12%; width: 34px; height: 34px; color: var(--gold); }
.about-deco-2 { bottom: 8%; left: 8%; width: 28px; height: 28px; color: var(--pink); }
.about-badge {
  position: absolute;
  bottom: -10px;
  right: 4%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
}
.about-badge .icon { width: 16px; height: 16px; color: var(--navy); }

.about-copy h2 { color: #fff; }
.about-copy .script-eyebrow { color: var(--gold); }
.about-copy p { color: rgba(255,255,255,0.82); }
.about-list { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.about-list .icon { color: var(--teal); width: 20px; height: 20px; }

/* ============================================================
   How it works
   ============================================================ */
.how-it-works { padding: 90px 0; }
.how-it-works .section-head { margin-bottom: 24px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { position: relative; padding-top: 8px; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.step:nth-child(2) .step-number { background: var(--teal); }
.step:nth-child(3) .step-number { background: var(--pink-deep); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--soft-white), #F3E9FF); padding: 90px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease;
}
.contact-method:hover { transform: translateY(-3px); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  flex-shrink: 0;
}
.contact-method strong { display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 20px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22,32,111,0.18);
  background: var(--soft-white);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(24,183,203,0.18);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-inner .brand-name { color: #fff; }
.footer-script { font-family: var(--font-script); font-size: 1.6rem; color: var(--gold); margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.footer-nav a:hover { color: var(--gold); }
.footer-contact { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; }
.footer-contact a { text-decoration: none; color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 10px; }

/* ============================================================
   Articles — preview grid (home) & index grid (articles/)
   ============================================================ */
.articles-preview { padding: 84px 0; background: var(--white); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--soft-white);
  border: 1px solid rgba(22,32,111,0.08);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.article-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.tag-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  background: rgba(123,44,226,0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.article-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.article-read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pink-deep);
}
.article-read-more .icon { width: 16px; height: 16px; }

.articles-preview-cta { text-align: center; margin-top: 40px; }

/* ============================================================
   Articles — index page hero
   ============================================================ */
.articles-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #F3E9FF 0%, var(--soft-white) 100%);
  text-align: center;
}
.articles-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.3em; }
.articles-hero p { max-width: 56ch; margin: 0 auto; color: var(--ink-soft); font-size: 1.05rem; }

.articles-index { padding: 70px 0 90px; }
.articles-index .articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card .article-date { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 4px; }

/* ============================================================
   Article page (single post)
   ============================================================ */
.article-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, #F3E9FF 0%, var(--soft-white) 100%);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--pink-deep); }

.article-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  max-width: 22ch;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 10px;
}
.article-meta .tag-pill { margin-bottom: 0; }

.article-body { padding: 10px 0 30px; }
.article-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
}
.article-prose h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
}
.article-prose h3 {
  font-size: 1.15rem;
  margin-top: 1.3em;
}
.article-prose p { color: var(--ink); margin-bottom: 1.1em; }
.article-prose ul, .article-prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.3em;
  color: var(--ink);
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 0.5em; }
.article-prose strong { color: var(--navy); }

.callout-box {
  background: var(--soft-white);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 1.8em 0;
}
.callout-box p:last-child { margin-bottom: 0; }
.callout-box .callout-label {
  display: block;
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--pink-deep);
  margin-bottom: 4px;
  line-height: 1;
}

.article-cta {
  max-width: 720px;
  margin: 3em auto 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  text-align: center;
  color: #fff;
}
.article-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.4em; }
.article-cta p { color: rgba(255,255,255,0.82); margin-bottom: 22px; }

.article-nav-links {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(22,32,111,0.1);
}
.article-nav-links a {
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}
.article-nav-links a:hover { color: var(--pink-deep); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; order: -1; }
  .credentials-grid, .services-grid, .steps, .articles-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-list { align-items: center; }
  .about-visual { margin-bottom: 10px; }
  .contact-inner { grid-template-columns: 1fr; }
  .article-nav-links { flex-direction: column; gap: 12px; }
}

@media (max-width: 520px) {
  .hero { padding-top: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-card-books { display: none; }
  .brand-sub { display: none; }
  .contact-form { padding: 24px 20px; }
}
