/* Certifications hero: uses the dedicated waterpark banner and remains legible at every width. */
main > .hero {
  min-height: 0;
  aspect-ratio: 3 / 1;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: url('assets/banner-certifications-new.png') center center / cover no-repeat;
}

main > .hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(229, 248, 255, .98) 0%, rgba(229, 248, 255, .94) 31%, rgba(229, 248, 255, .58) 47%, rgba(229, 248, 255, .08) 68%, transparent 100%);
}

main > .hero .hero-content {
  display: block;
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0;
  padding: clamp(54px, 5.5vw, 106px) clamp(28px, 7.5vw, 130px) 0;
}

main > .hero .hero-content > * {
  display: block;
  margin-left: 0;
}

main > .hero .hero-content > .blue-button {
  display: inline-flex;
}

main > .hero h1 {
  max-width: 510px;
  color: #062b6f;
  font-size: clamp(2.2rem, 3.65vw, 4.35rem);
  line-height: .96;
  letter-spacing: -2px;
}

main > .hero h2 {
  max-width: 470px;
  color: #063d85;
  font-size: clamp(.95rem, 1.8vw, 1.35rem);
  line-height: 1.22;
}

main > .hero .hero-content > p:not(.eyebrow) {
  max-width: 470px;
  color: #164b80;
  font-size: clamp(.8rem, 1.2vw, .98rem);
  line-height: 1.55;
}

main > .hero .blue-button {
  box-shadow: 0 10px 24px rgba(8, 123, 230, .28);
}

main > .hero .play-safe {
  right: clamp(28px, 7vw, 130px);
  top: clamp(24px, 3vw, 58px);
  color: #0755a8;
  text-shadow: 0 2px 12px rgba(255, 255, 255, .55);
}

main > .hero .hero-wave {
  display: none;
}

/* Four key benefits directly below the banner. */
.benefits {
  position: relative;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: clamp(34px, 4vw, 64px) clamp(18px, 7vw, 130px) clamp(30px, 3vw, 48px);
  background:
    radial-gradient(circle at 7% 42%, rgba(255, 255, 255, .8) 0 2px, transparent 3px) 0 0 / 38px 38px,
    radial-gradient(circle at 93% 50%, rgba(255, 255, 255, .72) 0 2px, transparent 3px) 0 0 / 44px 44px,
    linear-gradient(100deg, #effcff 0%, #dff8ff 48%, #f2fdff 100%);
}

.benefits::before,
.benefits::after {
  content: '';
  position: absolute;
  width: 110%;
  left: -5%;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
}

.benefits::before { top: -17px; }
.benefits::after { bottom: -20px; }

.benefits article {
  position: relative;
  z-index: 1;
  min-height: 108px;
  padding: 0 clamp(12px, 2vw, 34px);
  border-right: 1px solid #9cdbf5;
}

.benefits article:last-child { border-right: 0; }

.benefits i {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  color: #087be6;
}

.benefits .green { color: #009b70; }

/* Custom outlined shield icon for the first benefit only. */
.benefits article:first-child i {
  position: relative;
  display: block;
  width: 54px;
  height: 60px;
  margin: 0 auto 12px;
  border: 0;
  border-radius: 0;
  background: #087be6;
  clip-path: polygon(50% 0, 96% 14%, 88% 66%, 50% 100%, 12% 66%, 4% 14%);
  font-size: 0;
}

.benefits article:first-child i::before {
  content: '';
  position: absolute;
  inset: 7px;
  background: #effcff;
  clip-path: polygon(50% 0, 96% 14%, 88% 66%, 50% 100%, 12% 66%, 4% 14%);
}

.benefits article:first-child i::after { content: none; }

.benefits h3 {
  margin: 0 0 6px;
  color: #083b88;
  font-size: clamp(.9rem, 1.35vw, 1.2rem);
  line-height: 1.15;
}

.benefits p {
  color: #285b91;
  font-size: clamp(.78rem, 1.05vw, .98rem);
  line-height: 1.35;
}

/* Certification standards and document grid. */
.standards {
  grid-template-columns: minmax(250px, .86fr) minmax(0, 2.14fr);
  align-items: start;
  gap: clamp(26px, 4vw, 70px);
  padding: clamp(46px, 5vw, 86px) clamp(20px, 4vw, 76px);
  background: linear-gradient(135deg, #ffffff 0%, #f7fcff 58%, #edfaff 100%);
}

.standards-copy {
  max-width: 400px;
  padding-top: 8px;
}

.standards .eyebrow {
  margin-bottom: 9px;
  color: #087be6;
  font-size: .78rem;
  letter-spacing: 2px;
}

.standards h2 {
  margin-bottom: 14px;
  color: #062b6f;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
}

.standards-copy > p:not(.eyebrow) {
  max-width: 350px;
  color: #315f91;
  font-size: clamp(.86rem, 1.1vw, 1rem);
  line-height: 1.48;
}

.wave-mark {
  width: 58px;
  height: 17px;
  margin: 7px 0 23px;
  overflow: hidden;
  color: transparent;
}

.wave-mark::before {
  content: '〰〰';
  position: relative;
  top: -17px;
  color: #087be6;
  font-size: 2.35rem;
  letter-spacing: -13px;
}

.standards .blue-button {
  margin-top: 8px;
  padding: 13px 22px;
  border-radius: 28px;
  box-shadow: 0 9px 20px rgba(8, 123, 230, .2);
}

.certificate-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px) clamp(12px, 1.5vw, 24px);
}

.certificate {
  padding: 8px 7px 12px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #f6fbfe);
  box-shadow: 0 8px 24px rgba(24, 92, 140, .07);
}

.paper {
  height: clamp(130px, 13vw, 205px);
  padding: clamp(11px, 1.3vw, 20px) 5px;
  border: 1px solid #d6e0e8;
  border-left-width: clamp(7px, .8vw, 12px);
  box-shadow: 0 3px 12px rgba(20, 46, 72, .18);
}

.paper b { font-size: clamp(1.65rem, 2.6vw, 3.1rem); }
.paper small { font-size: clamp(.68rem, 1vw, .9rem); }
.paper span { font-size: clamp(.53rem, .7vw, .68rem); }

.certificate h3 {
  margin: 11px 0 3px;
  color: #123b78;
  font-size: clamp(.72rem, .95vw, .92rem);
  line-height: 1.22;
}

.certificate p {
  color: #426995;
  font-size: clamp(.61rem, .76vw, .75rem);
  line-height: 1.3;
}

/* Worldwide impact section using the supplied globe-and-water background. */
.worldwide {
  min-height: 0;
  aspect-ratio: 3 / 1;
  display: block;
  padding: 0;
  background: url('section background.png') center center / cover no-repeat;
}

.worldwide::after { content: none; }

.worldwide > div:first-child {
  position: absolute;
  top: 17%;
  left: 3.5%;
  max-width: 540px;
}

.worldwide h2 {
  margin: 0 0 clamp(8px, 1vw, 18px);
  color: #062b6f;
  font-size: clamp(1.5rem, 3.4vw, 3.55rem);
  line-height: 1.01;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.worldwide p {
  color: #154d86;
  font-size: clamp(.68rem, 1.3vw, 1.08rem);
  line-height: 1.5;
}

.worldwide .stats {
  position: absolute;
  left: 35%;
  bottom: 16%;
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 0;
  width: min(100%, 600px);
  max-width: 600px;
}

.worldwide .stats strong {
  padding: 0 clamp(14px, 2.2vw, 34px);
  color: #087be6;
  font-size: clamp(1.6rem, 3.4vw, 3.45rem);
  text-align: left;
}

.worldwide .stats small {
  margin-top: 5px;
  color: #087be6;
  font-size: clamp(.68rem, .88vw, .88rem);
  line-height: 1.3;
  white-space: normal;
}

.worldwide .sustainable {
  display: none;
}

/* Full-width call to action, matching the waterpark banner treatment. */
.cta {
  position: relative;
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 3.4vw, 66px) clamp(22px, 6vw, 120px);
  overflow: hidden;
  background: url('CTA background image.png') center center / cover no-repeat;
}

.cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 46, 103, .72) 0%, rgba(0, 86, 160, .4) 35%, rgba(0, 105, 185, .04) 69%, transparent 100%);
}

