.pop-home {
  --pop-cyan: #16c6ca;
  --pop-pink: #e058dd;
  --pop-yellow: #ffd24a;
  overflow-x: hidden;
}

.pop-home .site-header { z-index: 20; }

.pop-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--blue-950);
}

.pop-hero-photo,
.pop-hero-photo::after { position: absolute; inset: 0; }

.pop-hero-photo::after {
  content: "";
  background: linear-gradient(90deg, rgba(7,27,61,.97) 0%, rgba(7,27,61,.89) 45%, rgba(7,27,61,.45) 100%);
}

.pop-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.pop-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 112px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: 20px;
}

.pop-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #cceaff;
  font-size: 13px;
  font-weight: 800;
}

.pop-label span { width: 28px; height: 3px; background: var(--pop-cyan); }

.pop-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 74px); line-height: 1.12; }
.pop-hero h1 strong { color: #fff; text-decoration: underline; text-decoration-color: var(--pop-cyan); text-decoration-thickness: 8px; text-underline-offset: 8px; }
.pop-hero-copy > p:not(.pop-label) { max-width: 600px; margin: 28px 0 0; color: rgba(255,255,255,.84); font-size: 17px; }
.pop-button { gap: 22px; }

.mascot-stage { position: relative; align-self: end; padding-top: 66px; }
.mascot-stage img { position: relative; z-index: 2; width: min(560px, 100%); margin-inline: auto; filter: drop-shadow(0 20px 18px rgba(0,0,0,.35)); }
.mascot-note {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 5%;
  padding: 13px 18px;
  color: var(--blue-950);
  background: #fff;
  border: 3px solid var(--pop-cyan);
  border-radius: 8px;
  font-weight: 900;
  transform: rotate(2deg);
}
.mascot-note::after { content: ""; position: absolute; left: 32px; bottom: -15px; width: 20px; height: 20px; background: #fff; border-right: 3px solid var(--pop-cyan); border-bottom: 3px solid var(--pop-cyan); transform: rotate(45deg); }

.hero-trust {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 38px);
  color: var(--blue-950);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}
.hero-trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--pop-pink); }

.pop-intro { background: #fff; }
.pop-intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.intro-heading { position: relative; padding-left: 28px; }
.intro-heading::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 6px; background: var(--pop-cyan); border-radius: 8px; }
.intro-body > p { margin: 0; color: var(--muted); }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.trust-points span { padding: 15px 10px; color: var(--blue-950); background: var(--soft); border-bottom: 3px solid var(--pop-cyan); text-align: center; font-size: 13px; font-weight: 800; }
.trust-points b { display: block; color: var(--blue-550); font-size: 11px; }

