@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
  --ink: #2f2a2b;
  --heading: #4e3c40;
  --text: #514846;
  --muted: #7c716d;
  --line: #efdcd3;
  --paper: #fffaf6;
  --surface: #fff2ec;
  --blush: #ffe6df;
  --lavender: #f5edf9;
  --teal: #d86776;
  --teal-dark: #b85f70;
  --coral: #ff7f70;
  --sage: #8fa875;
  --shadow: 0 14px 34px rgba(202, 111, 97, 0.1);
  --peach: #ffb18f;
  --mint: #b9d9c2;
  --footer-bg: #63464f;
  --footer-text: #fff7f2;
  --footer-muted: #f0d8d1;
  --footer-accent: #ffd2cb;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(239, 220, 211, 0.82);
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
  background: rgba(255, 127, 112, 0.13);
}

.nav-links .nav-cta {
  margin-left: 4px;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f08aa7);
  box-shadow: none;
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #f06f63, #de789a);
  box-shadow: none;
  transform: translateY(1px) scale(0.99);
}

.nav-links .nav-cta:active {
  box-shadow: none;
  transform: translateY(2px) scale(0.98);
}

.nav-links .nav-cta[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #f06f63, #de789a);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, 76svh);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.58;
  pointer-events: none;
  animation: heroDecorFloat 13s ease-in-out infinite alternate;
}

.home-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 250, 246, 0.66) 0%, rgba(255, 250, 246, 0.34) 36%, rgba(255, 250, 246, 0.06) 62%, rgba(255, 250, 246, 0.01) 100%),
    url("images/mama-hero-2026.jpg");
}

.home-hero .eyebrow,
.home-hero h1,
.home-hero .hero-lead {
  text-shadow: 0 2px 18px rgba(255, 250, 246, 0.76);
}

.page-hero {
  min-height: 48svh;
}

.courses-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.68) 0%, rgba(255, 253, 248, 0.4) 48%, rgba(255, 253, 248, 0.06) 100%),
    url("images/course-web-design-2026.jpg?v=20260527b");
}

.instructors-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.68) 0%, rgba(255, 253, 248, 0.42) 48%, rgba(255, 253, 248, 0.06) 100%),
    url("images/course-remote-work-2026.jpg");
}

.testimonials-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.68) 0%, rgba(255, 253, 248, 0.42) 48%, rgba(255, 253, 248, 0.06) 100%),
    url("images/course-parent-child-2026-v3.webp");
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.68) 0%, rgba(255, 253, 248, 0.42) 50%, rgba(255, 253, 248, 0.06) 100%),
    url("images/mama-hero-2026.jpg");
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-info h2,
.contact-form h2 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero h1 span,
.split-layout h2 span {
  display: block;
}

.hero h1 {
  max-width: 7.8em;
  font-size: clamp(3rem, 6.2vw, 5rem);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.7vw, 4rem);
  max-width: 13em;
}

.hero-lead {
  max-width: 38rem;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
}

.hero-lead span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f08aa7);
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(1px) scale(0.99);
  background: linear-gradient(135deg, #f06f63, #de789a);
  box-shadow: none;
}

.btn-primary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: none;
}

.btn-secondary {
  color: var(--teal-dark);
  border: 1px solid rgba(216, 103, 118, 0.16);
  background: rgba(255, 238, 231, 0.82);
  box-shadow: none;
}

.btn-secondary:hover {
  transform: translateY(1px) scale(0.99);
  background: rgba(255, 226, 218, 0.94);
  box-shadow: none;
}

.btn-secondary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: none;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(540px, 100%);
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  min-width: 0;
  position: relative;
}

.hero-badges li:nth-child(2) {
  z-index: 2;
  transform: translateX(-24px);
}

.hero-badges li:nth-child(3) {
  transform: translateX(-48px);
}

