:root {
  --red: #E51B23;
  --red-hover: #F5333B;
  --red-shadow: #A5121A;
  --red-link-hover: #B5121A;
  --bg: #FAF7F2;
  --grid-line: rgba(42, 35, 32, .055);
  --text: #2A2320;
  --text-secondary: #6B5F57;
  --text-hero-subtitle: #4A403A;
  --white: #fff;
  --card-border: rgba(42, 35, 32, .12);
  --arch-bg: #FFEFF4;
  --arch-border: rgba(229, 27, 35, .18);
  --dark: #2A2320;
  --dark-text: #E6DED7;
  --dark-text-strong: #FAF7F2;
  --footer-text: #FFE3E4;
  --footer-text-small: #FFC9CC;
  --dot-pink: #FFD9E4;
  --dot-yellow: #FFE28A;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-link-hover);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.page {
  width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
}

.btn {
  display: inline-block;
  font-family: 'Unbounded', sans-serif;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 0 var(--red-shadow);
}

.btn-red:hover {
  background: var(--red-hover);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 9px 0 rgba(0, 0, 0, .18);
}

.btn-white:hover {
  background: #FFF0F1;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 56px;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: rgba(250, 247, 242, .82);
  border-bottom: 1px solid rgba(42, 35, 32, .08);
}

.logo {
  height: 92px;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-link {
  cursor: pointer;
  color: inherit;
}

.nav-link:hover {
  color: var(--red);
}

.btn-header {
  font-size: 12px;
  padding: 15px 26px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  position: relative;
  padding: 74px 56px 90px;
}

.dot {
  position: absolute;
  border-radius: 50%;
  animation: bob ease-in-out infinite;
}

.dot-pink {
  left: 40px;
  top: 210px;
  width: 26px;
  height: 26px;
  background: var(--dot-pink);
  animation-duration: 5s;
}

.dot-yellow {
  right: 38px;
  top: 120px;
  width: 18px;
  height: 18px;
  background: var(--dot-yellow);
  animation-duration: 4.2s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 40px;
  align-items: start;
}

.hero-left {
  position: relative;
  z-index: 5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px dashed var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 800;
  margin: 26px 0 0;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.hero-title .accent {
  color: var(--red);
}

.hero-subtitle {
  font-size: 21px;
  line-height: 1.5;
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--text-hero-subtitle);
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.btn-hero {
  font-size: 15px;
  font-weight: 600;
  padding: 21px 38px;
  box-shadow: 0 9px 0 var(--red-shadow);
}

.cta-note {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
}

.stats {
  display: flex;
  gap: 34px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(42, 35, 32, .12);
}

.stat-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  height: 660px;
}

.arch-bg {
  position: absolute;
  inset: 0;
  background: var(--arch-bg);
  border-radius: 260px 260px 40px 40px;
  border: 1.5px solid var(--arch-border);
}

.arch-photo {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 40px;
  bottom: 26px;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  background: var(--white);
}

.arch-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.lesson-shot {
  position: absolute;
  box-shadow: 0 16px 34px rgba(42, 35, 32, .16);
  border: 6px solid var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .18s linear;
}

.lesson-shot img {
  display: block;
  width: 100%;
}

.lesson-shot--ariel {
  left: -170px;
  top: 96px;
  width: 300px;
  transform: translateX(0px) rotate(-7deg);
}

.lesson-shot--grinch {
  right: -150px;
  top: 300px;
  width: 320px;
  transform: translateX(0px) rotate(6deg);
}

.lesson-shot--toystory {
  left: -110px;
  bottom: -10px;
  width: 260px;
  transform: translateX(0px) rotate(4deg);
}

/* Situations / cards section */

.situations {
  padding: 20px 56px 100px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 46px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
}

.section-hint {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  perspective: 1600px;
}

.card {
  height: 400px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, .1, .2, 1);
  transform: rotateY(0deg);
}

.card-inner.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.card-face--front {
  background: var(--white);
  border: 1.5px solid var(--card-border);
}

.card-face--back {
  transform: rotateY(180deg);
  background: var(--red);
  color: var(--white);
}

.card-face--back-tight {
  padding: 28px;
}

.card-face--back-tight p {
  font-size: 16.5px;
  line-height: 1.45;
}

