:root {
  --blue: #2f7deb;
  --blue-dark: #155fbe;
  --yellow: #ffd233;
  --pink: #f25cc8;
  --pink-dark: #c12a91;
  --green: #a9e84a;
  --orange: #ff7b39;
  --light: #f7f8fc;
  --cream: #fff9e6;
  --ink: #253041;
  --white: #fff;
  --shadow: 0 18px 45px rgba(37, 48, 65, 0.12);
  --shadow-small: 0 10px 24px rgba(37, 48, 65, 0.1);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Fredoka", ui-rounded, system-ui, sans-serif;
}

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-small);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  padding: 34px 0 118px;
  background: linear-gradient(145deg, var(--cream) 0%, #fff 54%, #ffe8f7 100%);
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.94;
}

.blob-a {
  top: 54px;
  left: -185px;
  width: 330px;
  height: 330px;
  background: #ff5954;
}

.blob-b {
  top: -95px;
  right: -190px;
  width: 350px;
  height: 350px;
  background: #eb70d0;
}

.blob-c {
  right: -110px;
  bottom: -105px;
  width: 245px;
  height: 245px;
  background: var(--green);
}

.hero-route {
  position: absolute;
  z-index: 0;
  bottom: 48px;
  left: 50%;
  width: min(760px, 108%);
  overflow: visible;
  color: var(--blue);
  opacity: 0.2;
  transform: translateX(-50%);
}

.hero-route > path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
}

.route-pin {
  fill: var(--white);
  stroke: currentColor;
  stroke-width: 4;
}

.route-pin circle {
  fill: var(--yellow);
  stroke-width: 3;
}

.spark {
  position: absolute;
  z-index: 0;
  color: var(--yellow);
  font-size: 1.8rem;
  line-height: 1;
  opacity: 0.8;
}

.spark-a {
  top: 24%;
  left: 8%;
  transform: rotate(15deg);
}

.spark-b {
  top: 35%;
  right: 8%;
  color: var(--pink);
  font-size: 1.3rem;
}

.spark-c {
  right: 20%;
  bottom: 21%;
  color: var(--orange);
  font-size: 1rem;
}

.sun {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 2px auto 14px;
  border: 7px solid rgba(255, 123, 57, 0.42);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 8px 18px rgba(255, 123, 57, 0.22);
}

.sun::before,
.sun::after {
  position: absolute;
  inset: -16px 17px;
  z-index: -1;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
}

.sun::after {
  transform: rotate(90deg);
}

.sun span::before,
.sun span::after {
  position: absolute;
  top: 15px;
  left: -15px;
  width: 76px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
  transform: rotate(45deg);
}

.sun span::after {
  transform: rotate(-45deg);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 4px 0 rgba(37, 48, 65, 0.1);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(1.8rem, 9.2vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.91;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 5px 0 var(--blue-dark), 0 12px 24px rgba(37, 48, 65, 0.14);
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(21, 95, 190, 0.2);
}

.intro {
  max-width: 700px;
  margin: 30px auto 26px;
  font-size: clamp(1.04rem, 3vw, 1.25rem);
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 13px 22px;
  border: 3px solid transparent;
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(37, 48, 65, 0.14);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.button:focus-visible,
a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.button:active {
  box-shadow: 0 3px 0 rgba(37, 48, 65, 0.14);
  transform: translateY(4px);
}

.button-primary {
  color: var(--white);
  background: var(--pink-dark);
}

.cards-section {
  position: relative;
  z-index: 3;
  padding-bottom: 54px;
  background: var(--light);
}

.cards-section::before {
  position: absolute;
  top: 42%;
  left: -55px;
  width: 110px;
  height: 110px;
  border: 22px solid rgba(47, 125, 235, 0.07);
  border-radius: 50%;
  content: "";
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin-top: -64px;
}

.info-card {
  position: relative;
  min-width: 0;
  padding: 58px 24px 28px;
  border: 1px solid rgba(37, 48, 65, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0.12;
  transform: rotate(-8deg);
}

.card-icon {
  position: absolute;
  top: -25px;
  right: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-small);
  transform: rotate(4deg);
}

.card-icon .icon {
  width: 28px;
  height: 28px;
}

.info-card.green .card-icon {
  color: var(--ink);
  background: var(--green);
}

.info-card.yellow .card-icon {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-4deg);
}

.info-card.pink .card-icon {
  color: var(--white);
  background: var(--pink);
}

.info-card.blue .card-icon {
  color: var(--white);
  background: var(--blue);
  transform: rotate(-4deg);
}

.title-sticker {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin: 0 0 22px -34px;
  padding: 10px 20px;
  border-radius: 8px 13px 9px 6px;
  box-shadow: 0 6px 0 rgba(37, 48, 65, 0.12);
  font-size: clamp(1.45rem, 7vw, 2rem);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-1.5deg);
  text-transform: uppercase;
}

