:root {
  --color-red: #f29a9d;
  --color-orange: #f5b488;
  --color-yellow: #f7e08a;
  --color-red-dark: #bb6a6d;
  --color-green: #8ecf9d;
  --color-sand: #efc57d;
  --color-sun: #f3a28d;
  --color-ocean: #7aa6d4;
  --color-cream: #fffaf6;
  --color-paper: #fffefd;
  --color-ink: #314253;
  --color-muted: #6f7c8d;
  --color-border: rgba(122, 166, 212, 0.2);
  --surface-butter: #fff4cc;
  --surface-peach: #ffe8dc;
  --surface-rose: #ffe6ea;
  --surface-mint: #e8f7eb;
  --surface-sky: #eaf3ff;
  --surface-lilac: #f3ebff;
  --shadow-soft: 0 20px 42px rgba(122, 166, 212, 0.18);
  --shadow-card: 0 14px 28px rgba(88, 110, 139, 0.12);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --container: min(1120px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(247, 224, 138, 0.42), transparent 30%),
    radial-gradient(circle at top right, rgba(242, 154, 157, 0.2), transparent 24%),
    radial-gradient(circle at 20% 85%, rgba(142, 207, 157, 0.2), transparent 20%),
    var(--color-cream);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[x-cloak] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--color-paper);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.eyebrow {
  --eyebrow-bg: #ddecff;
  --eyebrow-color: #284e80;
  --eyebrow-border: rgba(122, 166, 212, 0.48);
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--eyebrow-bg);
  border: 1px solid var(--eyebrow-border);
  color: var(--eyebrow-color);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section:nth-of-type(4n + 1) .eyebrow,
.page-hero:nth-of-type(4n + 1) .eyebrow {
  --eyebrow-bg: #ddecff;
  --eyebrow-color: #284e80;
  --eyebrow-border: rgba(122, 166, 212, 0.5);
}

.section:nth-of-type(4n + 2) .eyebrow,
.page-hero:nth-of-type(4n + 2) .eyebrow {
  --eyebrow-bg: #dff5e5;
  --eyebrow-color: #316f46;
  --eyebrow-border: rgba(142, 207, 157, 0.58);
}

.section:nth-of-type(4n + 3) .eyebrow,
.page-hero:nth-of-type(4n + 3) .eyebrow {
  --eyebrow-bg: #ffe2e7;
  --eyebrow-color: #9d535e;
  --eyebrow-border: rgba(242, 154, 157, 0.56);
}

.section:nth-of-type(4n) .eyebrow,
.page-hero:nth-of-type(4n) .eyebrow {
  --eyebrow-bg: #ffe6b0;
  --eyebrow-color: #805a24;
  --eyebrow-border: rgba(239, 197, 125, 0.72);
}

.cta-band .eyebrow {
  --eyebrow-bg: #dff5e5;
  --eyebrow-color: #316f46;
  --eyebrow-border: rgba(142, 207, 157, 0.58);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: var(--color-ocean);
  overflow-wrap: anywhere;
}

.section-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--color-muted);
}

.btn,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn {
  color: #fffefd;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #ffcf32 0%, #f6a72b 38%, #ef7d45 72%, #e86a68 100%);
  border: 1px solid rgba(189, 111, 22, 0.18);
  border-radius: 18px;
  box-shadow:
    0 7px 0 #315b7a,
    0 14px 26px rgba(49, 91, 122, 0.2);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.btn-secondary {
  color: #3f6f55;
  background: linear-gradient(135deg, #f8fffa, var(--surface-mint));
  border: 1px solid rgba(142, 207, 157, 0.48);
  box-shadow: 0 12px 24px rgba(142, 207, 157, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.84);
  color: #5f84ab;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 20px rgba(122, 166, 212, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 246, 0.9);
  border-bottom: 1px solid rgba(122, 166, 212, 0.12);
}

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  color: var(--color-ocean);
}

.brand img {
  width: 140px;
  height: auto;
}

.nav-toggle {
  justify-self: end;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  color: #678db8;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.nav-panel {
  grid-column: 1 / -1;
  display: none;
  padding: 0 0 1rem;
}

.nav-panel.is-open {
  display: block;
}

.nav-links,
.auth-links {
  display: grid;
  gap: 0.65rem;
}

.nav-links a,
.auth-links a {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
}

.nav-links a.nav-split {
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  background: var(--nav-wash, rgba(255, 255, 255, 0.76));
  border: 1px solid var(--nav-border, rgba(122, 166, 212, 0.2));
  box-shadow: 0 8px 18px rgba(122, 166, 212, 0.08);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.nav-links .nav-first {
  color: var(--nav-first);
  font-size: 1.16em;
  line-height: 1;
}

.nav-links .nav-rest {
  color: var(--nav-rest);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--nav-wash-strong, rgba(255, 255, 255, 0.92));
  border-color: var(--nav-border-strong, rgba(122, 166, 212, 0.36));
  box-shadow: 0 12px 22px rgba(122, 166, 212, 0.12);
  transform: translateY(-1px) scale(1.01);
}

.auth-links {
  margin-top: 0.8rem;
}

.auth-links .cadastro {
  background: linear-gradient(135deg, rgba(234, 243, 255, 0.96), rgba(255, 255, 255, 0.94));
  color: #648ab5;
  border: 1px solid rgba(122, 166, 212, 0.25);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.hero-panel {
  position: relative;
  min-height: 100svh;
  background: url("images/head_mobile.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-sparkle {
  position: absolute;
  top: var(--sparkle-y, 50%);
  left: var(--sparkle-x, 50%);
  width: var(--sparkle-size, 22px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--sparkle-rotate, 45deg)) scale(0.25);
  animation: heroSparkle var(--sparkle-duration, 6800ms) var(--sparkle-delay, 0ms) ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-sparkle::before,
.hero-sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-sparkle::before {
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(
    50% 0,
    56% 43%,
    100% 50%,
    56% 57%,
    50% 100%,
    44% 57%,
    0 50%,
    44% 43%
  );
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.92))
    drop-shadow(0 0 12px rgba(247, 224, 138, 0.48));
}

.hero-sparkle::after {
  inset: 36%;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.92),
    0 0 18px rgba(247, 224, 138, 0.5);
  opacity: 0.92;
}