.hero-badges img {
  width: 100%;
  filter: drop-shadow(0 8px 10px rgba(202, 111, 97, 0.1));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.hero-badges img:hover {
  transform: translateY(-3px) rotate(-1deg);
  filter: drop-shadow(0 12px 14px rgba(202, 111, 97, 0.14));
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.section:not(.surface):not(.section-intro):not(.reasons-section):not(.support-section):not(.cta-band) {
  background: var(--paper);
}

.surface {
  background: var(--surface);
}

.section-intro {
  padding-bottom: 64px;
  background: var(--paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.section h2,
.contact-info h2,
.contact-form h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-lead {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2 span,
.intro-copy h2 span,
.support-content h2 span,
.cta-band h2 span {
  display: block;
}

.section-intro {
  position: relative;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.74fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.intro-copy .section-lead {
  max-width: 42rem;
  margin-top: 24px;
}

.intro-visual {
  position: relative;
  border: 1px solid rgba(216, 103, 118, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(202, 111, 97, 0.08);
}

.intro-visual::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(216, 103, 118, 0.18);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reasons-section {
  background: var(--surface);
}

.reasons-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.reasons-heading h2 span {
  display: block;
  white-space: nowrap;
}

.reasons-heading .section-lead {
  margin-top: 22px;
}

.reasons-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-item {
  display: flex;
  flex-direction: column;
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(216, 103, 118, 0.18);
}

.reason-item img {
  width: 152px;
  height: 152px;
  margin-right: auto;
  margin-bottom: 16px;
  margin-left: auto;
  border-radius: 22px;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.reason-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: auto;
  margin-bottom: 14px;
  margin-left: auto;
  border: 1px solid rgba(216, 103, 118, 0.2);
  border-radius: 50%;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 230, 223, 0.62));
  box-shadow: 0 8px 18px rgba(202, 111, 97, 0.08);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reason-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.reason-item h3,
.course-card h3,
.instructor-card h3,
.step h3,
.testimonial-card p,
.faq-grid h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.35;
}

.reason-item h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.42rem);
}

.courses-grid,
.instructors-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.course-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card,
.instructor-card,
.testimonial-card,
.faq-grid article,
.contact-info,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(202, 111, 97, 0.06);
}

.course-card {
  overflow: hidden;
}

.course-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
}

.course-detail-grid .card-body {
  min-height: 340px;
}

.card-label {
  color: var(--teal);
  font-size: 0.72rem;
}

.course-card h3 {
  font-size: 1.25rem;
}

.course-detail-grid .course-card h3 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-left: 24px;
  font-size: clamp(1.35rem, 2vw, 1.62rem);
  line-height: 1.35;
}

.course-detail-grid .course-card h3::before,
.course-detail-grid .course-card h3::after {
  position: absolute;
  top: 0.16em;
  bottom: 0.16em;
  border-radius: 999px;
  background: var(--coral);
  content: "";
}

.course-detail-grid .course-card h3::before {
  left: 0;
  width: 5px;
}

.course-detail-grid .course-card h3::after {
  left: 9px;
  width: 2px;
}

.course-card p,
.instructor-card p,
.testimonial-card span,
.faq-grid p,
.mini-list {
  color: var(--muted);
}

.course-card .card-body > p:not(.card-label) {
  margin: 12px 0 0;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 1.1em;
  font-size: 0.92rem;
}

.card-button {
  width: fit-content;
  min-height: 44px;
  margin-top: 26px;
  padding: 0 22px;
  font-size: 0.92rem;
}

.course-detail-grid .card-button {
  align-self: center;
  min-width: 184px;
  min-height: 52px;
  padding: 0 30px;
  font-size: 1rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section-button {
  min-width: 260px;
}

.support-section {
  background: var(--surface);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.support-content h2 {
  font-size: clamp(2.15rem, 3.75vw, 3.2rem);
}

.support-content h2 span {
  white-space: nowrap;
}

.support-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(34px);
}

.support-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: right center;
}

.support-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.support-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 127, 112, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 252, 250, 0.78);
}

.support-list span,
.step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.support-list p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  min-height: 230px;
  padding: 24px;
  border-top: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 246, 0.78));
}