.pop-services { background: var(--soft); }
.pop-section-head { align-items: end; }
.pop-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.pop-service-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 36px rgba(7,27,61,.1); transition: transform .2s ease, box-shadow .2s ease; }
.pop-service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(7,27,61,.17); }
.service-photo { position: relative; overflow: hidden; }
.service-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.pop-service-card:hover .service-photo img { transform: scale(1.04); }
.service-photo > span { position: absolute; right: 12px; bottom: 0; min-width: 52px; padding: 8px; color: var(--blue-950); background: #fff; text-align: center; font-size: 13px; font-weight: 900; }
.service-content { position: relative; min-height: 128px; padding: 22px 58px 22px 22px; border-top: 5px solid var(--pop-cyan); }
.accent-pink .service-content { border-color: var(--pop-pink); }
.accent-blue .service-content { border-color: var(--blue-550); }
.service-content p { margin: 0 0 5px; color: var(--blue-550); font-size: 10px; font-weight: 900; }
.service-content h3 { margin: 0; color: var(--blue-950); font-size: 18px; line-height: 1.4; }
.service-arrow { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border-radius: 50%; background: var(--blue-700); }

.kaitorys-section { background: #fff; }
.kaitorys-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.kaitorys-visual { position: relative; padding: 0 0 50px 28px; }
.kaitorys-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.kaitorys-mascots { position: absolute; width: 48%; right: -3%; bottom: 0; filter: drop-shadow(0 14px 12px rgba(7,27,61,.2)); }
.kaitorys-visual::before { content: ""; position: absolute; left: 0; top: -24px; width: 45%; height: 48%; background: var(--pop-cyan); border-radius: 8px; opacity: .15; }
.kaitorys-copy h2 { margin: 0 0 20px; color: var(--blue-950); font-size: clamp(30px, 4vw, 46px); line-height: 1.25; }
.kaitorys-copy > p:not(.section-kicker) { margin: 0 0 28px; color: var(--muted); }

.pop-contact { position: relative; overflow: hidden; color: #fff; background: var(--blue-850); }
.pop-contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; }
.pop-contact-inner { position: relative; width: min(1120px, calc(100% - 36px)); min-height: 350px; margin: 0 auto; padding: 64px 300px 64px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.pop-contact-inner > div { position: relative; z-index: 2; }
.pop-contact p { margin: 0 0 10px; color: var(--pop-cyan); font-size: 12px; font-weight: 900; }
.pop-contact h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.3; }
.pop-contact address { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 13px; font-style: normal; }
.contact-actions { display: grid; gap: 12px; }
.contact-phone { display: grid; padding: 15px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; }
.contact-phone small { color: rgba(255,255,255,.7); }
.contact-phone strong { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; }
.contact-mail { justify-content: space-between; color: var(--blue-950); background: #fff; }
.pop-contact-inner > img { position: absolute; z-index: 1; right: -80px; bottom: -28px; width: 390px; filter: drop-shadow(0 15px 12px rgba(0,0,0,.25)); }
.pop-footer { border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 940px) {
  .pop-hero { min-height: 720px; align-items: end; }
  .pop-hero-inner { grid-template-columns: 1fr .75fr; padding-bottom: 92px; }
  .mascot-stage { align-self: end; }
  .mascot-note { display: none; }
  .pop-contact-inner { padding-right: 210px; grid-template-columns: 1fr; gap: 28px; }
  .pop-contact-inner > img { right: -100px; width: 330px; }
}

/* Image effects and mascot staging */
.pop-hero-photo img {
  opacity: .45;
  transform: scale(1.08);
}

.effects-ready .pop-hero-photo img {
  animation: hero-photo-in 1.5s cubic-bezier(.16, 1, .3, 1) forwards;
}

.mascot-entrance {
  opacity: 0;
  transform: translateX(42px) scale(.95);
}

.effects-ready .mascot-entrance {
  animation: mascot-photo-in 1s cubic-bezier(.16, 1, .3, 1) .25s forwards;
}

.mascot-cluster {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  min-height: 470px;
  margin-inline: auto;
}

.mascot-stage .mascot-cluster img {
  position: absolute;
  width: auto;
  margin: 0;
  filter: drop-shadow(0 18px 14px rgba(0,0,0,.28));
}

.mascot-boy { left: 5%; bottom: 22px; height: 62%; }
.mascot-girl { right: 2%; bottom: 18px; height: 68%; }
.mascot-car { left: 1%; bottom: 0; height: 25%; transform: rotate(-4deg); }
.mascot-bike { right: 12%; bottom: 0; height: 27%; transform: rotate(5deg); }

.mascot-shadow {
  position: absolute;
  left: 10%;
  right: 6%;
  bottom: 2px;
  height: 34px;
  background: rgba(0,0,0,.22);
  border-radius: 50%;
  filter: blur(14px);
}

.pop-service-card:hover { transform: none; }

[data-reveal] .service-photo,
[data-reveal] .kaitorys-photo,
[data-reveal] .kaitorys-mascots {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}

[data-reveal].is-visible .service-photo,
[data-reveal].is-visible .kaitorys-photo,
[data-reveal].is-visible .kaitorys-mascots {
  opacity: 1;
  transform: scale(1);
}

[data-reveal].is-visible [data-reveal-item]:nth-child(2) .service-photo { transition-delay: .12s; }
[data-reveal].is-visible [data-reveal-item]:nth-child(3) .service-photo { transition-delay: .24s; }
[data-reveal].is-visible .kaitorys-mascots { transition-delay: .2s; }

.kaitorys-visual .mascot-side-boy { width: 30%; right: 18%; bottom: 0; }
.kaitorys-visual .mascot-side-girl { width: 31%; right: -5%; bottom: 4px; transition-delay: .34s; }
.pop-contact-inner > img { width: 250px; right: -20px; }

@keyframes hero-photo-in {
  from { opacity: .45; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes mascot-photo-in {
  0% { opacity: 0; transform: translateX(42px) scale(.95); }
  75% { opacity: 1; transform: translateX(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