@keyframes heroSparkle {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--sparkle-rotate, 45deg)) scale(0.2);
  }

  12% {
    opacity: 0.92;
  }

  28% {
    opacity: 0.66;
    transform: translate(-50%, -50%) rotate(calc(var(--sparkle-rotate, 45deg) + 14deg)) scale(1);
  }

  48% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--sparkle-rotate, 45deg) + 24deg)) scale(0.35);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.hero-cta {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.25rem, 5vw, 3rem);
  width: min(520px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  min-width: 0;
  min-height: 62px;
  padding: 0.9rem clamp(1.2rem, 5vw, 2.4rem);
  background: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.9rem, 4vw, 1.22rem);
  font-family: "Comic Sans MS", "Trebuchet MS", "Montserrat", sans-serif;
  letter-spacing: 0;
  white-space: normal;
  transform-origin: center;
  animation: heroCtaPulse 1800ms ease-in-out infinite;
}

@keyframes heroCtaPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

.hero-cta .cta-word {
  display: inline-flex;
  gap: clamp(0.12em, 0.8vw, 0.2em);
  margin-inline: clamp(0.1em, 1vw, 0.24em);
}

.hero-cta .cta-letter {
  display: inline-block;
  -webkit-text-stroke: 0.45px rgba(40, 78, 128, 0.18);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 1px 2px rgba(49, 91, 122, 0.18);
}

.hero-cta .cta-blue {
  color: #284e80;
}

.hero-cta .cta-red {
  color: #b71f29;
}

.hero-cta .cta-sky {
  color: #1aa5d8;
}

.hero-cta .cta-green {
  color: #67b653;
}

.hero-cta .cta-orange {
  color: #a95a00;
}

.gallery-section {
  padding-top: 2rem;
}

.gallery-intro {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.reading-gallery {
  display: grid;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  --gallery-swap-duration: 8.4s;
  --gallery-float-duration: 12s;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(49, 66, 83, 0.08));
  pointer-events: none;
}

.gallery-card-lg {
  min-height: 420px;
}

.gallery-card-sm,
.gallery-card-square,
.gallery-card-mid {
  min-height: 220px;
}

.gallery-card-wide,
.gallery-card-wide-alt {
  min-height: 260px;
}

.gallery-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--gallery-pos, center);
  opacity: 0;
  transform: scale(1);
  filter: saturate(1);
  animation: gallerySwap var(--gallery-swap-duration) ease-in-out infinite both, galleryFloat var(--gallery-float-duration) ease-in-out infinite alternate;
}

.gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -1.8s;
}

.mobile-reading-gallery {
  display: none;
}

.gallery-card:nth-child(2) .gallery-frame {
  --gallery-swap-duration: 7.2s;
  --gallery-float-duration: 11s;
}

.gallery-card:nth-child(2) .gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -1.4s;
}

.gallery-card:nth-child(3) .gallery-frame {
  --gallery-swap-duration: 9s;
  --gallery-float-duration: 13s;
}

.gallery-card:nth-child(3) .gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -2.2s;
}

.gallery-card:nth-child(4) .gallery-frame {
  --gallery-swap-duration: 6.8s;
  --gallery-float-duration: 10s;
}

.gallery-card:nth-child(4) .gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -1.2s;
}

.gallery-card:nth-child(5) .gallery-frame {
  --gallery-swap-duration: 8.8s;
  --gallery-float-duration: 14s;
}

.gallery-card:nth-child(5) .gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -2.4s;
}

.gallery-card:nth-child(6) .gallery-frame {
  --gallery-swap-duration: 7.6s;
  --gallery-float-duration: 10.8s;
}

.gallery-card:nth-child(6) .gallery-frame-alt {
  animation-delay: calc(var(--gallery-swap-duration) / 2), -1.6s;
}

@keyframes gallerySwap {
  0% {
    opacity: 0;
  }

  10%,
  44% {
    opacity: 1;
  }

  54%,
  100% {
    opacity: 0;
  }
}

@keyframes galleryFloat {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.035) translate3d(0, -0.35rem, 0);
  }

  100% {
    transform: scale(1.055) translate3d(0.35rem, -0.15rem, 0);
  }
}