.step-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.step h3 {
  min-width: 0;
  margin: 0;
  font-size: 1.18rem;
}

.step p {
  margin: 18px 0 0;
  color: var(--muted);
}

.cta-band {
  color: var(--ink);
  background: var(--surface);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 76px);
}

.cta-band .section-kicker,
.cta-band h2 {
  color: var(--heading);
}

.cta-band h2 {
  max-width: 820px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.cta-lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.cta-action {
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
  justify-items: center;
  align-self: end;
  padding-top: 34px;
}

.cta-note {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid rgba(216, 103, 118, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-button {
  min-width: 320px;
  min-height: 88px;
  padding: 0 56px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  font-size: 1.28rem;
  box-shadow: none;
}

.testimonials-cta h2 {
  max-width: 740px;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.testimonials-cta .keep-line {
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(1px) scale(0.99);
  box-shadow: none;
}

.cta-button:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: none;
}

.instructor-card {
  padding: 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.instructor-card img {
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-card h3 {
  font-size: 1.25rem;
}

.instructor-card p:last-child {
  margin-bottom: 0;
}

.instructor-promise {
  align-items: center;
}

.instructor-promise .section-lead {
  margin-top: 24px;
}

.promise-image {
  overflow: hidden;
  border: 1px solid rgba(216, 103, 118, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.promise-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #fbfffd);
}

.testimonial-card img {
  grid-row: 1 / span 2;
  width: 132px;
  height: 132px;
  border-radius: 18px;
  background: var(--paper);
  object-fit: cover;
}

.testimonial-card p {
  font-size: 1.15rem;
}

.testimonial-card span {
  display: block;
  margin-top: 6px;
  font-weight: 700;
}

.compare-list {
  display: grid;
  gap: 12px;
}

.compare-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: clamp(24px, 4vw, 40px);
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.info-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.contact-demo-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(216, 103, 118, 0.18);
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: rgba(255, 238, 231, 0.58);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.contact-form form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 246, 0.72);
  color: var(--text);
  padding: 13px 14px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid article {
  padding: 24px;
}

.faq-grid h3 {
  font-size: 1.1rem;
}

.faq-grid p {
  margin-bottom: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 56px 0 34px;
  color: var(--footer-muted);
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 250, 246, 0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, auto);
  gap: 28px 42px;
  align-items: start;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--footer-text);
}

.footer-brand img {
  width: 220px;
  height: auto;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
}

.footer-brand p {
  max-width: 24rem;
  margin-top: 14px;
  color: var(--footer-text);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: end;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 10px 18px;
  max-width: 520px;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--footer-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--footer-accent);
  transform: translateY(2px);
}

.footer-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
}

.footer-contact {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 6px;
  justify-items: start;
  text-align: left;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 246, 0.16);
  color: var(--footer-muted);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  filter: blur(4px);
  transition: opacity 0.72s ease var(--reveal-delay, 0ms), transform 0.72s ease var(--reveal-delay, 0ms), filter 0.72s ease var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.course-card,
.testimonial-card,
.faq-grid article,
.step,
.contact-info,
.contact-form {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover,
.instructor-card:hover,
.testimonial-card:hover,
.faq-grid article:hover,
.step:hover,
.contact-info:hover,
.contact-form:hover {
  border-color: rgba(216, 103, 118, 0.24);
  box-shadow: 0 14px 30px rgba(202, 111, 97, 0.1);
  transform: translateY(-3px);
}

@keyframes heroDecorFloat {
  from {
    transform: scale(1.02) translate3d(-3px, 2px, 0);
  }

  to {
    transform: scale(1.06) translate3d(4px, -3px, 0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 72px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .courses-grid,
  .instructors-grid,
  .steps,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .intro-layout,
  .support-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .reasons-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reasons-heading {
    max-width: 680px;
  }

  .support-image {
    order: 2;
    transform: none;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 24px;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-contact {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-links {
    flex-direction: column;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .home-hero {
    min-height: 720px;
    background-position: 70% center;
    background-size: cover;
    background-image:
      linear-gradient(90deg, rgba(255, 250, 246, 0.16) 0%, rgba(255, 250, 246, 0.08) 42%, rgba(255, 250, 246, 0.02) 72%, rgba(255, 250, 246, 0) 100%),
      url("images/mama-hero-2026.jpg");
  }

  .home-hero .hero-inner {
    padding: 86px 0 58px;
  }

  .home-hero .hero-lead {
    max-width: 30rem;
  }

  .hero-decoration {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.44;
  }

  .hero-badges {
    width: min(500px, 86%);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
    background-position: center top;
  }

  .hero-decoration {
    inset: 0;
    width: 100%;
    height: 310px;
    opacity: 0.34;
  }

  .home-hero,
  .courses-hero,
  .instructors-hero,
  .testimonials-hero,
  .contact-hero {
    background-image:
      linear-gradient(180deg, rgba(255, 253, 248, 0.22) 0%, rgba(255, 253, 248, 0.42) 48%, rgba(255, 253, 248, 0.84) 78%, rgba(255, 253, 248, 1) 100%),
      var(--mobile-hero);
  }

  .home-hero {
    --mobile-hero: url("images/mama-hero-2026.jpg");
    background-position: 61% top;
    background-size: auto 340px;
    background-color: var(--paper);
    background-image:
      linear-gradient(180deg, rgba(255, 250, 246, 0) 0%, rgba(255, 250, 246, 0.01) 42%, rgba(255, 250, 246, 0.12) 64%, rgba(255, 250, 246, 0.58) 86%, rgba(255, 250, 246, 0.96) 100%),
      var(--mobile-hero);
  }

  .courses-hero {
    --mobile-hero: url("images/course-web-design-2026.jpg?v=20260527b");
  }

  .instructors-hero {
    --mobile-hero: url("images/course-remote-work-2026.jpg");
  }

  .testimonials-hero {
    --mobile-hero: url("images/course-parent-child-2026-v3.webp");
  }

  .contact-hero {
    --mobile-hero: url("images/mama-hero-2026.jpg");
  }

  .hero-inner {
    padding: 72px 0 48px;
  }

  .home-hero .hero-inner {
    padding-top: 238px;
  }

  .home-hero .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.65rem;
    max-width: 10.5em;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.45rem);
    line-height: 1.25;
    max-width: 11.5em;
  }

  .intro-layout {
    gap: 34px;
  }

  .intro-visual {
    border-radius: 18px;
  }

  .intro-visual::before {
    border-radius: 15px;
  }

  .hero-badges,
  .reasons-list,
  .courses-grid,
  .course-detail-grid,
  .instructors-grid,
  .testimonial-grid,
  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .reasons-list {
    gap: 26px;
  }

  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 316px);
    margin-right: auto;
    margin-left: auto;
    gap: 0;
  }

  .hero-badges img {
    max-width: 122px;
    margin: 0 auto;
  }

  .hero-badges li:nth-child(2) {
    transform: translateX(-14px);
  }

  .hero-badges li:nth-child(3) {
    transform: translateX(-28px);
  }

  .reason-item {
    padding-bottom: 26px;
  }

  .reason-item img {
    width: 118px;
    height: 118px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 14px;
  }

  .testimonials-cta h2 {
    font-size: clamp(1.25rem, 5vw, 1.48rem);
  }

  .testimonials-cta .keep-line {
    white-space: nowrap;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    grid-row: auto;
    width: 150px;
    height: 150px;
  }

  .step {
    min-height: auto;
  }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
  }

  .cta-inner {
    flex-direction: column;
  }

  .cta-band h2 {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }

  .support-content h2 span {
    white-space: normal;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
    min-height: 68px;
  }

  .cta-action {
    width: 100%;
    padding-top: 8px;
  }

  .card-body,
  .course-detail-grid .card-body {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px 16px;
  }

  .footer-brand img {
    width: 184px;
  }

  .footer-links {
    gap: 8px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-decoration {
    animation: none;
  }
}