.cta .eyebrow {
  margin: 0 0 9px;
  color: #d7f5ff;
  font-size: clamp(.6rem, .8vw, .8rem);
  letter-spacing: 2px;
}

.cta h2 {
  max-width: 520px;
  margin: 0 0 clamp(16px, 2vw, 28px);
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 32, 76, .25);
}

.cta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(10px, 1vw, 15px) clamp(18px, 1.7vw, 28px);
  border-radius: 30px;
  background: #fff;
  color: #0753ad;
  font-size: clamp(.7rem, .9vw, .9rem);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 42, 97, .22);
}

@media (max-width: 800px) {
  main > .hero {
    min-height: 520px;
    aspect-ratio: auto;
    background-position: 61% center;
  }

  main > .hero::after {
    background: linear-gradient(90deg, rgba(229, 248, 255, .98) 0%, rgba(229, 248, 255, .91) 57%, rgba(229, 248, 255, .35) 100%);
  }

  main > .hero .hero-content {
    padding: 112px 26px 100px;
    max-width: 540px;
  }

  main > .hero h1 { letter-spacing: -1px; }

  .benefits { grid-template-columns: repeat(2, 1fr); gap: 26px 0; padding: 42px 18px; }
  .benefits article:nth-child(2) { border-right: 0; }
  .benefits article { min-height: 100px; }

  .standards { grid-template-columns: 1fr; gap: 34px; padding: 52px 26px; }
  .standards-copy { max-width: 560px; }
  .certificate-grid { gap: 18px 12px; }

  .worldwide { min-height: 520px; aspect-ratio: auto; padding: 58px 26px; background-position: 62% center; }
  .worldwide > div:first-child { position: relative; top: auto; left: auto; }
  .worldwide h2 { white-space: normal; }
  .worldwide .stats { position: relative; left: auto; bottom: auto; max-width: 440px; margin-top: 30px; }
  .worldwide .sustainable { display: none; }

  .cta { min-height: 300px; aspect-ratio: auto; padding: 50px 26px; background-position: 58% center; }
}

@media (max-width: 480px) {
  main > .hero { min-height: 500px; background-position: 67% center; }
  main > .hero .hero-content { padding: 94px 20px 86px; }
  main > .hero .hero-content > p:not(.eyebrow) { font-size: .88rem; }
  main > .hero .blue-button { padding: 11px 18px; }
}