.card-grid,
.plan-grid,
.benefit-grid,
.page-grid,
.footer-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.card,
.plan-card,
.benefit-card,
.info-card,
.step-card,
.faq-item,
.institution-card,
.contact-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.card,
.benefit-card,
.info-card,
.step-card,
.institution-card,
.contact-card {
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
}

.card-grid .card,
.steps-grid .step-card,
.benefit-grid .benefit-card {
  border-width: 2px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.benefit-grid {
  gap: 1.25rem;
}

@media (hover: hover) {
  .benefit-grid .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(88, 110, 139, 0.18);
  }

  .benefit-grid .benefit-card:hover .icon-bubble {
    transform: scale(1.08);
    box-shadow: 0 14px 26px rgba(239, 197, 125, 0.24);
  }
}

.card-grid .card:nth-child(1),
.steps-grid .step-card:nth-child(1) {
  background: linear-gradient(180deg, var(--surface-butter) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(239, 197, 125, 0.54);
}

.card-grid .card:nth-child(2),
.steps-grid .step-card:nth-child(2) {
  background: linear-gradient(180deg, var(--surface-peach) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(243, 162, 141, 0.54);
}

.card-grid .card:nth-child(3),
.steps-grid .step-card:nth-child(3) {
  background: linear-gradient(180deg, var(--surface-mint) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(142, 207, 157, 0.6);
}

.benefit-grid .benefit-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 244, 204, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(239, 197, 125, 0.86);
  box-shadow: 0 20px 40px rgba(239, 197, 125, 0.2);
}

.benefit-grid .benefit-card:nth-child(2) {
  background: linear-gradient(180deg, #fff0dc 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(245, 180, 136, 0.54);
}

.benefit-grid .benefit-card:nth-child(3) {
  background: linear-gradient(180deg, var(--surface-mint) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(142, 207, 157, 0.56);
}

.benefit-grid .benefit-card:nth-child(4) {
  background: linear-gradient(180deg, var(--surface-rose) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(242, 154, 157, 0.56);
}

.benefit-grid .benefit-card:nth-child(5) {
  background: linear-gradient(180deg, var(--surface-sky) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(122, 166, 212, 0.56);
}

.benefit-grid .benefit-card:nth-child(6) {
  background: linear-gradient(180deg, var(--surface-butter) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(239, 197, 125, 0.54);
}

.icon-bubble {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #6c8fb6;
  background: linear-gradient(135deg, rgba(247, 224, 138, 0.74), rgba(255, 255, 255, 0.92));
  box-shadow: 0 10px 22px rgba(239, 197, 125, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card h3,
.benefit-card h3,
.plan-card h3,
.info-card h3,
.contact-card h2,
.institution-card h2 {
  margin: 0 0 0.55rem;
  color: var(--color-ocean);
}

.card p,
.benefit-card p,
.benefit-card > span,
.info-card p,
.institution-card p,
.contact-card p {
  margin: 0;
  color: var(--color-muted);
}

.card-grid .card:nth-child(1) h3,
.card-grid .card:nth-child(1) p,
.steps-grid .step-card:nth-child(1) h3,
.steps-grid .step-card:nth-child(1) p,
.benefit-grid .benefit-card:nth-child(1) h3,
.benefit-grid .benefit-card:nth-child(1) p,
.benefit-grid .benefit-card:nth-child(1) > span,
.benefit-grid .benefit-card:nth-child(2) h3,
.benefit-grid .benefit-card:nth-child(2) p,
.benefit-grid .benefit-card:nth-child(2) > span,
.benefit-grid .benefit-card:nth-child(4) h3,
.benefit-grid .benefit-card:nth-child(4) p,
.benefit-grid .benefit-card:nth-child(4) > span,
.benefit-grid .benefit-card:nth-child(6) h3,
.benefit-grid .benefit-card:nth-child(6) p,
.benefit-grid .benefit-card:nth-child(6) > span {
  color: var(--color-ink);
}

.card-grid .card:nth-child(3) h3,
.card-grid .card:nth-child(3) p,
.steps-grid .step-card:nth-child(3) h3,
.steps-grid .step-card:nth-child(3) p {
  color: var(--color-ink);
}

.card-grid .card:nth-child(2) h3,
.card-grid .card:nth-child(2) p,
.steps-grid .step-card:nth-child(2) h3,
.steps-grid .step-card:nth-child(2) p,
.benefit-grid .benefit-card:nth-child(3) h3,
.benefit-grid .benefit-card:nth-child(3) p,
.benefit-grid .benefit-card:nth-child(3) > span,
.benefit-grid .benefit-card:nth-child(5) h3,
.benefit-grid .benefit-card:nth-child(5) p,
.benefit-grid .benefit-card:nth-child(5) > span {
  color: var(--color-ink);
}

.reading-benefits {
  background: rgba(255, 255, 255, 0.44);
}

.reading-benefits-inner {
  display: grid;
  gap: 4rem;
}

.reading-benefits-intro {
  display: grid;
  max-width: 720px;
}

.reading-benefit {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.reading-benefit-red {
  --benefit-accent: #d94c54;
}

.reading-benefit-yellow {
  --benefit-accent: #d8a93a;
}

.reading-benefit-blue {
  --benefit-accent: #4d98ca;
}

.reading-benefit-copy {
  display: grid;
  gap: 1rem;
}

.reading-benefit-copy h2 {
  margin: 0;
  color: var(--benefit-accent);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.12;
}

.reading-benefit-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--color-ink);
  font-size: 1.08rem;
  line-height: 1.7;
}

.reading-benefit-media {
  justify-self: center;
  width: min(400px, 100%);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(122, 166, 212, 0.18);
  border-radius: 8px;
  background: rgba(234, 243, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.reading-benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-company {
  background:
    linear-gradient(135deg, rgba(234, 243, 255, 0.74), rgba(232, 247, 235, 0.58)),
    rgba(255, 255, 255, 0.62);
}

.about-company-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-company-copy {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.about-company-copy p {
  margin: 0;
  color: var(--color-muted);
}

.about-company-copy p:not(.section-copy) {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.7;
}

.about-company-content {
  display: grid;
  gap: 1rem;
  align-items: center;
  align-self: center;
}

.about-company-points {
  display: grid;
  gap: 2.4rem;
}

.about-company-points article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 2.35rem 1.05rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(122, 166, 212, 0.22);
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
  box-shadow: 0 10px 24px rgba(122, 166, 212, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) {
  .about-company-points article:hover {
    transform: translateY(-6px);
    border-color: rgba(122, 166, 212, 0.48);
    box-shadow: 0 18px 34px rgba(88, 110, 139, 0.16);
  }

  .about-company-points article:hover .about-point-icon {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.about-company-points article:nth-child(2) {
  border-color: rgba(142, 207, 157, 0.38);
  background: rgba(232, 247, 235, 0.86);
}

.about-company-points article:nth-child(3) {
  border-color: rgba(239, 197, 125, 0.46);
  background: rgba(255, 244, 204, 0.82);
}

.about-company-points strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-ocean);
  font-size: 1rem;
}

.about-company-points span {
  color: var(--color-ink);
  line-height: 1.55;
}

.about-point-icon {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 1.75rem;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(247, 224, 138, 0.22), rgba(243, 162, 141, 0.16)),
    rgba(255, 255, 255, 0.72);
}

.cta-band .section-title {
  max-width: 820px;
  text-wrap: balance;
}

.cta-panel {
  display: grid;
  gap: 1.2rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(239, 197, 125, 0.24);
}

.cta-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.cta-copy .section-title,
.cta-copy .section-copy {
  max-width: 12ch;
}

.cta-copy .section-copy {
  max-width: 52ch;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.cta-visual {
  display: grid;
  align-items: stretch;
}

.cta-placeholder {
  display: grid;
  place-content: center;
  gap: 0.9rem;
  min-height: 280px;
  padding: 1.5rem;
  border: 2px dashed rgba(122, 166, 212, 0.24);
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 246, 0.92)),
    radial-gradient(circle at top left, rgba(247, 224, 138, 0.24), transparent 32%);
  text-align: center;
}

.cta-placeholder-label {
  display: inline-flex;
  justify-self: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(247, 224, 138, 0.36);
  color: #8f6770;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-placeholder-copy {
  max-width: 26ch;
  margin-inline: auto;
  color: var(--color-muted);
  font-weight: 600;
}

.stage-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.stage-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  border: 2px solid currentColor;
  box-shadow: var(--shadow-card);
}

.stage-card strong {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
}

.magic-box {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  color: var(--color-ink);
  background: linear-gradient(145deg, var(--surface-sky), rgba(232, 247, 235, 0.96));
  border: 1px solid rgba(122, 166, 212, 0.3);
  box-shadow: var(--shadow-soft);
}

.page-grid .stage-card:nth-child(1) {
  background: linear-gradient(180deg, var(--surface-butter) 0%, rgba(255, 255, 255, 0.92) 100%);
  color: #705a43;
  border-color: rgba(239, 197, 125, 0.56);
}

.page-grid .stage-card:nth-child(2) {
  background: linear-gradient(180deg, var(--surface-peach) 0%, rgba(255, 255, 255, 0.92) 100%);
  color: #8c6660;
  border-color: rgba(243, 162, 141, 0.56);
}

.page-grid .stage-card:nth-child(3) {
  background: linear-gradient(180deg, var(--surface-mint) 0%, rgba(255, 255, 255, 0.94) 100%);
  color: #537762;
  border-color: rgba(142, 207, 157, 0.6);
}

.magic-box ul,
.plan-card ul,
.institution-card ul,
.institution-card ol,
.contact-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.plan-card {
  padding: clamp(1.15rem, 5vw, 1.6rem);
  overflow: hidden;
}

.plan-card.featured {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0.85rem;
}

.plan-highlight {
  position: absolute;
  top: 1.05rem;
  right: -2.1rem;
  z-index: 2;
  display: block;
  width: 8.3rem;
  padding: 0.42rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.96));
  border-top: 1px solid rgba(122, 166, 212, 0.18);
  border-bottom: 1px solid rgba(122, 166, 212, 0.18);
  color: #6c93bd;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 8px 18px rgba(122, 166, 212, 0.1);
  pointer-events: none;
}

.plan-card[data-theme="warm"] {
  background: linear-gradient(180deg, var(--surface-butter) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(239, 197, 125, 0.54);
}

.plan-card[data-theme="play"] {
  background: linear-gradient(180deg, var(--surface-peach) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(243, 162, 141, 0.54);
}

.plan-card[data-theme="forest"] {
  background: linear-gradient(180deg, var(--surface-mint) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(142, 207, 157, 0.58);
}

.plan-card[data-theme="ocean"] {
  background: linear-gradient(180deg, var(--surface-sky) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(122, 166, 212, 0.58);
}

.plan-tag {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: #97707b;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card p,
.plan-card li,
.plan-card h3 {
  color: var(--color-muted);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.plan-card[data-theme="warm"] h3,
.plan-card[data-theme="warm"] p,
.plan-card[data-theme="warm"] li,
.plan-card[data-theme="forest"] h3,
.plan-card[data-theme="forest"] p,
.plan-card[data-theme="forest"] li {
  color: var(--color-ink);
}

.plan-card[data-theme="play"] h3,
.plan-card[data-theme="play"] p,
.plan-card[data-theme="play"] li,
.plan-card[data-theme="ocean"] h3,
.plan-card[data-theme="ocean"] p,
.plan-card[data-theme="ocean"] li {
  color: var(--color-ink);
}

.plan-options {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.plan-option {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(122, 166, 212, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.plan-option strong {
  color: #658ab3;
  font-size: 1.05rem;
}

.plan-option span {
  color: #b66d70;
  font-size: clamp(1.08rem, 6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.plan-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.plan-actions .btn,
.plan-actions .btn-ghost {
  width: 100%;
  min-height: 58px;
  justify-content: center;
  padding: 0.95rem 0.9rem;
  border-radius: 8px;
  font-size: clamp(0.86rem, 4.4vw, 1.02rem);
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.plan-actions .btn {
  color: #fffefd;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(135deg, #ffcf32 0%, #f6a72b 38%, #ef7d45 72%, #e86a68 100%);
  border-color: rgba(189, 111, 22, 0.18);
  border-radius: 18px;
  box-shadow:
    0 7px 0 #315b7a,
    0 14px 26px rgba(49, 91, 122, 0.2);
  transform-origin: center;
  animation: heroCtaPulse 1800ms ease-in-out infinite;
}

.plan-actions .btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
  color: #5f84ab;
  border: 1px solid rgba(122, 166, 212, 0.2);
  box-shadow:
    0 10px 20px rgba(122, 166, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.plan-option-actions {
  margin-top: 0.9rem;
  gap: 0.55rem;
}

.plan-option-actions .btn,
.plan-option-actions .btn-ghost {
  min-height: 48px;
  padding: 0.78rem 0.82rem;
  font-size: clamp(0.82rem, 3.9vw, 0.94rem);
}

.plan-option-actions .btn {
  animation: none;
  box-shadow:
    0 4px 0 #315b7a,
    0 8px 16px rgba(49, 91, 122, 0.16);
}

.plan-carousel {
  display: grid;
  gap: 1rem;
}

.carousel-stage {
  position: relative;
}

.plan-carousel .carousel-stage {
  margin-inline: 0;
}

.plan-track {
  display: flex;
  width: 100%;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.35rem 0 0.8rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.plan-track::-webkit-scrollbar {
  display: none;
}

.plan-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.benefit-card {
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  min-height: 220px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.benefit-card .icon-bubble {
  margin-inline: auto;
  margin-bottom: 0.2rem;
}

.benefit-card .icon-bubble svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.benefit-card .benefit-icon {
  width: 56px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
}

.benefit-card h3 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.36rem);
  line-height: 1.25;
}

.benefit-card > span {
  max-width: 22ch;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.45;
}

.reviews-widget {
  margin-top: 1.5rem;
}

.reviews-widget .carousel-stage {
  margin-inline: 0;
  padding-inline: clamp(2rem, 6vw, 3.25rem);
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 320ms ease;
}

.testimonial {
  flex: 0 0 calc(100% / var(--testimonials-per-view, 1));
  padding: 0.45rem;
}

.testimonial article {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  height: 100%;
  min-height: 178px;
  padding: 1.15rem 1.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 14px 30px rgba(49, 91, 122, 0.13);
}

.review-card-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f6a72b, #ef6d52);
  font-size: 1.1rem;
  font-weight: 800;
}

.testimonial:nth-child(3n + 2) .review-avatar {
  background: linear-gradient(135deg, #7aa6d4, #67b653);
}

.testimonial:nth-child(3n + 3) .review-avatar {
  background: linear-gradient(135deg, #efc57d, #b66d70);
}

.review-profile {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.review-profile strong {
  color: #121820;
  font-size: 0.96rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-profile span {
  color: var(--color-muted);
  font-size: 0.76rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-source {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.testimonial-rating {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: #f6b400;
  font-size: 1rem;
  line-height: 1;
}

.review-stars {
  letter-spacing: 0.02em;
}

.review-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #5ca0ff;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.review-date {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.testimonial blockquote {
  margin: 0;
  color: #151a20;
  font-size: 0.98rem;
  line-height: 1.45;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-controls-bottom {
  justify-content: center;
}

.carousel-dots {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dots button,
.carousel-arrow {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.carousel-dots button {
  width: 12px;
  height: 12px;
}

.carousel-dots button.is-active {
  background: #7aa6d4;
}

.carousel-arrow {
  display: none;
}

.reviews-widget .carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--color-ocean);
  font-size: 1.1rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.reviews-widget .carousel-arrow-prev {
  left: 0;
}

.reviews-widget .carousel-arrow-next {
  right: 0;
}

.plan-carousel .carousel-controls {
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.plan-carousel .carousel-controls .plan-control-arrow {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--color-ocean);
  font-size: 1.1rem;
  font-weight: 800;
  transform: none;
}

.carousel-arrow-prev {
  left: 0.5rem;
}

.carousel-arrow-next {
  right: 0.5rem;
}

@media (max-width: 719px) {
  .plan-carousel,
  .plan-carousel .carousel-stage {
    overflow: hidden;
  }

  .reading-gallery.has-mobile-rotator {
    display: block;
  }

  .reading-gallery.has-mobile-rotator > .gallery-card {
    display: none;
  }

  .mobile-reading-gallery {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: clamp(300px, 78vw, 430px);
    margin: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
  }

  .mobile-reading-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(49, 66, 83, 0.08));
    pointer-events: none;
  }

  .mobile-gallery-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--mobile-gallery-pos, center);
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 2600ms ease;
  }

  .mobile-gallery-frame.is-visible {
    opacity: 1;
  }
}

.timeline-list {
  position: relative;
  max-width: min(920px, 100%);
  margin-inline: auto;
  grid-template-columns: 1fr !important;
  gap: 6rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239, 197, 125, 0.5), rgba(122, 166, 212, 0.24));
}

.timeline-step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5.25rem;
}

.timeline-step .icon-bubble {
  position: absolute;
  top: 1.2rem;
  left: 0.9rem;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0;
  background: linear-gradient(135deg, rgba(247, 224, 138, 0.9), rgba(255, 255, 255, 0.92));
  box-shadow: 0 10px 24px rgba(239, 197, 125, 0.18);
}

.timeline-list.is-centered::before {
  left: 50%;
  top: -1.6rem;
  bottom: 1.8rem;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(239, 197, 125, 0.82), rgba(247, 224, 138, 0.92) 45%, rgba(243, 162, 141, 0.72));
  box-shadow: 0 0 0 6px rgba(239, 197, 125, 0.08);
}

.timeline-step.is-centered {
  max-width: min(920px, 100%);
  margin-inline: auto;
  overflow: visible;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.timeline-step.is-centered .icon-bubble {
  top: -1.75rem;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

.timeline-step.is-centered:not(:last-child)::after {
  content: none;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 4px;
  height: 4.75rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(247, 224, 138, 0.95), rgba(243, 162, 141, 0.72));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(239, 197, 125, 0.18);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(247, 224, 138, 0.2), transparent 22%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 246, 0.92));
  box-shadow: var(--shadow-soft);
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  overflow: hidden;
  border-width: 2px;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.3rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: var(--color-ocean);
}

.faq-icon {
  --faq-icon-bg: rgba(255, 255, 255, 0.72);
  --faq-icon-color: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  color: var(--faq-icon-color);
  background: var(--faq-icon-bg);
  border: 0;
  box-shadow: none;
}

.faq-icon .fa-solid {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
  transition: opacity 180ms ease, transform 180ms ease;
}

.faq-icon .fa-book {
  background-image: url("images/fa-book.svg");
}

.faq-icon .fa-book-open {
  position: absolute;
  opacity: 0;
  background-image: url("images/fa-book-open.svg");
  transform: scale(0.9);
}

.faq-trigger[aria-expanded="true"] .fa-book {
  opacity: 0;
  transform: scale(0.9);
}

.faq-trigger[aria-expanded="true"] .fa-book-open {
  opacity: 1;
  transform: scale(1);
}

.faq-answer {
  padding: 0 1.3rem 1.3rem;
  color: var(--color-muted);
}

.faq-list .faq-item:nth-child(1) {
  --faq-icon-bg: rgba(255, 244, 204, 0.9);
  --faq-icon-color: #92713d;
  background: linear-gradient(180deg, var(--surface-butter) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(239, 197, 125, 0.54);
}

.faq-list .faq-item:nth-child(2) {
  --faq-icon-bg: rgba(255, 232, 220, 0.92);
  --faq-icon-color: #9b6a60;
  background: linear-gradient(180deg, var(--surface-peach) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(243, 162, 141, 0.54);
}

.faq-list .faq-item:nth-child(3) {
  --faq-icon-bg: rgba(232, 247, 235, 0.92);
  --faq-icon-color: #4f7a60;
  background: linear-gradient(180deg, var(--surface-mint) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(142, 207, 157, 0.58);
}

.faq-list .faq-item:nth-child(4) {
  --faq-icon-bg: rgba(234, 243, 255, 0.92);
  --faq-icon-color: #5d82aa;
  background: linear-gradient(180deg, var(--surface-sky) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(122, 166, 212, 0.58);
}

.faq-list .faq-item:nth-child(5) {
  --faq-icon-bg: rgba(255, 230, 234, 0.92);
  --faq-icon-color: #a5667f;
  background: linear-gradient(180deg, var(--surface-rose) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(242, 154, 157, 0.58);
}

.faq-list .faq-item:nth-child(1) .faq-trigger,
.faq-list .faq-item:nth-child(1) .faq-answer,
.faq-list .faq-item:nth-child(3) .faq-trigger,
.faq-list .faq-item:nth-child(3) .faq-answer {
  color: var(--color-ink);
}

.faq-list .faq-item:nth-child(2) .faq-trigger,
.faq-list .faq-item:nth-child(2) .faq-answer,
.faq-list .faq-item:nth-child(4) .faq-trigger,
.faq-list .faq-item:nth-child(4) .faq-answer,
.faq-list .faq-item:nth-child(5) .faq-trigger,
.faq-list .faq-item:nth-child(5) .faq-answer {
  color: var(--color-ink);
}

.institution-stack,
.contact-layout {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 2rem auto 0;
  max-width: 1120px;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.contact-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-md) + 6px);
  background: linear-gradient(145deg, rgba(255, 244, 204, 0.54), rgba(234, 243, 255, 0.46));
  border: 1px solid rgba(122, 166, 212, 0.18);
  box-shadow: var(--shadow-card);
}

.contact-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(49, 66, 83, 0.12));
  pointer-events: none;
}

.contact-visual-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  max-width: min(320px, calc(100% - 2rem));
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(49, 66, 83, 0.12);
  color: var(--color-ink);
}

.contact-visual-note strong {
  font-size: 1rem;
  color: var(--color-ocean);
}

.contact-visual-note span {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.contact-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 166, 212, 0.16);
  box-shadow: 0 10px 24px rgba(122, 166, 212, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(122, 166, 212, 0.12);
}

.contact-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-item-copy {
  display: grid;
  gap: 0.18rem;
}

.contact-item-copy strong {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-item-copy span:last-child {
  font-size: 1.02rem;
  line-height: 1.35;
}

.contact-item.is-whatsapp {
  color: #3f7a57;
  border-color: rgba(142, 207, 157, 0.34);
  background: linear-gradient(135deg, rgba(232, 247, 235, 0.96), rgba(255, 255, 255, 0.86));
}

.contact-item.is-email {
  color: #648ab5;
  border-color: rgba(122, 166, 212, 0.3);
  background: linear-gradient(135deg, rgba(234, 243, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.contact-item.is-instagram {
  color: #a5667f;
  border-color: rgba(242, 154, 157, 0.3);
  background: linear-gradient(135deg, rgba(255, 230, 234, 0.94), rgba(255, 248, 230, 0.9));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 700;
  color: var(--color-ocean);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.84);
}

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

.error-text {
  color: var(--color-red-dark);
  font-size: 0.88rem;
}

.success-box {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(142, 207, 157, 0.18);
  color: #447458;
  font-weight: 600;
}

@media (max-width: 479px) {
  .section {
    padding: 3.25rem 0;
  }

  .section-sm {
    padding: 2.4rem 0;
  }

  .plan-head {
    padding-right: 1.2rem;
  }

  .plan-tag {
    white-space: normal;
    line-height: 1.2;
  }

  .plan-card h3 {
    font-size: clamp(1.02rem, 5.6vw, 1.18rem);
    line-height: 1.28;
  }

  .plan-option {
    padding: 0.9rem;
  }

  .plan-card ul {
    padding-left: 1rem;
  }

  .plan-actions .btn {
    padding-inline: 0.75rem;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
  }

  .contact-item {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 0.85rem;
  }

  .contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .contact-item-copy span:last-child,
  .footer-contact-link span,
  .payment-flag span {
    overflow-wrap: anywhere;
  }

  .contact-visual-note {
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.85rem;
    border-radius: 8px;
  }

  .footer-brand {
    justify-content: center;
  }
}

.footer {
  padding: 3rem 0 2rem;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(247, 224, 138, 0.54), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142, 207, 157, 0.46), transparent 28%),
    linear-gradient(145deg, #eaf3ff, #dff3e4 55%, #ffe7dc);
}

.footer-grid {
  padding: 0;
}

.footer-grid > div {
  --footer-accent: #5d7fa6;
  --footer-link: #55779f;
  --footer-border: rgba(122, 166, 212, 0.28);
  padding: 0.35rem 0;
  border-top: 3px solid var(--footer-border);
}

.footer-grid > div:nth-child(1) {
  --footer-accent: #5d7fa6;
  --footer-link: #55779f;
  --footer-border: rgba(122, 166, 212, 0.36);
}

.footer-grid > div:nth-child(2) {
  --footer-accent: #b66d70;
  --footer-link: #9f6267;
  --footer-border: rgba(242, 154, 157, 0.42);
}

.footer-grid > div:nth-child(3) {
  --footer-accent: #3f7a57;
  --footer-link: #427b61;
  --footer-border: rgba(142, 207, 157, 0.46);
}

.footer-grid > div:nth-child(4) {
  --footer-accent: #8f6a3d;
  --footer-link: #9a735f;
  --footer-border: rgba(239, 197, 125, 0.48);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.footer-mascot {
  width: clamp(136px, 16vw, 220px);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(122, 166, 212, 0.2));
}

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

.footer h2,
.footer h3 {
  margin: 0 0 0.8rem;
  color: var(--footer-accent);
}

.footer p,
.footer li {
  margin: 0;
  color: var(--footer-link);
}

.footer nav ul,
.footer ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-contact-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 18px;
}

.payment-flags {
  display: grid;
  gap: 0.65rem;
  margin-top: 0;
}

.payment-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--footer-link);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}

.footer-grid > div:nth-child(4) .payment-flag {
  color: var(--footer-link);
}

.payment-flag svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 18px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(122, 166, 212, 0.16);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-muted);
}

.footer-bottom span + span::before {
  content: none;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 65;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 8px 0 #1b7f46,
    0 18px 30px rgba(27, 127, 70, 0.24);
  opacity: 0;
  transform: translateY(14px) scale(0.88);
  transition: opacity 240ms ease, transform 240ms ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(9, 19, 31, 0.6);
}

.modal-card {
  width: min(520px, 100%);
  padding: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.95));
  box-shadow: var(--shadow-soft);
}

.modal-plan-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.1rem;
  border-radius: 8px;
  background: rgba(234, 243, 255, 0.72);
  border: 1px solid rgba(122, 166, 212, 0.16);
}

.modal-plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-card h2 {
  margin: 0 0 0.75rem;
  color: var(--color-ocean);
}

.modal-card p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.modal-actions .btn {
  width: 100%;
  transform-origin: center;
  animation: heroCtaPulse 1800ms ease-in-out infinite;
}

.modal-actions .btn-ghost {
  align-self: center;
  min-width: 120px;
}

@media (min-width: 720px) {
  .carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    color: var(--color-ocean);
    transform: translateY(-50%);
  }

  .plan-track {
    gap: 1rem;
  }

  .plan-carousel .carousel-controls .plan-control-arrow {
    display: none;
  }

  .hero-panel {
    background-image: url("images/head_pc.png");
    background-position: center;
  }

  .reading-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 110px;
    align-items: stretch;
  }

  .gallery-card-lg {
    grid-column: span 2;
    grid-row: span 4;
  }

  .gallery-card-top {
    grid-row: span 2;
  }

  .gallery-card-mid,
  .gallery-card-square {
    grid-row: span 2;
  }

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

  .gallery-card-wide-alt {
    grid-column: span 2;
    grid-row: span 2;
  }

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

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

  .reading-benefit {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: 2.5rem;
  }

  .reading-benefit-reverse {
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  }

  .reading-benefit-reverse .reading-benefit-copy {
    order: 2;
  }

  .reading-benefit-reverse .reading-benefit-media {
    order: 1;
  }

  .about-company-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
    gap: 2.5rem;
  }

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

  .plan-slide {
    flex-basis: calc(50% - 0.5rem);
  }

  .stage-layout,
  .cta-panel,
  .page-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
  }

  .footer-grid {
    padding: 0;
  }

  .footer-grid > div {
    padding: 0.75rem 1.25rem 0;
  }

  .carousel-arrow-prev {
    left: -0.9rem;
  }

  .carousel-arrow-next {
    right: -0.9rem;
  }

}

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

  .plan-actions .btn,
  .modal-actions .btn {
    animation: none;
  }

  .hero-sparkle {
    animation: none;
    opacity: 0.48;
    transform: translate(-50%, -50%) rotate(var(--sparkle-rotate, 45deg)) scale(0.78);
  }

  .whatsapp-float {
    transition: none;
  }

  .gallery-frame {
    animation: none;
    transform: none;
    filter: none;
  }

  .gallery-frame-alt {
    display: none;
  }

  .mobile-gallery-frame {
    transform: none;
    transition: none;
  }
}

@media (min-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    grid-column: auto;
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0;
  }

  .nav-links,
  .auth-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .auth-links {
    margin-top: 0;
  }

  .hero-panel {
    min-height: 100svh;
    background-image: url("images/head_pc.png");
    background-position: center;
    background-size: cover;
  }

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

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .reading-gallery {
    grid-template-columns: 1.22fr 0.9fr 0.78fr 0.78fr;
    grid-auto-rows: 108px;
  }

  .gallery-card-lg {
    grid-column: span 2;
    grid-row: span 4;
  }

  .gallery-card-top {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-card-mid {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-card-square {
    grid-column: span 2;
    grid-row: span 2;
  }

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

  .gallery-card-wide-alt {
    grid-column: span 2;
    grid-row: span 2;
  }

  .carousel-arrow-prev {
    left: -1.45rem;
  }

  .carousel-arrow-next {
    right: -1.45rem;
  }

  .plan-slide {
    flex-basis: calc((100% - 2rem) / 3);
  }

  .stage-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.9fr 0.8fr 0.8fr;
  }

  .footer-grid > div {
    padding: 0.75rem 1.4rem 0;
  }

  .footer-grid > div:first-child {
    padding-left: 0;
  }
}
