body,
html {
  margin: 0px;
  padding: 0px;
  font-family: "Poppins", sans-serif;
}

.header .logo img {
  width: 250px;
}

.header {
  display: flex;
  padding: 20px 5%;
  justify-content: space-between;
  align-items: center;
}

.ybtn {
  background-color: #ffb900;
  border-radius: 30px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  font-size: 20px;
}

.center {
  text-align: center;
}

.smblu {
  color: #59c2be;
  font-weight: 500;
  font-size: 25px;
}

.hero {
  padding-bottom: 50px;
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

p {
  margin: 25px;
}

.bigtxt {
  font-size: 55px;
  margin: 25px;
  font-weight: 500;
  letter-spacing: 1.1px;
}

/* Top hero typography tuned to match the reference appearance */
.hero-main-title {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 75.1778px;
  line-height: 90.2134px;
  color: #000000;
  letter-spacing: normal;
}

.hero-year-title {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 31.324px;
  line-height: 40.7212px;
  color: #36CDCB;
  letter-spacing: normal;
}

.m-auto {
  margin: auto;
}

.hero-text .ybtn {
  margin-top: 15px;
  display: inline-block;
}


/* Wix-tyylinen haku / paikkakunnat / Radio Pooki -osio */
.wix-extra-section {
  width: 100%;
  max-width: 980px;
  margin: 48px auto 10px;
  text-align: center;
}

.wix-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 375px;
  max-width: 82vw;
  min-height: 64px;
  padding: 0 28px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #ffb900;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.wix-apply-btn:hover {
  opacity: 0.92;
}

.wix-city-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 68px auto 36px;
}

.wix-city {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.wix-city svg {
  width: 20px;
  height: 26px;
  flex: 0 0 auto;
  fill: #36CDCB;
}

.pooki-player {
  display: flex;
  align-items: stretch;
  width: min(100%, 335px);
  min-height: 70px;
  margin: 0 auto;
  text-align: left;
}

.pooki-cover {
  width: 70px;
  height: 70px;
  object-fit: cover;
  flex: 0 0 70px;
}

.pooki-player-main {
  min-width: 0;
  flex: 1;
  padding: 7px 0 3px 15px;
  box-sizing: border-box;
}

.pooki-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 400;
}

.pooki-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.pooki-play {
  position: relative;
  width: 20px;
  height: 23px;
  flex: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pooki-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #000000;
}

