/* Shaparak theme: header, footer and home page (design: ui.png) */
:root {
  --shp-ink: #251a63;
  --shp-purple: #6a2fd6;
  --shp-pink: #ec2f86;
  --shp-orange: #ff7e00;
  --shp-green: #3cb32e;
  --shp-blue: #1589ea;
  --shp-shadow: 0 10px 30px rgba(62, 92, 170, 0.14);
}

.shp-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ───────── Header ───────── */
.site-header { padding: 10px 12px; pointer-events: none; }
.site-header .site-header-shell {
  max-width: 1160px;
  height: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shp-shadow);
  pointer-events: auto;
}
.site-header .site-header-brand,
.site-header .site-header-actions { height: 62px; }
.site-header .site-header-brand span span:first-child { color: var(--shp-ink); font-size: 1.25rem; }
.site-header .site-nav-link { color: var(--shp-ink); font-weight: 700; border-radius: 999px; }
.site-header .site-nav-link:hover { color: var(--shp-pink); background: #ffeaf4; }
.site-header .site-nav-link.is-active {
  color: #fff;
  background: linear-gradient(180deg, #ff6bb0, var(--shp-pink));
  box-shadow: 0 5px 12px rgba(236, 47, 134, 0.35);
}
.site-header .site-header-actions a {
  background: linear-gradient(180deg, #7bdc45, #2fa324);
  box-shadow: 0 4px 0 #238019, 0 8px 16px rgba(47, 163, 36, 0.25);
}
.site-header .site-nav-link { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.site-nav-icon { flex: none; width: 26px; height: 26px; transition: transform 0.2s; }
.site-header .site-nav-link:hover .site-nav-icon { transform: translateY(-2px) rotate(-8deg) scale(1.1); }

@media (min-width: 1024px) {
  .site-header .site-header-shell { padding-inline: 18px; gap: 12px; }
  .site-header .site-nav-link { padding: 7px 10px; }
}
/* Not enough room for icons beside seven links */
@media (min-width: 1024px) and (max-width: 1179px) {
  .site-nav-icon { display: none; }
}

@media (max-width: 1023px) {
  .site-header .site-header-shell { border-radius: 28px; padding-inline: 10px 14px; }
  .site-header .nav-toggle { width: 44px; height: 44px; margin-inline-end: 8px; border-radius: 50%; background: linear-gradient(180deg, #fff, #eef2ff); box-shadow: 0 4px 12px rgba(62, 92, 170, 0.18); }
  .site-header .nav-toggle:focus-visible { outline: 3px solid #c9b3ff; outline-offset: 2px; }

  /* Compact floating card under the menu button */
  .site-header .site-nav {
    inset-inline: 0 auto;
    top: calc(100% + 10px);
    width: min(244px, calc(100vw - 40px));
    padding: 0 8px;
    border: 0 solid #fff;
    border-radius: 26px;
    background: linear-gradient(165deg, #ffffff 40%, #f3efff 75%, #ffeef7);
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition: max-height 0.35s ease, transform 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
  }
  .site-header .site-nav.is-open {
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    padding-block: 8px;
    border-width: 2px;
    opacity: 1;
    transform: none;
    box-shadow: 0 18px 44px rgba(45, 40, 120, 0.25);
  }
  .site-header .site-nav ul { gap: 2px; }
  .site-header .site-nav-link { gap: 10px; padding: 6px 8px; border-radius: 18px; font-size: 0.9rem; }
  .site-header .site-nav-link:hover { transform: none; }
  .site-nav-icon { width: 34px; height: 34px; }
  .site-header .site-nav-link.is-active .site-nav-icon { border-radius: 50%; background: #fff; padding: 2px; }
  .site-header .site-nav-link:not(.is-active)::after { content: ''; width: 7px; height: 7px; margin-inline-start: auto; margin-inline-end: 6px; border: solid #b4b1d6; border-width: 0 0 2px 2px; transform: rotate(45deg); }
  .site-nav.is-open li:nth-child(7) { transition-delay: 0.29s; }
}

/* ───────── Home background; hero slides under the header ───────── */
.shp-home {
  background: #f6f8ff;
  background-image:
    radial-gradient(ellipse 60% 14% at 0% 22%, #ffe3f2, transparent 70%),
    radial-gradient(ellipse 60% 14% at 100% 36%, #dff2ff, transparent 70%),
    radial-gradient(ellipse 60% 12% at 10% 55%, #e9e2ff, transparent 70%),
    radial-gradient(ellipse 60% 12% at 90% 74%, #fff1d6, transparent 70%);
}
.shp-home .site-header { margin-bottom: -82px; }

/* ───────── Hero ───────── */
.shp-hero { position: relative; padding-top: 92px; isolation: isolate; }
.shp-hero__sky {
  position: absolute; inset: 0 0 38px 0; z-index: -1;
  width: 100%; height: calc(100% - 38px); object-fit: cover; object-position: bottom;
}
.shp-hero__liberty, .shp-hero__bigben, .shp-hero__bus { position: absolute; pointer-events: none; z-index: 0; }
.shp-hero__liberty { left: 0.5%; bottom: 150px; width: clamp(60px, 8vw, 130px); }
.shp-hero__bigben { right: 0.5%; bottom: 120px; width: clamp(54px, 7.5vw, 120px); }
.shp-hero__bus { right: 8%; bottom: 112px; width: clamp(90px, 13vw, 200px); }
.shp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 8px;
  min-height: 450px;
}
.shp-hero__mascot { align-self: start; padding: 14px 36px 0 0; }
.shp-hero__mascot img { width: 100%; max-width: 230px; height: auto; filter: drop-shadow(0 14px 18px rgba(20, 70, 140, 0.25)); }
.shp-hero__art img { width: 108%; max-width: none; height: auto; margin-left: 0; filter: drop-shadow(0 16px 20px rgba(20, 70, 140, 0.2)); }
.shp-hero__copy { text-align: center; }
.shp-hero__title { font-weight: 700; line-height: 1.28; font-size: clamp(2.2rem, 5vw, 4rem); }
.shp-hero__line {
  display: block;
  color: var(--shp-purple);
  filter:
    drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff)
    drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
    drop-shadow(0 5px 3px rgba(40, 30, 110, 0.3));
}
.shp-hero__line--1 { color: var(--shp-orange); }
.shp-hero__line--2 { color: var(--shp-pink); font-size: 1.12em; }
.shp-hero__subtitle {
  display: inline-block; margin: 14px 0 18px; padding: 8px 22px;
  border-radius: 999px; background: #ffe45c; color: var(--shp-ink);
  font-weight: 700; box-shadow: 0 5px 0 #f4b91d;
}
.shp-hero__copy .shp-btn { display: flex; width: max-content; margin-inline: auto; }

.shp-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 940px; margin-top: -8px; }
.shp-pill {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px; border: 0; border-radius: 22px; background: #fff;
  box-shadow: var(--shp-shadow); color: var(--shp-ink); font: inherit; font-weight: 700; font-size: 0.9rem;
}
a.shp-pill, button.shp-pill { cursor: pointer; transition: transform 0.2s; }
a.shp-pill:hover, button.shp-pill:hover { transform: translateY(-4px); }

/* ───────── Buttons ───────── */
.shp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 28px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; color: #fff; cursor: pointer;
  transition: transform 0.18s, filter 0.18s;
}
.shp-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.shp-btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.shp-btn--orange { background: linear-gradient(180deg, #ffb41f, #ff7a00); box-shadow: 0 4px 0 #d95f00, 0 10px 18px rgba(255, 122, 0, 0.3); }
.shp-btn--green { background: linear-gradient(180deg, #82df49, #31a526); box-shadow: 0 4px 0 #258219; }
.shp-btn--purple { background: linear-gradient(180deg, #a669ff, #6b2cd8); box-shadow: 0 4px 0 #511db0; }
.shp-btn--outline { background: #fff; color: var(--shp-ink); border: 2px solid #ffc247; box-shadow: var(--shp-shadow); }

/* ───────── Sections & headings ───────── */
.shp-section { position: relative; padding-block: 52px 20px; }
.shp-section--tight { padding-top: 34px; }
.shp-section--last { padding-bottom: 60px; }
.shp-head { text-align: center; margin-bottom: 26px; }
.shp-head p { color: var(--shp-ink); opacity: 0.85; margin-top: 4px; }
.shp-head p strong { color: var(--shp-pink); }
.shp-title { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; color: var(--shp-ink); }
.shp-title--stars::before, .shp-title--stars::after { content: ''; width: 30px; height: 30px; background: url('/images/ui/star.svg') center / contain no-repeat; }
.c-purple { color: #3d1f9e; }
.c-orange { color: var(--shp-orange); }
.c-pink { color: var(--shp-pink); }
.shp-center { text-align: center; margin-top: 28px; }

.tone-pink { --t: #ec2f86; --bg: #ffe6f1; }
.tone-green { --t: #2f9e2a; --bg: #e8f8da; }
.tone-purple { --t: #7a3be0; --bg: #efe6ff; }
.tone-blue { --t: #1589ea; --bg: #e0f1ff; }
.tone-yellow { --t: #f2a100; --bg: #fff3c9; }
.tone-orange { --t: #f26f00; --bg: #ffeadb; }

/* Feature cards */
.shp-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.shp-feature {
  text-align: center; padding: 22px 16px; border-radius: 28px;
  background: linear-gradient(180deg, #fff, var(--bg)); border: 2px solid #fff; box-shadow: var(--shp-shadow);
  transition: transform 0.2s;
}
.shp-feature:hover { transform: translateY(-6px); }
.shp-feature__icon { display: grid; place-items: center; width: 94px; height: 94px; margin: 0 auto 12px; border-radius: 50%; background: #fff; box-shadow: var(--shp-shadow); }
.shp-feature h3 { font-size: 1.1rem; font-weight: 700; color: var(--shp-ink); margin-bottom: 6px; }
.shp-feature p { font-size: 0.88rem; line-height: 1.8; color: #55568a; }

/* Course cards */
.shp-course {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 8px 8px 18px; border-radius: 28px; background: linear-gradient(180deg, var(--bg), #fff 75%);
  border: 2px solid #fff; box-shadow: var(--shp-shadow); transition: transform 0.2s;
}
.shp-course:hover { transform: translateY(-6px); }
.shp-course__media { display: block; width: 100%; border-radius: 22px; overflow: hidden; }
.shp-course__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.shp-course h3 { flex: 1; padding: 12px 6px; font-size: 0.92rem; font-weight: 700; color: var(--shp-ink); }

/* Desktop: no card button; the whole card opens the course */
@media (min-width: 1024px) {
  .shp-course { position: relative; padding-bottom: 6px; }
  .shp-course > .shp-btn { display: none; }
  .shp-course__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
  .shp-course:focus-within { outline: 3px solid #a669ff; outline-offset: 3px; }
}

/* Stats */
.shp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shp-shadow); }
.shp-stats li { display: flex; flex-direction: column; align-items: center; padding: 20px 10px; background: linear-gradient(180deg, #fff, var(--bg)); }
.shp-stats li + li { border-inline-start: 1px solid #fff; }
.shp-stats strong { margin-top: 6px; font-size: clamp(1.35rem, 2.6vw, 2rem); color: var(--t); }
.shp-stats span { font-size: 0.9rem; font-weight: 700; color: var(--shp-ink); }

/* Why Shaparak: video / list / boy (right to left) */
.shp-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.shp-why__video { position: relative; }
.shp-video { position: relative; display: block; width: 100%; padding: 6px; border: 0; border-radius: 24px; background: #fff; box-shadow: var(--shp-shadow); cursor: pointer; }
.shp-video img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 19px; }
.shp-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #5b2bd0; box-shadow: 0 8px 20px rgba(20, 10, 80, 0.3);
}
.shp-play svg { fill: currentColor; }
.shp-why__tag { position: absolute; top: -18px; right: -8px; transform: rotate(6deg); padding: 7px 16px; border-radius: 14px; background: linear-gradient(180deg, #ff77b8, var(--shp-pink)); color: #fff; font-weight: 700; font-size: 0.85rem; }
.shp-why__video .shp-why__plant { position: absolute; width: 110px; right: -34px; bottom: -28px; z-index: 2; pointer-events: none; }
.shp-why__copy .shp-title { justify-content: flex-start; margin-bottom: 14px; }
.shp-why__copy ul { margin-bottom: 20px; }
.shp-why__copy li { display: flex; gap: 10px; align-items: flex-start; padding-block: 7px; color: var(--shp-ink); font-weight: 500; font-size: 0.94rem; }
.shp-why__copy li span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--shp-green); color: #fff; }
.shp-why__art { position: relative; aspect-ratio: 1 / 1; max-width: 400px; width: 100%; margin-inline: auto; }
.shp-why__art img { position: absolute; }
.shp-why__blob { inset: 0; width: 100%; height: 100%; }
.shp-why__books { bottom: 6%; left: 10%; width: 80%; }
.shp-why__boy { bottom: 26%; left: 16%; width: 66%; filter: drop-shadow(0 12px 14px rgba(50, 40, 100, 0.22)); }
.shp-why__art .shp-why__plant { width: 30%; left: -6%; bottom: 2%; transform: scaleX(-1); }
.shp-why__bubble { position: absolute; top: 4%; right: 0; padding: 14px 18px; border-radius: 50%; background: linear-gradient(180deg, #5cc6ff, #1782e6); color: #fff; font-weight: 700; text-align: center; line-height: 1.25; box-shadow: var(--shp-shadow); }
.shp-why__bubble::after { content: ''; position: absolute; left: 12px; bottom: -8px; border: 10px solid transparent; border-top-color: #1782e6; transform: rotate(35deg); }

/* FAQ */
.shp-faq { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; max-width: 1020px; margin-inline: auto; align-items: start; }
.shp-faq__aside { position: relative; display: flex; flex-direction: column; align-items: center; }
.shp-faq__q { position: absolute; width: 56px; left: -8px; top: 0; }
.shp-faq__mascot { position: relative; z-index: 2; width: 170px; margin-bottom: -34px; }
.shp-faq__sign { display: grid; place-items: center; width: 100%; aspect-ratio: 300 / 230; padding-bottom: 12%; background: url('/images/ui/wood-sign.svg') center / contain no-repeat; text-align: center; }
.shp-faq__sign span { font-size: 1.35rem; font-weight: 700; line-height: 1.7; color: #4a2508; transform: rotate(-3deg); }
.shp-faq__aside .shp-btn { margin-top: 10px; }
.shp-faq .faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.shp-faq .faq-item { border: 0; border-radius: 22px; background: #fff; box-shadow: var(--shp-shadow); overflow: hidden; }
.shp-faq .faq-item[hidden] { display: none; }
.shp-faq .faq-trigger { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 16px; text-align: start; }
.shp-faq .faq-question { flex: 1; color: var(--shp-ink); font-weight: 700; font-size: 0.98rem; }
.shp-faq .faq-panel-inner { padding: 4px 20px 16px; }
.shp-faq .shp-center { margin-top: 18px; }

/* Sliders */
.shp-slider { position: relative; }
.shp-track { display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shp-track::-webkit-scrollbar { display: none; }
.shp-track > * { scroll-snap-align: start; min-width: 0; }
.shp-track--quotes { grid-auto-columns: calc((100% - 54px) / 4); }
.shp-track--five { grid-auto-columns: calc((100% - 72px) / 5); }
.shp-arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -26px; border: 0; border-radius: 50%; background: linear-gradient(180deg, #a669ff, #6b2cd8); color: #fff; box-shadow: var(--shp-shadow); cursor: pointer; }
.shp-arrow[hidden] { display: none; }
.shp-arrow:disabled { opacity: 0.35; cursor: default; }
.shp-arrow--prev { right: -16px; }
.shp-arrow--next { left: -16px; }

.shp-quote { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 16px; border-radius: 24px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-quote__top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shp-quote__avatar { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(160deg, #ffb6d9, #a77bff); border: 4px solid #fff; box-shadow: var(--shp-shadow); color: #fff; font-size: 1.5rem; font-weight: 700; }
.shp-quote__stars { display: flex; gap: 2px; }
.shp-quote cite { margin-top: 8px; font-style: normal; font-weight: 700; color: var(--shp-pink); }
.shp-quote small { color: #8587ad; font-size: 0.75rem; }
.shp-quote p { margin-top: 8px; font-size: 0.86rem; line-height: 1.9; color: var(--shp-ink); }

.shp-reel { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shp-shadow); background: #dbe7ff; }
.shp-reel img, .shp-reel video { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s; }
.shp-reel:hover img { transform: scale(1.05); }
.shp-reel__title { position: absolute; inset: auto 0 0 0; padding: 10px; background: linear-gradient(180deg, rgba(120, 60, 220, 0.88), rgba(85, 35, 180, 0.96)); color: #fff; font-size: 0.78rem; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.shp-post { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 6px 16px; border-radius: 22px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-post__media { display: block; width: 100%; border-radius: 17px; overflow: hidden; }
.shp-post__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.3s; }
.shp-post:hover img { transform: scale(1.05); }
.shp-post h3 { flex: 1; margin: 10px 6px; font-size: 0.88rem; font-weight: 700; line-height: 1.8; color: var(--shp-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shp-post__more { padding: 4px 18px; border: 1.5px solid #8ccfff; border-radius: 999px; font-size: 0.76rem; font-weight: 700; color: var(--shp-blue); }

/* Banner slider on the new background */
.shp-home .home-banners { padding-top: 28px; }

/* ───────── Floating decorations ───────── */
.shp-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.shp-float { position: absolute; width: 34px; animation: shp-float 5s ease-in-out infinite; }
.shp-d-l1 { left: 4%; top: 70px; width: 48px; }
.shp-d-l2 { left: 2.5%; bottom: 40px; animation-delay: -2s; }
.shp-d-r1 { right: 4%; top: 55px; animation-delay: -1s; }
.shp-d-r2 { right: 2%; bottom: 70px; width: 46px; animation-delay: -3s; }
.shp-d-cloud-l { left: -50px; bottom: 0; width: 190px; opacity: 0.85; }
.shp-d-cloud-r { right: -60px; top: 30px; width: 170px; opacity: 0.85; animation-delay: -2.5s; }
.shp-d-faq1 { left: 4%; top: 55%; width: 70px; }
.shp-d-hero1 { left: 36%; top: 110px; }
.shp-d-hero2 { right: 31%; top: 130px; width: 24px; animation-delay: -1.5s; }
.shp-d-hero3 { left: 3%; top: 120px; width: 58px; animation-delay: -3s; }
.shp-d-hero4 { right: 4%; top: 46%; width: 26px; animation-delay: -2s; }
@keyframes shp-float { 50% { transform: translateY(-12px) rotate(6deg); } }
.shp-bob { animation: shp-bob 4s ease-in-out infinite; }
@keyframes shp-bob { 50% { transform: translateY(-10px); } }

/* ───────── Responsive ───────── */
@media (max-width: 1023px) {
  .shp-hero__grid { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .shp-hero__mascot { display: none; }
  .shp-hero__copy { order: 2; }
  .shp-hero__art { order: 1; max-width: 520px; margin-inline: auto; }
  .shp-hero__art img { width: 100%; margin: 0; }
  .shp-hero__liberty, .shp-hero__bigben { bottom: auto; top: 100px; width: 62px; opacity: 0.9; }
  .shp-hero__bus { display: none; }
  .shp-hero__copy { padding-bottom: 28px; }
  .shp-pills, .shp-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shp-why { grid-template-columns: 1fr 1fr; }
  .shp-why__art { grid-column: 1 / -1; order: -1; max-width: 300px; }
  .shp-faq { grid-template-columns: 1fr; }
  .shp-faq__aside { order: 2; max-width: 250px; margin-inline: auto; }
  .shp-track--quotes { grid-auto-columns: calc((100% - 18px) / 2); }
  .shp-track--five { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 639px) {
  .shp-wrap { padding-inline: 16px; }
  .shp-pills, .shp-cards4 { gap: 12px; }
  .shp-pill { flex-direction: column; gap: 4px; padding: 10px 6px; font-size: 0.78rem; }
  .shp-feature { padding: 16px 10px; }
  .shp-feature__icon { width: 72px; height: 72px; }
  .shp-feature__icon img { width: 54px; height: 54px; }
  .shp-feature h3 { font-size: 0.95rem; }
  .shp-feature p { font-size: 0.78rem; }
  .shp-course h3 { font-size: 0.78rem; }
  .shp-course .shp-btn { padding: 7px 12px; font-size: 0.75rem; }
  .shp-stats { grid-template-columns: 1fr 1fr; }
  .shp-why { grid-template-columns: 1fr; }
  .shp-why__video .shp-why__plant { right: -10px; width: 80px; }
  .shp-track--quotes { grid-auto-columns: 80%; }
  .shp-track--five { grid-auto-columns: 64%; }
  .shp-arrow--prev { right: -8px; }
  .shp-arrow--next { left: -8px; }
  .shp-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shp-float, .shp-bob { animation: none; }
}

/* ═════════ Inner pages ═════════ */
.shp-page {
  background: #f6f8ff;
  background-image:
    radial-gradient(ellipse 55% 30% at 0% 30%, #ffe3f2, transparent 70%),
    radial-gradient(ellipse 55% 30% at 100% 55%, #dff2ff, transparent 70%),
    radial-gradient(ellipse 55% 25% at 10% 85%, #ece4ff, transparent 70%);
  background-attachment: fixed;
}
.shp-page main { color: var(--shp-ink); }
.shp-page main > div.max-w-site, .shp-page main > div > .max-w-site, .shp-page .reels-page__inner { max-width: 1200px; }

/* Page banner */
.shp-banner {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: center;
  border: 3px solid #fff; box-shadow: var(--shp-shadow);
  background: url('/images/ui/hero-sky.svg') center bottom / cover no-repeat;
}
.shp-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url('/images/ui/star.svg') left 38% top 22px / 28px no-repeat,
    url('/images/ui/star-pink.svg') left 28% top 52% / 20px no-repeat,
    url('/images/ui/mini-butterfly.svg') left 46% top 30% / 42px no-repeat;
}
.shp-banner h1 {
  color: var(--shp-purple);
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 4px 3px rgba(40, 30, 110, 0.25));
}
.shp-banner h1 + p { display: inline-block; padding: 8px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); color: var(--shp-ink); font-weight: 500; }
.shp-banner span.rounded-full { background: #ffe45c; color: var(--shp-ink); box-shadow: 0 3px 0 #f4b91d; }
.shp-banner h1 ~ p.text-xs { display: block; width: max-content; margin-top: 12px; padding: 4px 14px; border-radius: 999px; background: #fff; }
.shp-banner--media > div > div:last-child { background: none; }

/* Cards */
.shp-page main .shadow-card { border-radius: 26px; box-shadow: var(--shp-shadow); }
.shp-page main .shadow-card.bg-white { border: 2px solid #fff; }
.shp-page main article.shadow-card { transition: transform 0.2s; }
.shp-page main article.shadow-card:hover { transform: translateY(-5px); }
.shp-page main .shadow-card .rounded-xl { border-radius: 18px; }

/* Text colours */
.shp-page main .text-brand-dark { color: #3d1f9e; }
.shp-page main .text-slate-500, .shp-page main .text-slate-600, .shp-page main .text-slate-700 { color: #4c4d7d; }

/* Soft chips and icon tiles */
.shp-page main .bg-brand\/10 { background-color: #ffe6f1; }
.shp-page main .bg-brand\/10.text-brand, .shp-page main .bg-brand\/10 .text-brand { color: var(--shp-pink); }
.shp-page main span.bg-brand\/10.rounded-xl { background-image: linear-gradient(160deg, #ff8cc3, var(--shp-pink)); color: #fff; box-shadow: 0 6px 12px rgba(236, 47, 134, 0.28); }
.shp-page main span.bg-brand-green\/15.rounded-xl { background-image: linear-gradient(160deg, #9be15d, #31a526); color: #fff; box-shadow: 0 6px 12px rgba(49, 165, 38, 0.25); }
.shp-page main span.bg-brand-blue\/40.rounded-xl { background-image: linear-gradient(160deg, #7fd0ff, var(--shp-blue)); color: #fff; box-shadow: 0 6px 12px rgba(21, 137, 234, 0.25); }

/* Buttons */
.shp-page main :is(a, button).bg-brand, .shp-page main a.bg-gradient-to-b {
  background: linear-gradient(180deg, #ffb41f, #ff7a00); color: #fff; box-shadow: 0 4px 0 #d95f00;
}
.shp-page main :is(a, button)[class*="bg-brand-green"]:not([class*="bg-brand-green/"]) {
  background: linear-gradient(180deg, #82df49, #31a526); color: #fff; box-shadow: 0 4px 0 #258219;
}
.shp-page main :is(a, button).rounded-full[class*="border-brand"] { background: #fff; border-color: #ffc247; color: var(--shp-ink); }
.shp-page main a[href^="/gallery"].bg-brand { background: linear-gradient(180deg, #ff6bb0, var(--shp-pink)); box-shadow: 0 5px 12px rgba(236, 47, 134, 0.35); }
.shp-page main a[href^="/gallery"].rounded-full:not(.bg-brand) { background: #fff; box-shadow: var(--shp-shadow); }

/* Forms */
.shp-page main :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { border: 2px solid #e4e6fb; border-radius: 16px; background: #fbfbff; }
.shp-page main :is(input, textarea, select):focus { border-color: #a669ff; box-shadow: 0 0 0 4px rgba(166, 105, 255, 0.18); }

/* Blog article */
.shp-page .blog-article-content :is(h2, h3, h4) { color: #3d1f9e; }
.shp-page .blog-article-content a { color: var(--shp-pink); }
.shp-page .blog-article-content img { border-radius: 20px; }

/* Reels */
.shp-page .reels-page { background: transparent; }
.shp-page .reels-page__header {
  padding: 34px 20px; border-radius: 32px; border: 3px solid #fff; box-shadow: var(--shp-shadow); text-align: center;
  background: url('/images/ui/hero-sky.svg') center bottom / cover no-repeat;
}
.shp-page .reels-page__title { color: var(--shp-purple); filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff); }
.shp-page .reels-page__subtitle { color: var(--shp-ink); }
.shp-page .reels-related__title { color: #3d1f9e; }
.shp-page .reel-card__frame { border: 4px solid #fff; border-radius: 22px; box-shadow: var(--shp-shadow); }
.shp-page .reel-card__play { color: #5b2bd0; background: rgba(255, 255, 255, 0.95); }
.shp-page .reel-info-card { border: 2px solid #fff; border-radius: 28px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-page .reel-info-card__title, .shp-page .reel-info-card__content-title { color: #3d1f9e; }
.shp-page .reels-breadcrumb a { color: var(--shp-pink); }

/* 404 / message pages */
.shp-status { display: flex; flex-direction: column; align-items: center; padding: 30px 16px 60px; text-align: center; }
.shp-status__mascot { position: relative; z-index: 1; width: 170px; height: auto; margin-bottom: -30px; filter: drop-shadow(0 12px 14px rgba(20, 70, 140, 0.22)); }
.shp-status__card { width: 100%; max-width: 620px; padding: 52px 24px 36px; border-radius: 32px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-status__card h1 { font-size: 1.9rem; font-weight: 700; color: var(--shp-purple); }
.shp-status__card h1.shp-status__code { font-size: 4.5rem; line-height: 1.3; color: var(--shp-pink); }
.shp-status__card p { max-width: 460px; margin: 10px auto 24px; line-height: 2; }
.shp-status__card pre { overflow-x: auto; margin-bottom: 24px; padding: 14px; border-radius: 16px; background: #f1f3fd; text-align: left; font-size: 0.75rem; }

@media (max-width: 767px) {
  .shp-banner { min-height: 0; text-align: center; border-radius: 26px; }
  .shp-banner .max-w-2xl { padding-inline: 18px; }
  .shp-banner--courses, .shp-banner--blog, .shp-banner--gallery, .shp-banner--contact { padding-bottom: 150px; }
  .shp-banner--courses::after, .shp-banner--blog::after, .shp-banner--gallery::after, .shp-banner--contact::after { left: calc(50% - 75px); width: 150px; height: 140px; }
  .shp-banner h1 ~ p.text-xs { margin-inline: auto; }
  .shp-banner::before { display: none; }
}

/* Banner text spacing (pages whose banner has a single text column) */
.shp-banner > .max-w-2xl { padding: 30px 40px; }

@media (max-width: 767px) {
  .shp-banner > .max-w-2xl { padding: 24px 18px 0; }
}

@media (max-width: 767px) {
  .shp-banner--media > div { gap: 0; }
  .shp-banner--media > div > div:first-child { padding: 24px 18px 6px; }
  .shp-banner--media > div > div:last-child { padding-bottom: 14px; }
  .shp-banner--media img { height: 160px; }
  /* Blog article cover: leave room for long titles */
  .shp-page article .relative.overflow-hidden > img { min-height: 260px; object-fit: cover; }
}

/* ───────── One content width: header, pages and footer line up ───────── */
:root { --shp-content: 1160px; --shp-gutter: 20px; }
.site-header { padding-inline: var(--shp-gutter); }
.site-header .site-header-shell { width: 100%; max-width: var(--shp-content); }
.shp-wrap,
body main .max-w-site,
body main .reels-page__inner {
  width: 100%;
  max-width: calc(var(--shp-content) + 2 * var(--shp-gutter));
  margin-inline: auto;
  padding-inline: var(--shp-gutter);
}
@media (max-width: 639px) { :root { --shp-gutter: 16px; } }

/* ───────── Courses page ───────── */
.shp-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shp-highlights li {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 12px;
  border-radius: 24px; border: 2px solid #fff; background: linear-gradient(160deg, #fff 20%, var(--bg));
  box-shadow: var(--shp-shadow); font-weight: 700; color: var(--shp-ink);
}
.shp-catalog { padding-block: 44px 38px; }
.shp-catalog__count { display: inline-block; margin-top: 10px; padding: 4px 16px; border-radius: 999px; background: #ffe45c; box-shadow: 0 3px 0 #f4b91d; font-size: 0.8rem; font-weight: 700; }
.shp-catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.shp-offer {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: 32px;
  border: 3px solid #fff; background: linear-gradient(180deg, var(--bg), #fff 72%);
  box-shadow: var(--shp-shadow); transition: transform 0.22s, box-shadow 0.22s;
}
.shp-offer:hover { transform: translateY(-8px); box-shadow: 0 22px 42px rgba(62, 60, 170, 0.22); }
.shp-offer__media { display: block; overflow: hidden; border-radius: 24px; }
.shp-offer__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.35s; }
.shp-offer:hover .shp-offer__media img { transform: scale(1.06); }
.shp-offer__name {
  position: relative; z-index: 1; align-self: center; min-width: 96px; margin-top: -20px; padding: 5px 22px;
  border: 3px solid #fff; border-radius: 999px; background: var(--t); color: #fff; text-align: center;
  font-size: 1.05rem; font-weight: 700; box-shadow: 0 8px 16px rgba(40, 30, 110, 0.22);
}
.tone-yellow .shp-offer__name { color: #4a2c00; background: #ffc524; }
.shp-offer__body { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 12px; padding: 12px 6px 8px; text-align: center; }
.shp-offer h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.8; color: var(--shp-ink); }
.shp-offer p { font-size: 0.84rem; line-height: 1.9; color: #55568a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shp-offer__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.shp-offer__meta li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #fff; box-shadow: 0 3px 10px rgba(62, 92, 170, 0.12); font-size: 0.74rem; font-weight: 500; color: var(--shp-ink); }
.shp-offer__meta svg { color: var(--t); }
.shp-offer__price { display: flex; align-items: baseline; gap: 6px; }
.shp-offer__price del { font-size: 0.75rem; color: #9a9cc0; }
.shp-offer__price strong { font-size: 1.2rem; color: var(--shp-orange); }
.shp-offer__price small { font-size: 0.72rem; }
.shp-offer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: auto; }
.shp-offer__actions .shp-btn { padding-inline: 6px; }
.shp-offer__more { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 2px solid #ddd3ff; border-radius: 999px; background: #fff; color: var(--shp-purple); font-size: 0.85rem; font-weight: 700; transition: background-color 0.2s; }
.shp-offer__more:hover { background: #f3efff; }

.shp-help {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 22px 30px; border-radius: 32px; border: 3px solid #fff; box-shadow: var(--shp-shadow);
  background: url('/images/ui/star.svg') left 34% top 16px / 24px no-repeat, linear-gradient(110deg, #7a3be0, #b04be0 55%, #ec2f86);
  color: #fff;
}
.shp-help__mascot { width: 120px; height: auto; filter: drop-shadow(0 10px 12px rgba(30, 0, 80, 0.35)); }
.shp-help h2 { margin-bottom: 6px; font-size: 1.35rem; font-weight: 700; }
.shp-help p { font-size: 0.92rem; line-height: 1.9; }
.shp-help__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shp-btn--white { background: #fff; color: var(--shp-purple); box-shadow: 0 4px 0 #d8ccff; }

@media (max-width: 1099px) {
  .shp-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin-inline: auto; }
  .shp-help { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .shp-help__actions { justify-content: center; }
}
@media (max-width: 767px) {
  .shp-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shp-highlights li { flex-direction: column; gap: 4px; padding: 12px 6px; font-size: 0.82rem; text-align: center; }
}
@media (max-width: 539px) {
  .shp-catalog__grid { grid-template-columns: 1fr; max-width: 360px; }
}


/* ═════════ Cloud hero, raised cards and colourful decorations ═════════ */
.shp-hero__sky { inset: 0 0 70px 0; height: calc(100% - 70px); }
.shp-hero__grid { position: static; z-index: auto; min-height: 480px; padding-bottom: 36px; }
.shp-hero__mascot, .shp-hero__art, .shp-hero__copy { position: relative; }
.shp-hero__art { z-index: 1; align-self: end; margin-bottom: -26px; }
.shp-hero__mascot { z-index: 3; }
.shp-hero__copy { z-index: 4; }
.shp-hero > .shp-deco { z-index: 1; }
.shp-hero__liberty { bottom: 150px; left: 1%; width: clamp(70px, 10vw, 150px); }
.shp-hero__bigben { bottom: 130px; width: clamp(60px, 8.5vw, 135px); }
.shp-hero__bus { bottom: 138px; z-index: 1; }

/* Chunky three-colour title */
.shp-hero__line {
  color: #ffd322;
  filter:
    drop-shadow(2px 0 0 #24359c) drop-shadow(-2px 0 0 #24359c) drop-shadow(0 2px 0 #24359c) drop-shadow(0 -2px 0 #24359c)
    drop-shadow(0 5px 0 #24359c) drop-shadow(0 8px 6px rgba(20, 30, 100, 0.35));
}
.shp-hero__line--1 { color: #ffd322; }
.shp-hero__line--2 {
  color: #ff3fa0;
  filter:
    drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)
    drop-shadow(0 6px 0 #6b21b8) drop-shadow(0 8px 6px rgba(60, 10, 110, 0.35));
}
.shp-hero__line--3 { color: #ffd322; }
.shp-hero__subtitle { background: linear-gradient(180deg, #fff27a, #ffd01f); }

/* Cards standing on the clouds, icon popping out of the top */
.shp-hero .shp-pills { z-index: 5; max-width: calc(980px + 2 * var(--shp-gutter, 20px)); margin-top: -46px; padding-top: 30px; padding-bottom: 6px; gap: 18px; }
.shp-pills .shp-pill {
  position: relative; flex-direction: column; justify-content: flex-end; min-height: 80px; padding: 40px 12px 14px;
  border: 2px solid #fff; border-radius: 34px; background: linear-gradient(180deg, #ffffff 45%, #f1edff);
  box-shadow: 0 14px 30px rgba(90, 100, 200, 0.22); font-size: 0.95rem;
}
.shp-pill img {
  position: absolute; top: -30px; left: 50%; width: 66px; height: 66px; margin-left: -33px; padding: 7px;
  border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(90, 100, 200, 0.22);
}
.shp-pills li:last-child .shp-pill { color: var(--shp-pink); }

/* Section decorations */
.shp-float { max-width: none; filter: drop-shadow(0 8px 10px rgba(80, 80, 180, 0.16)); }
.shp-float--cloud { filter: none; animation-name: shp-drift; animation-duration: 9s; }
.shp-float--still { animation: none; filter: none; }
@keyframes shp-drift { 50% { translate: 22px -6px; } }
.shp-section:not(:first-of-type) .shp-deco { overflow: visible; }
.shp-home main { overflow-x: clip; }

/* Soft colour washes behind the sections */
.shp-home {
  background-image:
    radial-gradient(ellipse 52% 9% at 0% 20%, #cfeaff, transparent 70%),
    radial-gradient(ellipse 52% 9% at 100% 29%, #ffd9ef, transparent 70%),
    radial-gradient(ellipse 55% 10% at 0% 43%, #ffdcf0, transparent 70%),
    radial-gradient(ellipse 55% 10% at 100% 52%, #e3d6ff, transparent 70%),
    radial-gradient(ellipse 55% 10% at 0% 66%, #dfd2ff, transparent 70%),
    radial-gradient(ellipse 55% 10% at 100% 76%, #cdeaff, transparent 70%),
    radial-gradient(ellipse 55% 8% at 0% 88%, #ffeac4, transparent 70%);
}

@media (max-width: 1023px) {
  .shp-hero__grid { padding-bottom: 40px; }
  .shp-hero__art { margin-bottom: -40px; }
  .shp-hero__copy { padding-bottom: 40px; }
  .shp-hero__sky { inset: 0 0 90px 0; height: calc(100% - 90px); }
  .shp-hero .shp-pills { row-gap: 40px; margin-top: -30px; }
  .shp-hero__art { z-index: 3; }
  .shp-float:not(.shp-float--cloud) { scale: 0.7; }
}
@media (max-width: 639px) {
  .shp-pills .shp-pill { min-height: 70px; padding: 38px 6px 12px; font-size: 0.8rem; }
  .shp-float { display: block; scale: 0.55; opacity: 0.85; }
  .shp-float--still { display: none; }
}
@media (prefers-reduced-motion: reduce) { .shp-float { animation: none; } }

/* Keep the laptop, desk and bus visible above the cloud line */
@media (min-width: 1024px) {
  .shp-hero__art { margin-bottom: 34px; }
  .shp-hero__bus { bottom: 176px; }
  .shp-hero__liberty { bottom: 168px; }
  .shp-hero__bigben { bottom: 150px; }
}

/* Clouds keep their round shape at every width */
@media (max-width: 639px) {
  /* Fill the space under the raised cloud line */
  .shp-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 62px; z-index: 2; background: #f6f8ff; }
}

/* ═════════ Course detail ═════════ */
.shp-page main { overflow-x: clip; }

/* Tabs */
.shp-course-tabs .shp-tabs { padding: 6px; gap: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-course-tabs .shp-tabs [role="tab"] { border-radius: 999px; background: transparent; box-shadow: none; color: var(--shp-ink); }
.shp-course-tabs .shp-tabs [role="tab"][aria-selected="true"] { background: linear-gradient(180deg, #a669ff, #6b2cd8); color: #fff; box-shadow: 0 4px 0 #511db0; }

.shp-box { padding: 24px; border: 3px solid #fff; border-radius: 32px; background: linear-gradient(180deg, #fff, #fbf9ff); box-shadow: var(--shp-shadow); }
.shp-box + .shp-box { margin-top: 20px; }
.shp-box__title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.25rem; font-weight: 700; color: #3d1f9e; }
.shp-box__text { margin-bottom: 22px; white-space: pre-line; line-height: 2.2; font-size: 0.94rem; color: #3f4072; }

.shp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shp-facts li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; text-align: center;
  border: 2px solid #fff; border-radius: 26px; background: linear-gradient(180deg, #fff 5%, var(--bg));
  box-shadow: 0 10px 22px rgba(62, 92, 170, 0.14); transition: transform 0.2s;
}
.shp-facts li:hover { transform: translateY(-5px); }
.shp-facts span { margin-top: 4px; font-size: 0.76rem; color: #6a6c9c; }
.shp-facts strong { font-size: 0.95rem; color: var(--t); }

.shp-box--includes { background: url('/images/ui/confetti.svg') left -40px top -40px / 190px no-repeat, linear-gradient(180deg, #fff, #f3f8ff); }
.shp-box--includes .shp-title { margin-bottom: 20px; font-size: 1.5rem; }
.shp-includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.shp-includes li {
  display: flex; flex-direction: column; align-items: center; width: calc((100% - 32px) / 3); padding: 16px 10px 18px; text-align: center;
  border: 3px solid #fff; border-radius: 28px; background: linear-gradient(180deg, var(--bg), #fff 85%);
  box-shadow: 0 10px 24px rgba(62, 92, 170, 0.15); transition: transform 0.22s;
}
.shp-includes li:hover { transform: translateY(-7px); }
.shp-includes li > span { display: grid; place-items: center; width: 142px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 55%, rgba(255, 255, 255, 0.35)); box-shadow: inset 0 0 0 5px #fff, 0 8px 18px rgba(62, 92, 170, 0.14); }
.shp-includes img { width: 86%; height: 86%; object-fit: contain; transition: transform 0.25s; }
.shp-includes li:hover img { transform: scale(1.1) rotate(-4deg); }
.shp-includes h3 { margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px rgba(62, 92, 170, 0.12); font-size: 0.85rem; font-weight: 700; color: var(--shp-ink); }

/* Intro video */
.shp-page .course-video-shell { border: 3px solid #fff; border-radius: 30px; }
.shp-page .course-video-shell__body { background: linear-gradient(135deg, #e0f1ff, #efe6ff, #ffe6f1); padding: 10px; }
.shp-page .course-video-shell__body video { border-radius: 20px; }

/* Comments */
.shp-course-tabs [data-course-panel="comments"] article { border: 2px solid #fff; border-radius: 26px; }

/* Sidebar */
.shp-side { display: flex; flex-direction: column; gap: 20px; }
.shp-side__buy, .shp-side__card { padding: 18px; border: 3px solid #fff; border-radius: 32px; background: #fff; box-shadow: var(--shp-shadow); }
.shp-side__buy { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: linear-gradient(180deg, #efe6ff, #fff 62%); }
.shp-side__cover { width: 100%; overflow: hidden; border-radius: 24px; box-shadow: 0 12px 26px rgba(70, 40, 160, 0.22); }
.shp-side__cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.shp-side__buy h2 { font-size: 1.15rem; font-weight: 700; line-height: 1.8; color: #3d1f9e; }
.shp-side__sub { margin-top: -6px; font-size: 0.85rem; color: #6a6c9c; }
.shp-side__price { display: flex; align-items: baseline; gap: 8px; }
.shp-side__price del { font-size: 0.8rem; color: #9a9cc0; }
.shp-side__price strong { font-size: 1.5rem; color: var(--shp-orange); }
.shp-side__cta { width: 100%; padding-block: 15px; font-size: 1.05rem; }
.shp-side__card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; color: #3d1f9e; }
.shp-side__features { display: flex; flex-direction: column; gap: 10px; }
.shp-side__features li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 20px; background: linear-gradient(270deg, var(--bg), #fff); font-size: 0.9rem; font-weight: 700; color: var(--shp-ink); }
.shp-side__facts > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 2px dashed #e6e3fb; font-size: 0.86rem; }
.shp-side__facts > div:last-child { border-bottom: 0; }
.shp-side__facts dt { flex: none; color: #6a6c9c; }
.shp-side__facts dd { text-align: end; font-weight: 700; color: var(--shp-ink); }
.shp-side__help {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 20px 24px; text-align: center; color: #fff;
  border: 3px solid #fff; border-radius: 32px; box-shadow: var(--shp-shadow);
  background: url('/images/ui/star.svg') left 22px top 26px / 30px no-repeat, url('/images/ui/star-pink.svg') right 26px top 74px / 22px no-repeat, linear-gradient(165deg, #6b3be0, #b04be0 55%, #ec2f86);
}
.shp-side__help > img { width: 130px; height: auto; filter: drop-shadow(0 10px 12px rgba(30, 0, 80, 0.35)); }
.shp-side__help h3 { font-size: 1.2rem; font-weight: 700; }
.shp-side__help p { font-size: 0.86rem; line-height: 1.9; }
.shp-side__phone { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 2px dashed rgba(255, 255, 255, 0.7); border-radius: 999px; font-size: 1.1rem; font-weight: 700; }
.shp-side__help small { font-size: 0.74rem; opacity: 0.9; }
.shp-side__others { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.shp-side__others a { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 22px; background: #f6f5ff; transition: background-color 0.2s, transform 0.2s; }
.shp-side__others a:hover { background: #ece6ff; transform: translateX(-4px); }
.shp-side__others img { flex: none; width: 68px; height: 68px; border-radius: 16px; object-fit: cover; }
.shp-side__others span { flex: 1; min-width: 0; }
.shp-side__others strong { display: block; font-size: 0.82rem; line-height: 1.7; color: var(--shp-ink); }
.shp-side__others small { font-size: 0.72rem; color: #6a6c9c; }
.shp-side__others svg { flex: none; color: var(--shp-purple); }
.shp-side__card > .shp-btn { display: flex; width: max-content; margin-inline: auto; }

@media (max-width: 767px) {
  .shp-box { padding: 16px; }
  .shp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shp-includes { gap: 12px; }
  .shp-includes li { width: calc((100% - 12px) / 2); }
}

/* The tall sidebar must not stretch the video row */
@media (min-width: 1024px) { .shp-course-grid { grid-template-rows: auto 1fr; } }

/* Phones and tablets: video, buy card, course details, then the extra sidebar cards */
@media (max-width: 1023px) {
  .shp-course-grid > .order-2, .shp-course-grid .shp-side { display: contents; }
  .shp-side > * { order: 4; }
  .shp-side > .shp-side__buy { order: 2; }
  .shp-side__cover { max-width: 360px; }
}

/* "Course includes": one compact row */
.shp-box--includes { padding: 18px 14px; }
.shp-box--includes .shp-title { margin-bottom: 12px; font-size: 1.25rem; }
.shp-includes { flex-wrap: nowrap; justify-content: flex-start; gap: 10px; padding-block: 6px; }
.shp-includes li { flex: 1 1 0; width: auto; min-width: 0; padding: 10px 5px 12px; border-width: 2px; border-radius: 22px; }
.shp-includes li > span { width: 100%; max-width: 92px; }
.shp-includes h3 { display: flex; flex: 1; align-items: center; justify-content: center; margin-top: 8px; padding: 0 2px; background: none; box-shadow: none; font-size: 0.76rem; line-height: 1.7; }
@media (max-width: 639px) {
  /* Still one row on phones: swipe sideways */
  .shp-includes { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
  .shp-includes li { flex: 0 0 31%; scroll-snap-align: start; }
}

/* ═════════ Footer ═════════ */
.shp-footer {
  position: relative; isolation: isolate; overflow: hidden; padding-top: 150px; color: #fff;
  background: linear-gradient(180deg, #34b4f7 140px, #1f8fe8 55%, #1466cc);
}
.shp-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 120px; z-index: -2; background: #f6f8ff; }
.shp-footer::after {
  content: ''; position: absolute; inset: 150px 0 0 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background:
    url('/images/ui/star.svg') left 2% top 18% / 26px no-repeat,
    url('/images/ui/star-pink.svg') right 1.5% top 44% / 20px no-repeat,
    url('/images/ui/star.svg') right 3% bottom 12% / 16px no-repeat,
    url('/images/ui/cloud.svg') left -60px bottom -30px / 230px no-repeat,
    url('/images/ui/cloud.svg') right -70px bottom -40px / 210px no-repeat;
}
.shp-footer__sky { position: absolute; inset: 0 0 auto 0; z-index: -1; width: 100%; height: 142px; }
.shp-footer__grid { display: grid; grid-template-columns: 0.9fr 1.25fr 1.25fr 1.1fr; gap: 18px; align-items: stretch; padding-bottom: 28px; }
.shp-footer__grid > * { min-width: 0; }
.shp-footer__card {
  padding: 22px 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 30px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.09));
  box-shadow: 0 16px 34px rgba(0, 40, 110, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.shp-footer__card:hover { transform: translateY(-4px); background-color: rgba(255, 255, 255, 0.05); }
.shp-footer h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1.08rem; font-weight: 700; }
.shp-footer h2::before { content: ''; flex: none; width: 20px; height: 20px; background: url('/images/ui/star.svg') center / contain no-repeat; }
.shp-footer h3 { margin: 16px 0 8px; font-size: 0.86rem; font-weight: 700; }

.shp-footer__brand { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.shp-footer__brand a { display: flex; flex-direction: column; align-items: center; }
.shp-footer__brand img { width: 132px; max-width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(0, 30, 90, 0.3)); }
.shp-footer__brand strong { margin-top: 4px; font-size: 2.4rem; line-height: 1.45; color: #ffe45c; text-shadow: 0 4px 0 #c97a00; }
.shp-footer__brand p { padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 0.85rem; font-weight: 700; }

.shp-footer__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shp-footer__quick a, .shp-footer__courses a {
  display: flex; align-items: center; gap: 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem; font-weight: 500; transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.shp-footer__quick a { padding: 6px 8px; }
.shp-footer__quick img { flex: none; width: 28px; height: 28px; }
.shp-footer__courses { display: flex; flex-direction: column; gap: 8px; }
.shp-footer__courses a { padding: 9px 12px; line-height: 1.7; }
.shp-footer__courses svg { flex: none; color: #ffe45c; }
.shp-footer__quick a:hover, .shp-footer__courses a:hover { background: #fff; color: #1466cc; transform: translateX(-3px); }
.shp-footer__courses a:hover svg { color: var(--shp-orange); }

.shp-social { display: flex; flex-wrap: wrap; gap: 10px; }
.shp-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid #fff; border-radius: 16px; background: #27a7e7; box-shadow: 0 6px 14px rgba(0, 30, 90, 0.25); transition: transform 0.25s ease, border-radius 0.25s ease; }
.shp-social a:hover { transform: translateY(-4px) rotate(-6deg); border-radius: 50%; }
.shp-social a.shp-social--instagram { background: linear-gradient(45deg, #ff9c2a, #ec2f86, #8b3cf0); }
.shp-social a.shp-social--youtube { background: #f0303c; }
.shp-social a.shp-social--whatsapp { background: #2fbd45; }
.shp-footer form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.shp-footer input { width: 100%; min-width: 0; padding: 10px 16px; border: 2px solid transparent; border-radius: 999px; outline: 0; background: #fff; color: var(--shp-ink); font-size: 0.85rem; transition: border-color 0.2s; }
.shp-footer input:focus { border-color: #ffc524; }
.shp-footer form button { padding: 10px 18px; border-radius: 999px; background: linear-gradient(180deg, #ffe45c, #ffbf1f); box-shadow: 0 4px 0 #d99200; color: #4a2c00; font-weight: 700; font-size: 0.88rem; transition: filter 0.2s, transform 0.2s; }
.shp-footer form button:hover { filter: brightness(1.06); transform: translateY(-1px); }

.shp-footer__copy { padding: 0 16px 20px; text-align: center; font-size: 0.8rem; }
.shp-footer__copy span { display: inline-block; padding: 8px 22px; border-radius: 999px; background: rgba(0, 45, 120, 0.28); }

@media (max-width: 1099px) { .shp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .shp-footer { padding-top: 130px; }
  .shp-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .shp-footer__card { padding: 18px 14px; }
  .shp-social { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .shp-footer__card, .shp-footer a { transition: none; }
}

/* ═════════ Animated inner pages ═════════ */
.shp-page main { position: relative; isolation: isolate; }
.shp-page main > [data-shp-spaced] .shp-deco { z-index: 0; }
.shp-page main > :not([data-shp-spaced]) { position: relative; z-index: 1; }

/* Banner scene, same family as the home hero */
.shp-banner, .shp-page .reels-page__header { position: relative; isolation: isolate; overflow: hidden; min-height: 330px; }
.shp-banner::before { display: none; }
.shp-banner .shp-deco, .shp-page .reels-page__header .shp-deco { z-index: -1; }
.shp-banner__clouds { position: absolute; left: 0; bottom: -4px; z-index: -1; width: 100%; height: 130px; object-fit: cover; object-position: center top; pointer-events: none; animation: shp-cloud-sway 11s ease-in-out infinite; scale: 1.04; }
@keyframes shp-cloud-sway { 50% { translate: 18px 5px; } }
.shp-banner__art { position: absolute; left: 5%; bottom: 26px; width: 230px; height: 250px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 14px 14px rgba(20, 70, 140, 0.28)); pointer-events: none; }
.shp-banner > .max-w-2xl, .shp-banner--media > div { position: relative; z-index: 1; }
.shp-banner > .max-w-2xl { padding-bottom: 70px; }
.shp-banner--media img:not(.shp-float):not(.shp-banner__clouds) { animation: shp-bob 4s ease-in-out infinite; }
.shp-banner--media > .shp-deco { position: absolute; }

/* Chunky colourful headline */
.shp-banner h1, .shp-page .reels-page__title {
  color: #ffd322; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.45;
  filter:
    drop-shadow(2px 0 0 #24359c) drop-shadow(-2px 0 0 #24359c) drop-shadow(0 2px 0 #24359c) drop-shadow(0 -2px 0 #24359c)
    drop-shadow(0 4px 0 #24359c) drop-shadow(0 7px 6px rgba(20, 30, 100, 0.3));
  animation: shp-title-float 5s ease-in-out infinite;
}
@keyframes shp-title-float { 50% { translate: 0 -5px; } }
.shp-banner span.rounded-full { background: linear-gradient(180deg, #ff7ac0, #ec2f86); color: #fff; box-shadow: 0 4px 0 #b81a66; }
.shp-page .reels-page__header { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 70px; }
.shp-page .reels-page__header > :not(.shp-deco):not(img) { position: relative; z-index: 1; }
.shp-page .reels-page__subtitle { padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); font-weight: 700; }
.shp-page .reels-page__header .shp-banner__art { width: 160px; height: 190px; }

/* Mascot on message pages */
.shp-status__mascot { animation: shp-bob 4s ease-in-out infinite; }

@media (max-width: 767px) {
  .shp-banner { min-height: 0; }
  .shp-banner > .max-w-2xl { padding-bottom: 0; }
  .shp-banner--courses, .shp-banner--blog, .shp-banner--gallery, .shp-banner--contact { padding-bottom: 190px; }
  .shp-banner__art { left: calc(50% - 80px); bottom: 18px; width: 160px; height: 170px; }
  .shp-banner__clouds { height: 100px; }
  .shp-banner .shp-float:not(.shp-float--cloud) { scale: 0.5; }
  .shp-page .reels-page__header { min-height: 0; padding-bottom: 180px; }
  .shp-page .reels-page__header .shp-banner__art { left: calc(50% - 70px); width: 140px; height: 150px; }
  .shp-page main > [data-shp-spaced] .shp-float { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .shp-banner h1, .shp-page .reels-page__title, .shp-banner__clouds, .shp-banner--media img, .shp-status__mascot { animation: none !important; }
}

/* Banner headline and badge colours win over the generic page text colours */
.shp-page main .shp-banner h1 { color: #ffd322; }
.shp-page main .shp-banner span.rounded-full { color: #fff; background: linear-gradient(180deg, #ff7ac0, #ec2f86); }

/* ───────── Hero cloud bank: low edge that leaves the artwork clear ───────── */
.shp-hero__clouds { position: absolute; left: 0; bottom: -2px; z-index: 2; width: 100%; height: clamp(96px, 9vw, 165px); object-fit: fill; pointer-events: none; }
.shp-banner__clouds { height: 84px; object-fit: fill; scale: 1.05; }
@media (max-width: 639px) {
  .shp-hero__clouds { bottom: 60px; height: 84px; object-fit: cover; object-position: center top; }
  .shp-banner__clouds { height: 64px; object-fit: cover; }
}

/* ───────── Side clouds stay clearly on screen ───────── */
.shp-float--cloud { opacity: 1; }
.shp-page main > [data-shp-spaced] .shp-float { opacity: 1; }
@media (max-width: 639px) {
  .shp-float, .shp-page main > [data-shp-spaced] .shp-float { opacity: 0.9; }
}

/* Bigger hero clouds: tall only at the sides, so the card icons and artwork stay clear */
.shp-hero__clouds { height: clamp(150px, 14vw, 220px); }
@media (max-width: 1023px) { .shp-hero__clouds { height: 140px; } }
@media (max-width: 639px) { .shp-hero__clouds { bottom: 60px; height: 100px; object-fit: fill; } }
/* The sky ends well behind the clouds, so no straight edge shows */
.shp-hero__sky { inset: 0 0 38px 0; height: calc(100% - 38px); }
@media (max-width: 639px) { .shp-hero__sky { inset: 0 0 74px 0; height: calc(100% - 74px); } }

/* No hero button on desktop */
@media (min-width: 1024px) { .shp-hero__copy .shp-btn { display: none; } }

/* ───────── One smooth page colour from the header to the footer ───────── */
body.shp-home, body.shp-page { background: #f6f8ff; background-image: none; }
.shp-home .deco-layer, .shp-page .deco-layer { display: none; }

/* Sliders: leave room so card shadows are not cut into straight edges */
.shp-track { margin: -6px -16px -22px; padding: 14px 20px 46px; scroll-padding-inline: 20px; }
.shp-track {
  margin-inline: -10px; padding-inline: 14px; scroll-padding-inline: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}

/* Illustrated parent avatars */
img.shp-quote__avatar { display: block; width: 84px; height: 84px; padding: 0; border: 4px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 10px 22px rgba(122, 59, 224, 0.28); transition: transform 0.25s ease; }
.shp-quote:hover img.shp-quote__avatar { transform: scale(1.08) rotate(-4deg); }
img.shp-quote__avatar { margin-bottom: 14px; }
