/* ==========================================================================
   SENSE OF WONDER KIDS KAMAKURA — Landing Page Styles
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors – earthy, nature-inspired palette */
  --color-forest: #1b4332;
  --color-forest-light: #2d6a4f;
  --color-moss: #40916c;
  --color-leaf: #52b788;
  --color-leaf-light: #74c69d;
  --color-mint: #b7e4c7;
  --color-cream: #fefae0;
  --color-sand: #faedcd;
  --color-warm: #dda15e;
  --color-warm-dark: #bc6c25;
  --color-earth: #606c38;
  --color-text: #2b2b2b;
  --color-text-light: #555;
  --color-white: #ffffff;
  --color-bg: #f7f5f0;
  --color-bg-alt: #eef2e6;
  --color-card-shadow: rgba(27, 67, 50, .08);

  /* Typography */
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1rem, 4vw, 2rem);
  --container-max: 1000px;

  /* Transitions */
  --ease: cubic-bezier(.25, .46, .45, .94);
  --duration: .6s;

  /* Radius */
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--color-moss);
  text-transform: uppercase;
  margin-bottom: .5rem;
  text-align: center;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-forest);
}

.section__title--left {
  text-align: left;
}

.section__title--sub {
  font-size: .9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.highlight {
  color: var(--color-warm-dark);
  position: relative;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.fade-in:nth-child(2) {
  transition-delay: .1s;
}

.fade-in:nth-child(3) {
  transition-delay: .2s;
}

.fade-in:nth-child(4) {
  transition-delay: .3s;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
  color: var(--color-white);
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 20px rgba(221, 161, 94, .35);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(221, 161, 94, .45);
}

.btn--primary:active {
  transform: translateY(0) scale(.99);
}

.btn--large {
  font-size: 1.15rem;
  padding: 1.15rem 3rem;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('images/hero-2-mini.webp') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(27, 67, 50, .55) 0%,
      rgba(27, 67, 50, .7) 60%,
      rgba(27, 67, 50, .85) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 2rem var(--container-px);
}

.hero__label {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--color-mint);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.hero__title--accent {
  color: var(--color-cream);
  display: block;
}

.hero__sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--color-leaf-light);
  margin-bottom: .75rem;
}

.hero__desc {
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2rem;
}

.hero .btn {
  margin-top: .5rem;
}

/* Scroll indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.hero__scroll-hint span {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .4);
  display: block;
  position: relative;
  overflow: hidden;
}

.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-cream);
  animation: scrollHint 2s infinite;
}

@keyframes scrollHint {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

.hero__scroll-hint p {
  font-size: .65rem;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

/* ==========================================================================
   CONCEPT
   ========================================================================== */
.concept__body {
  max-width: 740px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 2;
}

.concept__body p+p {
  margin-top: 1rem;
}

.concept__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.concept__feature {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}

.concept__feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--color-card-shadow);
}

.concept__icon {
  font-size: 2.4rem;
  margin-bottom: .75rem;
}

.concept__feature h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-forest);
  margin-bottom: .5rem;
}

.concept__feature p {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.9;
  text-align: left;
}

/* ==========================================================================
   TIMELINE / SCHEDULE
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: .55rem;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-leaf-light), var(--color-moss));
  border-radius: 3px;
}

.timeline__item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -1.45rem;
  top: 1.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-leaf);
  border: 3px solid var(--color-bg-alt);
  z-index: 1;
}

.timeline__marker {
  margin-bottom: .25rem;
}

.timeline__time {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-moss);
}

.timeline__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  transition: transform .3s var(--ease);
}

.timeline__card:hover {
  transform: translateX(4px);
}

.timeline__card--has-image {
  padding: 0;
  overflow: hidden;
}

@media (min-width: 769px) {
  .timeline__card--has-image {
    display: grid;
    grid-template-columns: 2fr 3fr;
  }
}

.timeline__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 769px) {
  .timeline__image {
    height: 100%;
    min-height: 220px;
  }
}

.timeline__card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline__emoji {
  font-size: 1.6rem;
  margin-bottom: .4rem;
}

.timeline__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-forest);
  margin-bottom: .35rem;
}

.timeline__card p {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

.schedule__notes {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, .6);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--color-text-light);
}

.schedule__notes p+p {
  margin-top: .25rem;
}

/* ==========================================================================
   LUNCH
   ========================================================================== */
.lunch__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.lunch__image img {
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--color-card-shadow);
}

.lunch__text p {
  font-size: .95rem;
  color: var(--color-text-light);
  margin-bottom: .75rem;
  line-height: 1.85;
}

.lunch__quote {
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--color-warm);
  font-style: italic;
  color: var(--color-forest-light) !important;
}

/* ==========================================================================
   PROFILE
   ========================================================================== */
.profile__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.profile__image img {
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--color-card-shadow);
}

.profile__lead {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-forest);
  margin-bottom: 1rem;
}

.profile__text p {
  font-size: .92rem;
  color: var(--color-text-light);
  margin-bottom: .75rem;
  line-height: 1.85;
}

.profile__closing {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-forest) !important;
  margin-top: 1rem !important;
}

#profile {
  padding-top: 0;
}

#profile .container {
  padding-top: 60px;
  border-top: 1px solid #6a857a;
}

/* ==========================================================================
   PROMISES
   ========================================================================== */
.promises__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.promise-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-leaf), var(--color-warm));
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--color-card-shadow);
}

.promise-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-mint);
  line-height: 1;
  margin-bottom: .75rem;
}

.promise-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-forest);
  margin-bottom: .75rem;
}

.promise-card p {
  font-size: .88rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================================================
   PRICING & FAQ
   ========================================================================== */
.pricing__cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.pricing__card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  text-align: center;
  flex: 0 1 260px;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  transition: transform .3s var(--ease);
}

.pricing__card:hover {
  transform: translateY(-3px);
}

.pricing__card--highlight {
  border: 2px solid var(--color-leaf-light);
}

.pricing__age {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: .5rem;
}

.pricing__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-forest);
}

.pricing__price span {
  font-size: 2.2rem;
  color: var(--color-warm-dark);
}

.pricing__note {
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-light);
  margin-bottom: 3rem;
}

.faq {
  max-width: 640px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-forest);
  margin-bottom: 1.25rem;
  text-align: center;
}

.faq__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.faq__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

.faq__item h4 {
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--color-forest);
  margin-bottom: .2rem;
}

.faq__item p {
  font-size: .88rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq__small {
  font-size: .8rem !important;
  margin-top: .25rem;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: linear-gradient(135deg,
      var(--color-forest) 0%,
      var(--color-forest-light) 50%,
      var(--color-moss) 100%);
  text-align: center;
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta__title .highlight {
  color: var(--color-cream);
}

.cta__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 2rem;
}

.cta .btn--primary {
  background: linear-gradient(135deg, var(--color-warm), var(--color-warm-dark));
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-forest);
  color: rgba(255, 255, 255, .6);
  text-align: center;
  padding: 2rem 0;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .25rem;
}

.footer__copy {
  font-size: .75rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .lunch__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lunch__text .section__title {
    text-align: center;
  }

  .lunch__text .section__label {
    text-align: center;
  }

  .profile__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile__image {
    max-width: 280px;
    margin: 0 auto;
  }

  .profile__lead,
  .profile__text p {
    text-align: left;
  }

  .promises__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline__image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero__title {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .concept__features {
    grid-template-columns: 1fr;
  }

  .pricing__cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing__card {
    width: 100%;
    max-width: 300px;
  }
}