.pooki-play.is-playing .pooki-play-icon {
  width: 14px;
  height: 18px;
  border: 0;
  background:
    linear-gradient(to right,
      #000 0 5px,
      transparent 5px 9px,
      #000 9px 14px);
}

.pooki-progress {
  width: 128px;
  height: 3px;
  margin: 0;
  accent-color: #000000;
  cursor: pointer;
}

.pooki-time {
  white-space: nowrap;
  color: #6e6e6e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
}

.pooki-audio {
  display: none;
}

.pooki-description {
  max-width: 610px;
  margin: 22px auto 0;
  color: #59c2be;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.parallax {
  /* The image used */
  background-image: url("img/px-bg.png");

  /* Set a specific height */
  min-height: 90vh;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 120%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.text-overlay {
  padding: 100px;
}

.text-overlay .hero-text {
  color: #fff;
}

.partners {
  padding: 50px 0px;
  position: relative;
}

.partner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  padding-top: 20px;
  min-height: 70vh;
  padding: 0 5vw;
}

.partners .partner-logo img {
  width: 10vw;
  box-sizing: border-box;
}

.partners .partner-logo {
  margin: 50px 2vw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.footer {
  background-color: #000;
  padding-top: 50px;
  padding-bottom: 20px;
}

.logo-central img {
  width: 350px;
}

p {
  font-size: 20px;
  line-height: 1.8em;
}

.contact-row {
  display: flex;
  color: #fff;
  justify-content: center;
  gap: 3vw;
  align-items: center;
  margin-top: 30px;
}

.contact {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.contact .icon {
  border-radius: 50%;
  border: 1px solid #fcb907;
  color: #fcb907;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .icon svg {
  fill: #fcb907;
}

.copyright {
  color: #fff;
  margin-top: 30px;
  font-size: 14px;
  text-align: center;
}

.custom-shape-divider-bottom-1699696372 {
  position: absolute;
  bottom: -62px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 99;
}

.custom-shape-divider-bottom-1699696372 svg,
.custom-shape-divider-bottom-2 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 62px;
}

.custom-shape-divider-bottom-1699696372 .shape-fill,
.custom-shape-divider-bottom-2 .shape-fill {
  fill: #ffffff;
}

.custom-shape-divider-bottom-2 {
  position: absolute;
  bottom: unset;
  top: -61px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1699697038 {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1699697038 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 62px;
}

.custom-shape-divider-bottom-1699697038 .shape-fill {
  fill: #000000;
}

.plus img {
  width: 30px;
}

.cross img {
  width: 23px;
}

.hero .plus {
  position: absolute;
  left: 10%;
  top: 10%;
}

.hero .cross {
  position: absolute;
  right: 10%;
  top: 15%;
}

.parallax .plus1 {
  position: absolute;
  left: 5%;
  bottom: 10%;
}

.parallax .plus2 {
  position: absolute;
  right: 5%;
  top: 10%;
}

.partners .sun img {
  width: 100px;
}

.partners .sun {
  position: absolute;
  right: 0;
  top: 10%;
  z-index: -1;
}

.footer {
  position: relative;
}

.footer .plus {
  position: absolute;
  left: 5%;
  top: 10%;
}

.author {
  color: #a1a1a1;
  font-size: 10px;
  text-align: center;
  margin-top: 20px;
}

.author a {
  color: #a1a1a1;
}

.p-header {
  text-transform: uppercase;
  text-align: center;
  font-size: 30px;
}

.nav-items ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-items ul li a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: #000000;
  text-transform: none;
}

.nav-items ul li a:hover {
  color: #36CDCB;
}

.nav-items ul li a.active {
  color: #36CDCB;
  border-bottom: 1px solid #36CDCB;
  padding-bottom: 7px;
}

.nav-items .sub-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 0px 10px 0px #000000;
  padding: 10px;
  border-radius: 5px;
  top: 100%;
  left: 0;
  z-index: 100;
}

.nav-items ul li {
  position: relative;
}

.nav-items ul li:hover .sub-menu {
  display: block;
}

.sub-menu:hover {
  display: block;
}

.mobile-menu {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: normal;
  color: #000000;
  text-transform: none;
}

.mobile-nav .sub-menu {
  padding-left: 20px;
}

.mobile-nav ul li a:hover {
  color: #36CDCB;
}

.mobile-nav ul li a.active {
  color: #36CDCB;
}

@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .contact-row {
    flex-wrap: wrap;
  }

  .parallax {
    background-size: cover;
  }

  .text-overlay {
    padding: 70px 0px;
  }

  .header .logo img {
    width: 150px;
  }

  .bigtxt {
    font-size: 30px;
  }

  .hero-main-title {
    font-size: 44px;
    line-height: 1.12;
  }

  .hero-year-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .logo-central img {
    width: 200px;
  }

  .ybtn {
    padding: 5px 15px;
    font-size: 14px;
  }

  .partners .partner-logo img {
    width: 70px;
    height: auto;
  }

  .partners {
    padding: 50px 20px;
    padding-top: 20px;
  }

  .partners .partner-logo {
    margin: 5px 10px;
  }

  .plus img,
  .plus1 img,
  .plus2 img {
    width: 20px;
  }

  .cross img {
    width: 15px;
  }

  .hero .plus {
    left: 5%;
    top: 5%;
  }

  .hero .cross {
    right: 5%;
    top: 5%;
  }

  .partners .sun img {
    width: 40px;
  }

  .addr {
    flex-direction: column;
  }

  .p-header {
    font-size: 20px;
  }

  .mobile-menu {
    display: block;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 5%;
    top: 20px;
    z-index: 100;
  }

  .menu-toggle .line {
    width: 30px;
    height: 3px;
    background-color: #000;
    margin: 5px 0;
    transition: 0.5s;
  }

  .menu-toggle.active .line {
    background-color: #ffb900;
  }

  .menu-toggle.active .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
  }

  .menu-toggle.active .line:nth-child(2) {
    display: none;
  }

  .menu-toggle.active .line:nth-child(3) {
    transform: rotate(-45deg);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    width: 50%;
    height: 100%;
    z-index: 99;
    padding: 50px 20px;
    transition: 0.5s;
    transform: translateX(100%);
  }

  .mobile-nav.active {
    transform: translateX(0%);
  }

  .contact {
    display: none;
  }

  .mobile-nav .contact {
    display: flex;
    gap: 10px;
    margin: 20px 0;
  }

  .wix-extra-section {
    margin-top: 38px;
  }

  .wix-apply-btn {
    min-height: 56px;
    font-size: 16px;
  }

  .wix-city-row {
    margin-top: 48px;
    gap: 12px 16px;
  }

  .wix-city {
    font-size: 20px;
  }

  .pooki-player {
    width: min(100%, 330px);
  }

  .pooki-description {
    padding: 0 18px;
    font-size: 16px;
    text-align: center;
  }
}

