/* =================================================================
   Dermaprof — Professional Scalp Care
   Arkusz stylów
   ================================================================= */

/* ---------- Zmienne ---------- */
:root {
  --cream:        #F3EDE3;
  --cream-deep:   #EAE1D2;
  --bone:         #FBF8F2;
  --ink:          #23291F;   /* ciemna zieleń-grafit */
  --ink-soft:     #4A4F40;
  --forest:       #2E382C;   /* sekcje ciemne */
  --forest-deep:  #232B22;
  --sage:         #7E8C6F;
  --sage-light:   #A6B097;
  --gold:         #B58E54;   /* akcent premium */
  --gold-light:   #C9A876;
  --line:         #D8CFBE;
  --line-dark:    rgba(255,255,255,0.12);
  --white-soft:   #F4EFE6;

  --radius:       18px;
  --radius-lg:    26px;
  --maxw:         1180px;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--bone); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 110px 0; position: relative; }

.section-head { max-width: 660px; margin-bottom: 60px; }
.section-intro { color: var(--ink-soft); font-size: 1.06rem; margin-top: 18px; }

/* ---------- Typografia ---------- */
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--sage); }

h3 { font-family: var(--font-display); font-weight: 500; }

p { color: var(--ink-soft); }
.about-text p, .process-intro p { margin-bottom: 18px; color: var(--ink-soft); }
.about-text p:last-of-type { margin-bottom: 0; }

.caption-note {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 26px;
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--gold); color: var(--bone); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(181,142,84,.6); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); }

.btn-light { background: var(--gold); color: var(--forest-deep); }
.btn-light:hover { background: var(--bone); transform: translateY(-2px); }

/* ============================ NAGŁÓWEK ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(243,237,227,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 8px 0;
}
.site-header.scrolled {
  background: rgba(243,237,227,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .28s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none;
  cursor: pointer;
  justify-content: center; align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.hero-blob-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--sage-light), transparent 68%);
  top: -160px; right: -140px;
}
.hero-blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--gold-light), transparent 70%);
  bottom: -200px; left: -130px;
  opacity: 0.4;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 28px;
}
.hero-title em { font-style: italic; color: var(--sage); }
.hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================ O NAS ============================ */
.about { background: var(--bone); }
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: stretch;
  margin-bottom: 70px;
}
.about-stat {
  background: var(--forest);
  color: var(--white-soft);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-stat::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,142,84,.35), transparent 70%);
  top: -90px; right: -80px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-light);
}
.stat-label { color: rgba(244,239,230,.78); margin-top: 16px; font-size: 0.96rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(35,41,31,.4); }
.feature-icon {
  display: flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.13rem; margin-bottom: 10px; color: var(--ink); }
.feature-card p { font-size: 0.93rem; }

/* ============================ USŁUGI ============================ */
.services { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 46px -28px rgba(35,41,31,.45);
  border-color: var(--sage-light);
}
.service-title { font-size: 1.34rem; color: var(--ink); line-height: 1.25; }
.service-instead {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 8px;
}
.service-desc { font-size: 0.95rem; margin-top: 16px; flex-grow: 1; }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag-list li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--cream-deep);
  color: var(--ink-soft);
}

.service-card-premium {
  background: var(--forest);
  border-color: var(--forest);
  position: relative;
  overflow: hidden;
}
.service-card-premium::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,142,84,.4), transparent 70%);
  bottom: -120px; right: -100px;
}
.service-card-premium .service-title { color: var(--white-soft); position: relative; }
.service-card-premium .service-desc { color: rgba(244,239,230,.8); position: relative; }
.service-card-premium .tag-list li { background: rgba(255,255,255,.08); color: var(--gold-light); }
.service-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--forest-deep);
  background: var(--gold-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  position: relative;
}

/* ============================ JAK PRACUJEMY ============================ */
.process { background: var(--bone); }
.process-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
}
.process-intro .btn { margin-top: 12px; }
.process-stat {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.process-stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--sage);
  line-height: 1;
}
.process-stat-label { font-size: 0.92rem; color: var(--ink-soft); max-width: 230px; }

.steps { display: flex; flex-direction: column; gap: 4px; }
.step {
  display: flex;
  gap: 26px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.step:last-child { border-bottom: none; }
.step:hover { padding-left: 14px; }
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 44px;
}
.step-body h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 7px; }
.step-body p { font-size: 0.93rem; }