.card-face--back p {
  font-size: 18px;
  line-height: 1.5;
  margin: 16px 0 0;
  text-wrap: pretty;
}

.card-face--back p:first-child {
  margin-top: 0;
}

.card-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  color: var(--red);
  letter-spacing: .1em;
}

.card-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.card-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 16px 0 0;
  text-wrap: pretty;
}

.card-flip-btn {
  margin-top: auto;
  align-self: flex-end;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--arch-bg);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.card-flip-btn--back {
  background: rgba(255, 255, 255, .2);
  color: var(--white);
}

/* Academy dark block */

.academy {
  margin: 0 56px 100px;
  background: var(--dark);
  color: var(--dark-text-strong);
  border-radius: 44px;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
}

.academy-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
}

.academy-desc {
  font-size: 22px;
  line-height: 1.5;
  margin: 26px 0 0;
  color: var(--dark-text);
  max-width: 620px;
  text-wrap: pretty;
}

.academy-chips {
  display: grid;
  gap: 14px;
}

.chip {
  background: var(--red);
  color: var(--white);
  border-radius: 22px;
  padding: 20px 24px;
  font-size: 17px;
}

/* Gallery */

.gallery {
  padding: 0 56px 110px;
}

.gallery-title {
  line-height: 1.08;
  max-width: 760px;
}

.gallery-hint {
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  margin: 0;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 30px;
  padding: 16px;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10px 4px;
  font-size: 16px;
}

.gallery-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
}

.gallery-note {
  color: var(--text-secondary);
}

/* Pricing */

.pricing {
  padding: 0 56px 110px;
  scroll-margin-top: 130px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 30px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.price-card--accent {
  background: var(--red);
  border: none;
  color: var(--white);
}

.price-card-badge {
  position: absolute;
  top: -14px;
  right: 32px;
  background: var(--dot-yellow);
  color: var(--text);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.price-card-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.price-card-amount {
  font-family: 'Unbounded', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-top: 14px;
}

.price-currency {
  font-size: 28px;
  font-weight: 600;
}

.price-features {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 1.4;
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.feature--yes .feature-icon {
  background: var(--arch-bg);
  color: var(--red);
}

.feature--no {
  color: var(--text-secondary);
}

.feature--no .feature-icon {
  background: rgba(42, 35, 32, .08);
  color: var(--text-secondary);
}

.price-card--accent .feature--no {
  color: rgba(255, 255, 255, .75);
}

.price-card--accent .feature-icon {
  background: rgba(255, 255, 255, .2);
  color: var(--white);
}

.btn-pricing {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 0;
  margin-top: 34px;
}

/* Footer */

.site-footer {
  background: var(--red);
  color: var(--white);
  padding: 80px 56px;
  margin: 0 56px 56px;
  border-radius: 44px;
  text-align: center;
}

.footer-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
}

.footer-desc {
  font-size: 20px;
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--footer-text);
}

.btn-footer {
  margin-top: 36px;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 44px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  margin-top: 54px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-text-small);
}

.footer-copy {
  margin-top: 14px;
  font-size: 14px;
  color: var(--footer-text-small);
}

/* Cookie consent */

@keyframes cookieUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  width: calc(100% - 32px);
  max-width: 720px;
  margin: 0 auto;
  z-index: 200;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 26px;
  box-shadow: 0 20px 44px rgba(42, 35, 32, .18);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  animation: cookieUp .35s cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}

.cookie-banner h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  max-width: 560px;
}

.cookie-banner .link-more {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--card-border);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
}

.cookie-btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.cookie-settings {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  text-align: left;
  margin-top: 4px;
}

.cookie-settings.show {
  display: flex;
}

.cookie-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px 14px;
  gap: 12px;
}

.cookie-cat .nm {
  font-size: 13px;
  font-weight: 700;
}

.cookie-cat .desc {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.cookie-cat .toggle {
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: rgba(42, 35, 32, .15);
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.cookie-cat .toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .18s ease;
}

.cookie-cat .toggle[aria-pressed="true"] {
  background: var(--red);
}

.cookie-cat .toggle[aria-pressed="true"] .knob {
  transform: translateX(16px);
}

.cookie-cat .toggle:disabled {
  cursor: default;
  opacity: .6;
}
