/* =========================================================
   MakerCraft — çocuklar için yüz yüze robotik eğitimi
   Renkler logodan: lacivert #0D2A5C, turuncu #F7941D
   ========================================================= */
:root {
  --navy: #0d2a5c;
  --navy-700: #0a2149;
  --navy-900: #071735;
  --orange: #f7941d;
  --orange-600: #e07b0a;
  --orange-50: #fff4e6;
  --cream: #fffaf3;
  --sky: #eef4ff;
  --text: #1c2740;
  --muted: #5a6882;
  --line: #e7eaf1;
  --white: #fff;
  --c0-bg: #e8f0ff; --c0: #2f6fed;
  --c1-bg: #fff1e0; --c1: #e07b0a;
  --c2-bg: #e3f6ec; --c2: #15935a;
  --c3-bg: #f1eaff; --c3: #7c3aed;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(13, 42, 92, .06);
  --shadow: 0 12px 32px -12px rgba(13, 42, 92, .18);
  --shadow-lg: 0 30px 60px -20px rgba(13, 42, 92, .28);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section-soft { background: var(--cream); }
.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.split-grid { display: grid; gap: 56px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.center-actions { text-align: center; margin-top: 40px; }

.section-head { margin-bottom: 44px; max-width: 680px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split > div { max-width: 640px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--orange-600); background: var(--orange-50); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.back { margin-top: 32px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 20px; background: var(--cream); border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(247, 148, 29, .7); }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--orange-600); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { height: 58px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; color: var(--text); background: none; border: 0;
}
.main-nav a:hover, .sub-toggle:hover { color: var(--orange-600); }
.main-nav li.active > a, .main-nav li.active > .sub-toggle { color: var(--orange-600); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.sub-menu a:hover, .sub-menu a.active { background: var(--orange-50); color: var(--orange-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 6px; }
.nav-cta-mobile { display: none; }

.flash-banner { text-align: center; padding: 12px 20px; font-weight: 700; }
.flash-banner.success { background: #e3f6ec; color: #0f6b40; }
.flash-banner.error { background: #fdeaea; color: #a01c1c; }
.flash-banner.warning { background: var(--orange-50); color: #8a4a00; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(1000px 500px at 85% -10%, #ffe7c7 0%, transparent 60%),
  radial-gradient(800px 500px at -10% 110%, #e2ecff 0%, transparent 60%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--orange-600);
  font-family: var(--font-head); font-weight: 600; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 span { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 10px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 Q50 1 100 7 T198 5' stroke='%23F7941D' stroke-width='4' fill='none' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.hero-points svg { color: #fff; background: var(--c2); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.hero-visual { position: relative; }
.hero-blob {
  position: absolute; inset: 8% -6% -4% 8%; background: var(--orange); border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  opacity: .14; animation: blob 12s ease-in-out infinite;
}
@keyframes blob { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; transform: rotate(6deg); } }
.hero-card { position: relative; background: #fff; border-radius: 28px; padding: 26px 28px 28px; box-shadow: var(--shadow-lg); }
.hero-mascot { margin: -6px auto 12px; width: 82%; }
.hero-card h3 { text-align: center; }
.hero-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.hero-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; background: var(--sky); padding: 10px 14px; border-radius: 14px; }
.hero-steps span {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head);
}
.float-shape { position: absolute; border-radius: 50%; animation: floaty 6s ease-in-out infinite; }
.float-shape.s1 { width: 22px; height: 22px; background: var(--orange); top: -14px; left: 12%; }
.float-shape.s2 { width: 14px; height: 14px; background: var(--c0); bottom: 14%; left: -18px; animation-delay: -2s; }
.float-shape.s3 { width: 34px; height: 34px; border: 5px solid var(--c2); top: 30%; right: -16px; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------- Feature / value cards ---------- */
.feature-card, .value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s; }
.feature-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card p, .value-card p { color: var(--muted); margin: 0; }
.icon-bubble { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px; background: var(--orange-50); color: var(--orange-600); flex: none; }
.icon-bubble.sm { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.c0 .icon-bubble { background: var(--c0-bg); color: var(--c0); }
.c1 .icon-bubble { background: var(--c1-bg); color: var(--c1); }
.c2 .icon-bubble { background: var(--c2-bg); color: var(--c2); }
.c3 .icon-bubble { background: var(--c3-bg); color: var(--c3); }
.value-no { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--orange); opacity: .5; display: block; margin-bottom: 4px; }
.value-card.c0 .value-no { color: var(--c0); } .value-card.c2 .value-no { color: var(--c2); } .value-card.c3 .value-no { color: var(--c3); }

/* ---------- Course cards ---------- */
.course-card, .event-card, .blog-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.course-card:hover, .event-card:hover, .blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-cover, .event-cover, .blog-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c0-bg); }
.course-cover img, .event-cover img, .blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-cover img, .event-card:hover .event-cover img, .blog-card:hover .blog-cover img { transform: scale(1.04); }
.c1.course-cover, .c1.blog-cover, .c1.course-image, .c1.staff-photo { background: var(--c1-bg); }
.c2.course-cover, .c2.blog-cover, .c2.course-image, .c2.staff-photo { background: var(--c2-bg); }
.c3.course-cover, .c3.blog-cover, .c3.course-image, .c3.staff-photo { background: var(--c3-bg); }
.age-chip {
  position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .9rem; padding: 5px 14px; border-radius: 999px;
}
.course-body, .event-body, .blog-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 a, .event-body h3 a, .blog-body h3 a { color: var(--navy); }
.course-body h3 a:hover, .event-body h3 a:hover, .blog-body h3 a:hover { color: var(--orange-600); }
.course-body p, .event-body p, .blog-body p { color: var(--muted); font-size: .98rem; }
.course-meta, .event-meta { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.course-meta li, .event-meta li { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg, .event-meta svg { color: var(--orange); }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.groups { font-size: .88rem; font-weight: 700; color: var(--muted); }
.groups.open { color: var(--c2); }
.groups.open::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }

/* ---------- Steps ---------- */
.how { background: var(--navy); color: #cfd8ea; position: relative; overflow: hidden; }
.how h2 { color: #fff; }
.how .eyebrow { background: rgba(247, 148, 29, .16); color: var(--orange); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px 24px; }
.step h3 { color: #fff; }
.step p { margin: 0; }
.step-no {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--orange);
  color: #fff; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin-bottom: 18px;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 52px; right: -24px; width: 24px; border-top: 3px dashed rgba(247, 148, 29, .5);
}

/* ---------- Events ---------- */
.date-badge {
  position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 14px; padding: 6px 12px; text-align: center;
  font-family: var(--font-head); font-weight: 600; color: var(--orange-600); line-height: 1.1; box-shadow: var(--shadow-sm); text-transform: uppercase; font-size: .8rem;
}
.date-badge strong { display: block; font-size: 1.5rem; color: var(--navy); }
.event-cover { background: var(--orange-50); }
.past-badge { position: absolute; top: 14px; right: 14px; background: rgba(13, 42, 92, .82); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.event-card.past .event-cover img { filter: grayscale(.4); }
.list-title { font-size: 1.6rem; margin-bottom: 24px; }
.past-title { margin-top: 64px; }

/* ---------- Gallery ---------- */
.chip-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.chip-filter a, .chip-filter button {
  border: 2px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; padding: 8px 18px; border-radius: 999px;
}
.chip-filter a.active, .chip-filter button.active, .chip-filter a:hover, .chip-filter button:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(transparent, rgba(7, 23, 53, .75)); opacity: 0; transition: opacity .25s;
}
.gallery-item:hover .gallery-caption, .gallery-item:focus .gallery-caption { opacity: 1; }
.gallery-item.is-hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(7, 23, 53, .92); display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 700; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Staff ---------- */
.staff-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; transition: transform .2s, box-shadow .2s; }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.staff-photo { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: var(--c0-bg); display: grid; place-items: center; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--orange-50); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.initials { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--navy); }
.staff-title { color: var(--orange-600); font-weight: 800; margin-bottom: 10px; }
.staff-bio { color: var(--muted); font-size: .95rem; }
.staff-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); }

/* ---------- FAQ ---------- */
.faq-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-home-intro p { color: var(--muted); }
.faq-mascot { margin-top: 32px; width: 240px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: #ffd29c; box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0; font-size: 1.05rem; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 18px 22px; background: none; border: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq-icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-50); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--orange-600); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.js .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; padding: 0 22px; color: var(--muted); }
.faq-item.open .faq-a-inner, .no-js .faq-a-inner { padding-bottom: 20px; }
.faq-more { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.faq-more h2 { font-size: 1.35rem; margin-bottom: 4px; }
.faq-more p { margin: 0; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-cover { display: grid; place-items: center; padding: 24px; }
.cover-title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); text-align: center; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.tag { display: inline-block; background: var(--orange-50); color: var(--orange-600); font-weight: 800; font-size: .82rem; padding: 3px 12px; border-radius: 999px; }
.blog-body .link-arrow { margin-top: auto; }
.pager { margin-top: 40px; display: flex; justify-content: center; }
.pager .pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pager .pagination li > * { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; }
.pager .pagination .active > * { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-hero .tag { margin-bottom: 14px; }
.post-meta { color: var(--muted); margin: 0; }
.post-cover { border-radius: var(--radius); margin-bottom: 32px; width: 100%; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.post-share a { background: var(--sky); padding: 6px 14px; border-radius: 999px; font-size: .92rem; }

/* ---------- Prose ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 14px; margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--orange-50); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose a { color: var(--orange-600); text-decoration: underline; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #c8d3e8; padding: 64px 0 92px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--orange); opacity: .12; top: -160px; right: -80px; }
.page-hero::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .06); bottom: 20px; left: 6%; }
.page-hero h1 { color: #fff; max-width: 820px; position: relative; }
.page-hero p { max-width: 680px; font-size: 1.1rem; margin: 0; position: relative; }
.page-hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 50px; color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-bottom: 14px; position: relative; }
.breadcrumb a { color: var(--orange); font-weight: 700; }
.breadcrumb span { color: #9fb0cf; }

/* ---------- About / vision ---------- */
.about-visual img { border-radius: 28px; box-shadow: var(--shadow); background: #fff; }
.vm-card { border-radius: 28px; padding: 40px; }
.vm-card.vision { background: var(--c0-bg); }
.vm-card.mission { background: var(--orange-50); }
.vm-card p { font-size: 1.12rem; margin: 0; }
.vm-card .icon-bubble { background: #fff; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.check-list svg { flex: none; color: #fff; background: var(--c2); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

/* ---------- Course detail ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.course-image { position: relative; border-radius: 24px; overflow: hidden; background: var(--c0-bg); margin-bottom: 36px; aspect-ratio: 16 / 10; }
.course-image img { width: 100%; height: 100%; object-fit: cover; }
.course-main h2 { font-size: 1.7rem; margin-top: 8px; }
.course-main .prose { margin-bottom: 36px; }
.module-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.module { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--cream); border-radius: 16px; border: 1px solid #f7e6cf; }
.module-no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; }
.module h3 { font-size: 1.08rem; margin: 6px 0 4px; }
.module p { margin: 0; color: var(--muted); font-size: .96rem; }
.course-side { position: sticky; top: calc(var(--header-h) + 20px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.fact-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.fact-list li { display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--navy); }
.fact-list small { display: block; font-weight: 700; color: var(--muted); font-size: .82rem; }
.side-trial { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.side-trial strong { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.side-trial p { color: var(--muted); font-size: .95rem; margin: 4px 0 14px; }
.past-note { font-weight: 800; color: var(--muted); }

/* ---------- Schedule table (modal) ---------- */
.schedule-table { display: grid; gap: 10px; }
.schedule-row { display: grid; grid-template-columns: 1.6fr 1fr .8fr .9fr auto; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
.schedule-row.head { border: 0; padding-top: 0; padding-bottom: 0; font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.schedule-row:not(.head):hover { border-color: #ffd29c; background: var(--cream); }
.s-title strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.s-title small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .85rem; margin-right: 10px; }
.s-action { text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 14px; margin: 24px 0 32px; }
.info-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--cream); color: var(--navy); font-weight: 800; }
.info-item small { display: block; color: var(--muted); font-weight: 700; font-size: .82rem; }
.trial-note { background: var(--navy); color: #cfd8ea; border-radius: var(--radius); padding: 28px; }
.trial-note h3 { color: #fff; }
.form-card h2 { font-size: 1.6rem; }
.map-wrap { margin-top: 48px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* ---------- Forms ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.form legend { font-family: var(--font-head); font-weight: 600; color: var(--orange-600); margin-bottom: 10px; font-size: 1rem; }
.form-row { margin-bottom: 14px; display: flex; flex-direction: column; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form label { font-weight: 800; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 2px solid var(--line);
  border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247, 148, 29, .15); }
.form .has-error input, .form .has-error select { border-color: #e04848; }
.field-error { color: #c62828; font-size: .86rem; font-weight: 700; margin-top: 4px; }
.field-error:empty { display: none; }
.consent-row { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600 !important; font-size: .88rem !important; color: var(--muted) !important; margin: 6px 0 4px; }
.consent-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.consent-row a { color: var(--orange-600); text-decoration: underline; }
.form .btn-block { margin-top: 14px; }
.form-alert { background: #fdeaea; color: #a01c1c; padding: 10px 14px; border-radius: 12px; font-weight: 700; margin-bottom: 14px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha-img { border-radius: 10px; border: 2px solid var(--line); height: 50px; width: auto; background: var(--orange-50); }
.captcha-refresh { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--navy); }
.captcha-refresh:hover { border-color: var(--orange); color: var(--orange-600); }
.captcha-box input { flex: 1; min-width: 150px; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; overflow-y: auto; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(7, 23, 53, .6); backdrop-filter: blur(3px); animation: fade .2s; }
.modal-dialog { position: relative; width: 100%; max-width: 640px; background: #fff; border-radius: 26px; padding: 34px 34px 30px; box-shadow: var(--shadow-lg); margin: auto; animation: pop .25s ease; }
.modal-wide { max-width: 900px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.modal-close:hover { background: var(--orange-50); color: var(--orange-600); }
.modal-head { text-align: center; margin-bottom: 20px; }
.modal-head h2 { font-size: 1.7rem; margin-bottom: 6px; }
.modal-head p { color: var(--muted); margin: 0; }
.modal-mascot { width: 150px; margin: -8px auto 8px; }
.selected-group { background: var(--orange-50); border: 2px dashed #ffc782; border-radius: 14px; padding: 10px 16px; margin-bottom: 18px; }
.selected-group small { display: block; font-weight: 800; color: var(--orange-600); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.selected-group strong { color: var(--navy); }
.trial-success { text-align: center; padding: 20px 0 6px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--c2); color: #fff; display: grid; place-items: center; animation: pop .35s ease; }
.trial-success p { color: var(--muted); font-size: 1.08rem; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 88px; }
.section-soft + .cta-band { padding-top: 88px; background: linear-gradient(var(--cream) 50%, #fff 50%); }
.cta-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(120deg, var(--orange) 0%, #ff7a3d 100%); color: #fff; border-radius: 32px; padding: 52px 56px;
}
.cta-inner::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .12); right: -70px; top: -110px; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { margin: 0; max-width: 620px; font-size: 1.08rem; color: #fff4e6; }
.cta-inner .btn { flex: none; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid #f4e6d2; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img { width: 170px; margin-bottom: 14px; mix-blend-mode: multiply; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.site-footer h4 { font-size: 1.1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-weight: 700; }
.site-footer ul a:hover { color: var(--orange-600); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-weight: 700; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.socials a:hover { background: var(--orange); color: #fff; }
.footer-bottom { border-top: 1px solid #f4e6d2; padding: 18px 0; font-size: .9rem; color: var(--muted); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); font-weight: 700; }

/* ---------- Floating ---------- */
.to-top, .wa-float { position: fixed; right: 20px; z-index: 40; display: grid; place-items: center; border-radius: 50%; border: 0; box-shadow: var(--shadow); }
.to-top { bottom: 20px; width: 46px; height: 46px; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.wa-float { bottom: 78px; width: 56px; height: 56px; background: #25d366; color: #fff; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a, .sub-toggle { padding: 10px 8px; font-size: .94rem; }
  .header-cta { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .section { padding: 64px 0; }
  .logo img { height: 50px; }
  .nav-toggle { display: inline-grid; }
  .header-cta { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; margin: 0; visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.08rem; border-radius: 12px; }
  .main-nav li.active > a { background: var(--orange-50); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 0 14px; }
  .has-sub.open .sub-menu { display: block; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open:hover .sub-menu { display: block; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
  .hero-grid, .split-grid, .faq-home, .contact-grid, .course-layout { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .course-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .schedule-row { grid-template-columns: 1fr 1fr; }
  .schedule-row.head { display: none; }
  .schedule-row [data-label]:not(.s-title)::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 800; color: var(--muted); text-transform: uppercase; }
  .s-title { grid-column: 1 / -1; }
  .s-action { grid-column: 1 / -1; text-align: left; }
  .s-action .btn { width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .header-cta { display: none; }
  .logo img { height: 46px; }
  .grid-2, .grid-3, .grid-4, .gallery-grid, .steps, .form-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .modal { padding: 0; align-items: stretch; }
  .modal-dialog { border-radius: 0; padding: 56px 18px 24px; min-height: 100%; }
  .page-hero { padding: 44px 0 76px; }
  .vm-card { padding: 28px; }
  .cta-band { padding-bottom: 52px; }
  .section-soft + .cta-band { padding-top: 52px; }
  .cta-inner { padding: 32px 22px; border-radius: 24px; }
  .cta-inner .btn { width: 100%; }
}
