.brand img {
  width: 150px;
  height: 122px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social span,
.footer-social a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
}

.footer-social a:hover {
  text-decoration: underline;
}

.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.map-embed,
.map-placeholder {
  display: block;
  width: 100%;
  height: 260px;
  margin: 25px 0;
  border: 6px solid #fff;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(38, 113, 57, 0.08), 5px 7px 0 #cde3b5;
}

.tour-grid > div:first-child > p.small {
  display: none;
}

.hero-image,
.aim-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 8px solid #fff;
  box-shadow: 6px 8px 0 #f6d866;
}

.hero-image {
  width: 85%;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
}

.aim-image {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
}

.portrait-photo {
  position: relative;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  min-height: 0;
}

.portrait-photo img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: 6px 8px 0 #d6eab9;
}

.portrait-secondary {
  position: absolute;
  width: 48%;
  bottom: -75px;
  right: -20px;
  z-index: 2;
}

.portrait-secondary img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 6px solid #fff;
  border-radius: 22px;
  box-shadow: 5px 7px 0 #f6d866, 0 10px 24px rgba(0, 0, 0, 0.12);
}

.trust-items span:nth-child(4) {
  color: #267139;
}

/* Floating bubbles layout for Play Discover Learn section */
.approach-bubbles {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 420px;
  margin: 0 auto;
}

.bubble-frame {
  position: absolute;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(38, 113, 57, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.bubble-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-1 {
  width: 250px;
  height: 250px;
  top: 15px;
  left: 10px;
  box-shadow: 0 10px 24px rgba(38, 113, 57, 0.15), 5px 6px 0 #f6d866;
  border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
  z-index: 2;
}

.bubble-2 {
  width: 190px;
  height: 190px;
  top: 170px;
  right: 15px;
  box-shadow: 0 10px 24px rgba(38, 113, 57, 0.15), 5px 6px 0 #d6eab9;
  border-radius: 52% 48% 53% 47% / 49% 53% 47% 51%;
  z-index: 3;
}

.bubble-3 {
  width: 130px;
  height: 130px;
  top: 10px;
  right: 45px;
  box-shadow: 0 8px 18px rgba(38, 113, 57, 0.12), 4px 5px 0 #e0f2fb;
  border-radius: 50% 50% 48% 52% / 51% 49% 52% 48%;
  z-index: 1;
}

.gallery-photo,
.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-photo.classroom {
  box-shadow: 0 8px 20px rgba(73, 56, 39, 0.08), 6px 8px 0 #f5bf38;
}

.gallery-photo.outdoor {
  box-shadow: 0 8px 20px rgba(73, 56, 39, 0.08), 6px 8px 0 #7cb93b;
}

.gallery-photo.creative {
  box-shadow: 0 8px 20px rgba(73, 56, 39, 0.08), 6px 8px 0 #43afd4;
}

.gallery-photo:hover,
.gallery-image:hover {
  transform: translateY(-3px);
}

.gallery-photo.classroom:hover {
  box-shadow: 0 12px 24px rgba(73, 56, 39, 0.12), 6px 10px 0 #f5bf38;
}

.gallery-photo.outdoor:hover {
  box-shadow: 0 12px 24px rgba(73, 56, 39, 0.12), 6px 10px 0 #7cb93b;
}

.gallery-photo.creative:hover {
  box-shadow: 0 12px 24px rgba(73, 56, 39, 0.12), 6px 10px 0 #43afd4;
}

.aim-content .eyebrow {
  text-align: left;
}

.aim-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.aim-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.aim-list svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  fill: var(--action);
}

.aim-list p {
  margin: 0;
}

.aim-list strong {
  font-weight: 900;
}

.footer-social small {
  color: var(--ink);
  font-size: .75rem;
  font-weight: 400;
}

/* Testimonial card color accents */
.testimonial-grid .quote-card {
  position: relative;
  padding: 32px 28px 24px;
}

.testimonial-grid .quote-card:nth-child(1) {
  border-top: 5px solid #ffc845;
  box-shadow: 0 6px 0 #ebd79e;
}

.testimonial-grid .quote-card:nth-child(1) cite {
  color: #9b6b16;
  font-weight: 800;
  font-size: .88rem;
}

.testimonial-grid .quote-card:nth-child(2) {
  border-top: 5px solid #43afd4;
  box-shadow: 0 6px 0 #bfdce9;
}

.testimonial-grid .quote-card:nth-child(2) cite {
  color: #246fa3;
  font-weight: 800;
  font-size: .88rem;
}

.testimonial-grid .quote-card:nth-child(3) {
  border-top: 5px solid #9770c6;
  box-shadow: 0 6px 0 #ddcceb;
}

.testimonial-grid .quote-card:nth-child(3) cite {
  color: #694396;
  font-weight: 800;
  font-size: .88rem;
}

.tour-section {
  background: var(--cream);
}

@media (max-width: 760px) {
  .brand img {
    width: 112px;
    height: 92px;
  }

  .footer-social {
    flex-wrap: wrap;
  }

  .approach-bubbles {
    max-width: 340px;
    height: 310px;
  }

  .bubble-1 {
    width: 190px;
    height: 190px;
    top: 10px;
    left: 5px;
  }

  .bubble-2 {
    width: 145px;
    height: 145px;
    top: 130px;
    right: 10px;
  }

  .bubble-3 {
    width: 95px;
    height: 95px;
    top: 15px;
    right: 25px;
  }

  .portrait-secondary {
    width: 48%;
    right: -10px;
    bottom: -45px;
  }
}