/* ═══════════════════════════════════════════════════════════════
   WRITERS PUBLISHING — World Wide Publisher for Authorpreneurs
   style.css — Modern & Warm
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --beige:        #F7F1E6;
  --beige-dark:   #EDE5D4;
  --beige-deeper: #DDD4C0;
  --teal:         #17A9B3;
  --teal-dark:    #108A93;
  --teal-light:   #D0F0F2;
  --orange:       #FF7A00;
  --orange-dark:  #D96600;
  --orange-light: #FFF0E0;
  --ink:          #1C1C1E;
  --ink-soft:     #3B3B3B;
  --ink-muted:    #7A7570;
  --white:        #FFFFFF;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 4px rgba(28,28,30,.07);
  --shadow-md:  0 4px 20px rgba(28,28,30,.10);
  --shadow-lg:  0 12px 48px rgba(28,28,30,.14);

  --transition: 0.24s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ─── LAYOUT ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 100px 0; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.875rem; font-weight: 600; }

em { font-style: normal; color: var(--orange); }
strong { font-weight: 600; }

p { color: var(--ink-soft); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag--light {
  color: var(--orange-light);
  background: rgba(255,122,0,.18);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-title  { margin-top: 8px; }
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,122,0,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--beige-deeper);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23,169,179,.3);
}

/* ─── HEADER ───────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(247,241,230,.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--beige-dark);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
}
.logo strong { font-weight: 700; }
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-icon--light { background: rgba(255,122,0,.2); color: var(--orange); }
.logo--light { color: rgba(247,241,230,.85); }
.logo--light strong { color: var(--white); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
}
.nav-links .nav-cta:hover { background: var(--orange-dark); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background: var(--beige);
}

/* Blobs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.blob--1 {
  width: 500px; height: 500px;
  background: rgba(23,169,179,.12);
  top: -100px; right: -100px;
}
.blob--2 {
  width: 400px; height: 400px;
  background: rgba(255,122,0,.10);
  bottom: -80px; left: -80px;
}
.blob--3 {
  width: 300px; height: 300px;
  background: rgba(23,169,179,.08);
  bottom: 40px; right: 30%;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title { color: var(--ink); margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}
.stat span { font-size: 0.8rem; color: var(--ink-muted); }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--beige-deeper);
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.book-stack {
  position: relative;
  width: 220px;
  height: 260px;
  margin: 0 auto;
}
.book {
  position: absolute;
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-lg);
}
.book--1 {
  width: 160px; height: 220px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF9D45 100%);
  top: 10px; left: 30px;
  z-index: 3;
}
.book--2 {
  width: 155px; height: 215px;
  background: linear-gradient(135deg, var(--teal) 0%, #25C9D4 100%);
  top: 20px; left: 44px;
  z-index: 2;
  transform: rotate(4deg);
}
.book--3 {
  width: 150px; height: 210px;
  background: linear-gradient(135deg, #6B5CE7 0%, #9D89F5 100%);
  top: 30px; left: 18px;
  z-index: 1;
  transform: rotate(-5deg);
}
.book-shadow {
  position: absolute;
  bottom: 0; left: 10px; right: 10px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(28,28,30,.18) 0%, transparent 70%);
  filter: blur(8px);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 320px;
}
.platform-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 999px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

/* ─── PARTNERS STRIP ───────────────────────────────────────────── */
.partners-strip {
  background: var(--white);
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
  padding: 20px 0;
  overflow: hidden;
}

.partners-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.partners-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.partners-track {
  display: flex;
  gap: 40px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  animation: scroll-track 22s linear infinite;
  width: 100%;
}
.partners-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes scroll-track {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SERVICES ─────────────────────────────────────────────────── */
.services { background: var(--beige); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-card--highlight {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9544 100%);
  border-color: var(--orange);
  color: var(--white);
}
.service-card--highlight h3 { color: var(--white); }
.service-card--highlight p  { color: rgba(255,255,255,.85); }
.service-card--highlight .service-features li { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.service-card--highlight .service-features li::before { background: rgba(255,255,255,.6); }

.service-icon { font-size: 2.2rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; color: var(--ink); }
.service-card p  { font-size: 0.9rem; line-height: 1.75; margin-bottom: 24px; }

.service-features { display: flex; flex-direction: column; gap: 0; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--beige-dark);
}
.service-features li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── HOW IT WORKS ─────────────────────────────────────────────── */
.how-it-works { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: start;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 32px 24px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  border: 1px solid var(--beige-dark);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--beige-deeper);
  line-height: 1;
  margin-bottom: 16px;
}

.step-content h3 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.step-content p  { font-size: 0.875rem; line-height: 1.7; }

.step-arrow {
  display: none; /* shown via CSS on desktop */
  position: absolute;
  right: -18px;
  top: 40px;
  font-size: 1.4rem;
  color: var(--teal);
  z-index: 1;
}
.step:not(:last-child) .step-arrow { display: block; }