/* Kesä 2027 -rakennustilan klikkausilmoitus */
.summer-build-bubble {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: min(620px, calc(100vw - 34px));
  min-height: 150px;
  box-sizing: border-box;
  padding: 28px 42px;
  border: 4px solid #ffbd00;
  border-radius: 999px;
  background: rgba(255, 253, 239, 0.98);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 180ms ease,
    transform 420ms cubic-bezier(.18, .89, .32, 1.28);
}

.summer-build-bubble::after {
  content: "";
  position: absolute;
  left: 24%;
  bottom: -24px;
  width: 34px;
  height: 34px;
  background: rgba(255, 253, 239, 0.98);
  border-right: 4px solid #ffbd00;
  border-bottom: 4px solid #ffbd00;
  transform: rotate(45deg);
  border-bottom-right-radius: 8px;
}

.summer-build-bubble.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.summer-bubble-sun {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: #ffbd00;
  box-shadow: 0 0 0 8px rgba(255, 189, 0, 0.13);
}

.summer-bubble-sun::before {
  content: "";
  position: absolute;
  inset: -19px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #ffbd00 0deg 7deg,
    transparent 7deg 30deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 34px, #000 35px);
  mask: radial-gradient(circle, transparent 0 34px, #000 35px);
  animation: summer-sun-spin 7s linear infinite;
}

.summer-build-text {
  position: relative;
  z-index: 1;
}

.summer-click-burst {
  position: fixed;
  z-index: 2147482999;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  background: #ffbd00;
  pointer-events: none;
  animation: summer-burst-core 850ms ease-out forwards;
}

.summer-click-burst::before {
  content: "";
  position: absolute;
  inset: -62px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #ffbd00 0deg 5deg,
    transparent 5deg 22.5deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 25px, #000 26px 72px, transparent 73px);
  mask: radial-gradient(circle, transparent 0 25px, #000 26px 72px, transparent 73px);
  animation: summer-burst-rays 850ms cubic-bezier(.16, .84, .44, 1) forwards;
}

.summer-click-burst::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 5px solid rgba(255, 189, 0, 0.65);
  animation: summer-burst-ring 850ms ease-out forwards;
}

@keyframes summer-burst-core {
  0%   { transform: scale(0.3); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes summer-burst-rays {
  0%   { transform: scale(0.25) rotate(0deg); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1.45) rotate(25deg); opacity: 0; }
}

@keyframes summer-burst-ring {
  0%   { transform: scale(0.25); opacity: 1; }
  100% { transform: scale(4.2); opacity: 0; }
}

@keyframes summer-sun-spin {
  to { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
  .summer-build-bubble {
    width: calc(100vw - 28px);
    min-height: 132px;
    gap: 16px;
    padding: 24px 26px;
    border-width: 3px;
    font-size: 18px;
  }

  .summer-build-bubble::after {
    bottom: -19px;
    width: 28px;
    height: 28px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .summer-bubble-sun {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .summer-bubble-sun::before {
    inset: -16px;
    -webkit-mask: radial-gradient(circle, transparent 0 28px, #000 29px);
    mask: radial-gradient(circle, transparent 0 28px, #000 29px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .summer-build-bubble,
  .summer-click-burst,
  .summer-click-burst::before,
  .summer-click-burst::after,
  .summer-bubble-sun::before {
    animation: none !important;
    transition: opacity 100ms linear !important;
  }
}