/* ============================ ACADEMY ============================ */
.academy {
  background: var(--forest-deep);
  color: var(--white-soft);
}
.academy .section-title { color: var(--white-soft); }
.academy .section-title em { color: var(--sage-light); }
.academy .section-intro { color: rgba(244,239,230,.74); }

.academy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}
.academy-badges li {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-dark);
  color: rgba(244,239,230,.85);
  background: rgba(255,255,255,.03);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.program-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
}
.program-card-advanced {
  background: linear-gradient(165deg, rgba(181,142,84,.16), rgba(255,255,255,.03));
  border-color: rgba(181,142,84,.3);
}
.program-tier {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-light);
}
.program-title {
  font-size: 1.6rem;
  color: var(--white-soft);
  margin: 12px 0 14px;
  line-height: 1.2;
}
.program-desc { color: rgba(244,239,230,.74); font-size: 0.96rem; }
.program-list { margin-top: 24px; }
.program-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  font-size: 0.93rem;
  color: rgba(244,239,230,.88);
  border-bottom: 1px solid var(--line-dark);
}
.program-list li:last-child { border-bottom: none; }
.program-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.transformation {
  margin-top: 60px;
  background: linear-gradient(150deg, var(--forest), var(--forest-deep));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  text-align: center;
}
.transformation-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white-soft);
  max-width: 640px;
  margin: 6px auto 18px;
  line-height: 1.2;
}
.transformation-text {
  color: rgba(244,239,230,.78);
  max-width: 680px;
  margin: 0 auto 30px;
}

/* ============================ ZMIANA KOMUNIKACJI ============================ */
.comms { background: var(--cream); }

.comms-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--bone);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn span { opacity: 0.55; font-weight: 500; }
.filter-btn:hover { border-color: var(--sage); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.filter-btn.is-active span { opacity: 0.7; }

.comms-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.term-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.term-card:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 30px -22px rgba(35,41,31,.5);
}
.term-card.is-hidden { display: none; }

.term-cat {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  width: 96px;
  text-align: center;
}
.term-cat-krytyczne   { background: #E7D3C8; color: #8A4B2E; }
.term-cat-wazne       { background: #E3DEC8; color: #7A6A2C; }
.term-cat-strategiczne{ background: #CDD8C8; color: #3F5A3C; }

.term-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-grow: 1;
}
.term-old {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: line-through;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
}
.term-arrow { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.term-new {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.term-remove {
  color: #A0432A;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Narracja */
.narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 46px;
}
.narrative-block {
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}
.narrative-old {
  background: var(--cream-deep);
  border: 1px dashed var(--line);
}
.narrative-new {
  background: var(--forest);
}
.narrative-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}
.narrative-old .narrative-label { color: #A0432A; }
.narrative-new .narrative-label { color: var(--gold-light); }
.narrative-block p {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
}
.narrative-old p { color: var(--ink-soft); }
.narrative-new p { color: var(--white-soft); }

/* ============================ KONTAKT ============================ */
.contact { background: var(--bone); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.info-item h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 6px;
}
.info-item p { color: var(--ink); font-size: 1.05rem; }
.info-item a { transition: color .2s var(--ease); }
.info-item a:hover { color: var(--gold); }

.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
}
.form-heading {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 26px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bone);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #A89E8C; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(126,140,111,.14);
}
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%237E8C6F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* pole-pułapka anti-spam — niewidoczne dla użytkownika */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-status.ok    { color: #3F5A3C; }
.form-status.error { color: #A0432A; }

/* ============================ STOPKA ============================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(244,239,230,.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-mark { color: var(--white-soft); }
.footer-brand .brand-sub { color: var(--sage-light); }
.footer-brand p { margin-top: 16px; font-size: 0.93rem; max-width: 340px; color: rgba(244,239,230,.6); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col li { font-size: 0.92rem; }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.85rem;
}
.footer-tags { color: var(--sage-light); }

/* ============================ ANIMACJE ============================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================ RESPONSYWNOŚĆ ============================ */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .program-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .narrative { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 78px 0; }
  .container { padding: 0 20px; }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 70px;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    transform: translateY(-130%);
    transition: transform .38s var(--ease);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a {
    padding: 16px 28px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .main-nav a::after { display: none; }

  .feature-grid,
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .term-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .term-cat { width: auto; }
  .term-flow { gap: 8px; }
  .term-arrow { display: none; }
  .term-new::before { content: '↳  '; color: var(--gold); }

  .transformation { padding: 40px 26px; }
  .contact-form-wrap { padding: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