/* ─── COMMUNITY ────────────────────────────────────────────────── */
.community { background: var(--beige); }

.community-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.community-content h2 { margin-bottom: 16px; }
.community-content > p { margin-bottom: 32px; font-size: 0.975rem; line-height: 1.8; }

.community-perks { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.community-perks li { display: flex; gap: 16px; align-items: flex-start; }
.perk-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.community-perks strong { display: block; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.community-perks p { font-size: 0.875rem; line-height: 1.6; margin: 0; }

/* Avatar grid */
.avatar-grid {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.av-a { background: var(--orange); }
.av-b { background: var(--teal); }
.av-c { background: #6B5CE7; }
.av-d { background: #E45C8A; }
.av-e { background: #2ECC71; }
.av-f { background: #F39C12; }

.community-count {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--beige-dark);
  margin-top: 8px;
}
.community-count strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--teal);
}
.community-count span { font-size: 0.8rem; color: var(--ink-muted); }

/* ─── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial {
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial--featured {
  background: var(--teal);
  border-color: var(--teal);
}

.stars { color: #F5A623; font-size: 1rem; letter-spacing: 2px; }
.testimonial--featured .stars { color: rgba(255,255,255,.8); }

.testimonial p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-style: italic;
}
.testimonial--featured p { color: rgba(255,255,255,.9); }

.testimonial footer { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial--featured .testimonial-avatar { background: rgba(255,255,255,.25); }

.testimonial footer strong { display: block; font-size: 0.875rem; color: var(--ink); }
.testimonial footer span  { font-size: 0.8rem; color: var(--ink-muted); }
.testimonial--featured footer strong { color: var(--white); }
.testimonial--featured footer span  { color: rgba(255,255,255,.65); }

/* ─── ABOUT ────────────────────────────────────────────────────── */
.about { background: var(--beige); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p  { font-size: 0.975rem; line-height: 1.8; margin-bottom: 16px; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--beige-dark);
}
.value {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}
.value span { font-size: 1.2rem; }
.value p { margin: 0; }

.mission-card {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.mission-icon { font-size: 3rem; }
.mission-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.mission-card cite { font-size: 0.8rem; color: rgba(247,241,230,.45); font-style: normal; }

/* ─── SUBMIT CTA ───────────────────────────────────────────────── */
.submit-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #2D2825 100%);
  padding: 100px 0;
}

.submit-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.submit-inner h2 { color: var(--white); margin-bottom: 16px; }
.submit-inner > p { color: rgba(247,241,230,.6); font-size: 1rem; line-height: 1.75; margin-bottom: 48px; }

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.submit-form input::placeholder,
.submit-form textarea::placeholder { color: rgba(255,255,255,.35); }
.submit-form select { color: rgba(255,255,255,.7); cursor: pointer; }
.submit-form select option { background: #2D2825; color: var(--white); }
.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,.12);
}
.submit-form textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 4px;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer { background: #111; padding: 72px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(247,241,230,.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(247,241,230,.5);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,241,230,.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(247,241,230,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(247,241,230,.3); }

/* ─── ANIMATIONS ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible { opacity: 1; transform: none; }

  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-up:nth-child(4) { transition-delay: 0.3s; }
  .fade-up:nth-child(5) { transition-delay: 0.4s; }
  .fade-up:nth-child(6) { transition-delay: 0.5s; }
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container      { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub            { margin-left: auto; margin-right: auto; }
  .hero-actions        { justify-content: center; }
  .hero-stats          { justify-content: center; }
  .hero-visual         { display: none; }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps               { grid-template-columns: repeat(2, 1fr); }
  .step-arrow          { display: none; }
  .community-inner     { grid-template-columns: 1fr; gap: 48px; }
  .community-visual    { max-width: 400px; margin: 0 auto; }
  .about-inner         { grid-template-columns: 1fr; gap: 48px; }
  .about-visual        { max-width: 360px; margin: 0 auto; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-grid   { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--beige);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--beige-dark);
    box-shadow: var(--shadow-lg);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 28px;
    font-size: 1rem;
    border-bottom: 1px solid var(--beige-dark);
  }
  .nav-links .nav-cta {
    margin: 16px 28px 0;
    display: block;
    text-align: center;
    border-radius: var(--radius);
    padding: 12px;
  }
  .hamburger { display: flex; }

  .services-grid    { grid-template-columns: 1fr; }
  .steps            { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial:last-child { grid-column: auto; max-width: none; }
  .partners-strip .container { flex-direction: column; gap: 12px; align-items: flex-start; }

  .blob--1 { width: 300px; height: 300px; }
  .blob--2 { width: 250px; height: 250px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .submit-inner { padding: 0 4px; }
}