.title-sticker::after {
  position: absolute;
  top: 7px;
  right: -7px;
  width: 14px;
  height: calc(100% - 14px);
  border-radius: 2px 7px 7px 2px;
  background: inherit;
  content: "";
  clip-path: polygon(0 0, 100% 18%, 70% 50%, 100% 82%, 0 100%);
}

.info-card.green .title-sticker {
  color: var(--ink);
  background: var(--green);
}

.info-card.yellow .title-sticker {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(1.2deg);
}

.info-card.pink .title-sticker {
  color: var(--white);
  background: var(--pink-dark);
}

.info-card.blue .title-sticker {
  color: var(--white);
  background: var(--blue);
  transform: rotate(1deg);
}

.info-card ul,
.rules-list {
  margin: 0;
  padding-left: 1.25rem;
}

.info-card li,
.rules-list li {
  padding-left: 0.25rem;
  margin: 0.72rem 0;
}

.info-card li:first-child,
.rules-list li:first-child {
  margin-top: 0;
}

.info-card li:last-child,
.rules-list li:last-child {
  margin-bottom: 0;
}

.info-card li::marker,
.rules-list li::marker {
  color: #d93aa7;
  font-size: 1.05em;
}

.intro a,
.info-card a,
.rules-list a,
.life360-text a {
  color: #155fbe;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.life360-section {
  padding: 8px 0 64px;
  background: var(--light);
}

.life360-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: 30px 24px;
  border: 2px solid rgba(47, 125, 235, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), #eef6ff);
  box-shadow: var(--shadow);
}

.life360-box::after {
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 210, 51, 0.42);
  content: "";
}

.life360-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 26px 20px 28px 22px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 9px 9px 0 rgba(255, 210, 51, 0.78);
  transform: rotate(-2deg);
}

.life360-icon .icon {
  width: 50px;
  height: 50px;
}

.life360-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.life360-copy .section-kicker {
  margin-bottom: 8px;
}

.life360-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1.05;
}

.life360-text p {
  margin: 0;
}

.life360-text p + p {
  margin-top: 0.8rem;
}

.button-life360 {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: start;
  color: var(--white);
  background: #2269c7;
}

.rules-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: var(--white);
}

.rules-section::after {
  position: absolute;
  right: -62px;
  bottom: 30px;
  width: 145px;
  height: 145px;
  border-radius: 44% 56% 63% 37%;
  background: rgba(255, 210, 51, 0.18);
  content: "";
  transform: rotate(18deg);
}

.rules-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 30px 24px;
  border: 2px solid rgba(47, 125, 235, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), #f7fbff);
  box-shadow: var(--shadow);
}

.rules-illustration {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 30px 22px 28px 20px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 10px 10px 0 rgba(169, 232, 74, 0.72);
  transform: rotate(-3deg);
}

.rules-illustration .icon {
  width: 56px;
  height: 56px;
}

.rules-content {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 13px;
  color: #c92c98;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.play-card .title-sticker {
  margin-left: -34px;
  color: var(--white);
  background: var(--pink-dark);
  transform: rotate(-1deg);
}

.rules-list li {
  font-size: 1.02rem;
}

.cta {
  padding: 18px 0 72px;
  background: var(--light);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 54px 24px 38px;
  border-radius: 32px;
  color: var(--white);
  background: #2269c7;
  box-shadow: var(--shadow);
  text-align: center;
  isolation: isolate;
}

.cta-box::before,
.cta-box::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.cta-box::before {
  top: -80px;
  right: -75px;
  width: 190px;
  height: 190px;
  background: var(--green);
}

.cta-box::after {
  bottom: -95px;
  left: -90px;
  width: 180px;
  height: 180px;
  background: var(--pink);
}

.ticket {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-block;
  padding: 8px 20px;
  border: 3px dashed rgba(255, 255, 255, 0.74);
  border-radius: 7px;
  background: var(--pink-dark);
  font-family: "Fredoka", ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: translate(-50%, -7px) rotate(-2deg);
}

.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.cta-copy {
  width: 100%;
}

.cta h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.cta-copy > p {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 1.08rem;
  font-weight: 700;
}

.cta-copy > p a {
  color: var(--yellow);
  font-weight: 800;
  text-underline-offset: 3px;
}

.button-whatsapp {
  color: #073d20;
  background: #3bd56f;
}

.admin-note {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
}

.qr-code {
  width: min(210px, 100%);
  margin: 0;
  padding: 13px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(21, 62, 130, 0.24);
  transform: rotate(1.5deg);
}

.qr-code img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.qr-code figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.site-footer {
  padding: 24px 0;
  color: var(--white);
  background: #18274a;
  text-align: center;
}

.standard-page {
  min-height: 75vh;
  background: var(--light);
}

.page-shell {
  margin: 0;
}

.page-banner {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: 66px 0 92px;
  background: linear-gradient(145deg, var(--cream) 0%, var(--white) 56%, #ffe8f7 100%);
  isolation: isolate;
}

.page-shape {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
}

.page-shape-a {
  top: -62px;
  left: -92px;
  width: 190px;
  height: 190px;
  background: #ff5954;
}

.page-shape-b {
  top: -75px;
  right: -95px;
  width: 210px;
  height: 210px;
  background: #eb70d0;
}

.page-shape-c {
  right: 12%;
  bottom: -72px;
  width: 145px;
  height: 145px;
  background: var(--green);
}

.page-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-heading .eyebrow {
  margin-bottom: 18px;
}

.page-heading h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--blue-dark);
  font-size: clamp(2.5rem, 12vw, 2rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.page-content-section {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-bottom: 76px;
}

.page-content-card {
  width: min(900px, calc(100% - 32px));
  padding: 30px 24px;
  border: 1px solid rgba(37, 48, 65, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-content-card .entry-content {
  margin-inline: auto;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.7em;
  margin-bottom: 0.55em;
  color: var(--blue-dark);
  line-height: 1.15;
}

.entry-content h2 {
  font-size: clamp(1.65rem, 6vw, 2.35rem);
}

.entry-content h3 {
  font-size: clamp(1.35rem, 5vw, 1.8rem);
}

.entry-content a {
  color: #155fbe;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.entry-content img {
  height: auto;
  border-radius: 16px;
}

.entry-content blockquote {
  margin: 1.7rem 0;
  padding: 18px 22px;
  border-left: 6px solid var(--yellow);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}

.entry-content .wp-block-button__link {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--white);
  background: #2269c7;
  font-weight: 900;
  text-decoration: none;
}

.content-page {
  min-height: 70vh;
  padding: 54px 0;
}

.content-page h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
}

.entry-content {
  max-width: 760px;
  font-size: 1.05rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .info-card,
  .title-sticker {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .info-card:hover {
    box-shadow: 0 24px 52px rgba(37, 48, 65, 0.16);
    transform: translateY(-4px);
  }

  .info-card:hover .title-sticker {
    transform: rotate(0.5deg);
  }

  .button:hover {
    box-shadow: 0 9px 0 rgba(37, 48, 65, 0.14);
    transform: translateY(-2px) scale(1.015);
  }
}

@media (min-width: 768px) {
  .wrap {
    width: min(1120px, calc(100% - 56px));
  }

  .hero {
    min-height: 665px;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(4rem, 7vw, 6.15rem);
  }

  .page-banner {
    min-height: 340px;
    padding: 82px 0 112px;
  }

  .page-shape-a {
    left: -105px;
    width: 260px;
    height: 260px;
  }

  .page-shape-b {
    right: -120px;
    width: 290px;
    height: 290px;
  }

  .page-shape-c {
    right: 16%;
    bottom: -105px;
    width: 210px;
    height: 210px;
  }

  .page-content-section {
    margin-top: -62px;
    padding-bottom: 92px;
  }

  .page-content-card {
    width: min(900px, calc(100% - 56px));
    padding: 48px 56px;
  }

  .blob-a {
    left: -160px;
    width: 410px;
    height: 410px;
  }

  .blob-b {
    right: -185px;
    width: 455px;
    height: 455px;
  }

  .blob-c {
    right: -75px;
    bottom: -165px;
    width: 360px;
    height: 360px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
    margin-top: -72px;
  }

  .info-card {
    min-height: 280px;
    padding: 64px 32px 32px;
  }

  .card-icon {
    right: 28px;
  }

  .title-sticker {
    margin-left: -44px;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  }

  .rules-section {
    padding: 82px 0;
  }

  .life360-box {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
  }

  .life360-icon {
    width: 112px;
    height: 112px;
  }

  .life360-icon .icon {
    width: 60px;
    height: 60px;
  }

  .button-life360 {
    grid-column: 2;
    justify-self: start;
    white-space: nowrap;
  }

  .rules-box {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 38px;
    padding: 42px;
  }

  .rules-illustration {
    width: 150px;
    height: 150px;
  }

  .rules-illustration .icon {
    width: 76px;
    height: 76px;
  }

  .play-card .title-sticker {
    margin-left: 0;
  }

  .cta-box {
    padding: 64px 50px 50px;
  }

  .cta-content:has(.qr-code) {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 44px;
    text-align: left;
  }

  .cta-content:has(.qr-code) .cta-copy > p {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .life360-box {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }

  .button-life360 {
    grid-column: auto;
    justify-self: end;
  }
}

@media (min-width: 1180px) {
  .spark-a {
    left: calc(50% - 550px);
  }

  .spark-b {
    right: calc(50% - 540px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
