.brand-logo {
  position: relative;
  display: block;
  overflow: hidden;
  flex: 0 0 46px;
  padding: 0;
  background: #fff;
  border: 2px solid #d5b879;
}

.brand-logo img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.form-note.error { color: #b42318; font-weight: 700; }
.enrol form .button:disabled { cursor: wait; opacity: .7; }

.brand.inverse .brand-logo { background: #fff; }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link .fill-dot {
  fill: currentColor;
  stroke: none;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px 10px 11px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(8, 38, 25, .28);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 38, 25, .36);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: #fff;
}

@media (max-width: 540px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span { display: none; }
}

.hero-carousel {
  display: block;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px) scale(1.015);
  transition: opacity .75s ease, transform .8s cubic-bezier(.22,.61,.36,1), visibility .75s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 1;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .hero-copy { max-width: 720px; }

.hero-slide h1 {
  font-size: clamp(2.65rem, 5vw, 4.7rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pearson-note {
  border-left-color: #19a7bd;
  display: flex;
  align-items: center;
  gap: 11px;
}

.pearson-note > span:last-child { line-height: 1.2; }
.pearson-note > span:last-child strong { font-size: .92rem; }

.carousel-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(6,20,39,.46);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: #fff;
  color: #0b1f3a;
}

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: #fff;
}

@media (max-width: 820px) {
  .hero-carousel { min-height: 720px; }
  .hero-slide { align-items: flex-end; }
  .hero-slide .hero-copy { padding-bottom: 120px; }
  .hero-slide h1 { font-size: clamp(2.45rem, 11vw, 3.6rem); }
  .hero-slide .hero-shade { background: linear-gradient(0deg, rgba(7,23,44,.98) 22%, rgba(7,23,44,.5) 100%); }
  .hero-slide > img { object-position: 68% center; }
  .carousel-controls { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
}

@media (min-width: 821px) {
  .courses .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses .course-card { min-height: 365px; }
}

.oil-card {
  background: linear-gradient(145deg, #eef7f6 0%, #fff 72%);
  border-color: #9bcfc5;
}

.pearson-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
  padding: 105px clamp(24px, 7vw, 110px);
  background: #eef7f8;
}

.pearson-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 4px 120px 4px 4px;
  box-shadow: 0 24px 60px rgba(12, 45, 66, .16);
}

.pearson-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
}

.pearson-seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #15345b;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.pearson-seal span {
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.15;
}

.pearson-logo-crop {
  position: relative;
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.pearson-logo-crop img {
  position: absolute;
  width: 239px;
  height: auto;
  max-width: none;
  left: -7px;
  top: -21px;
}

.pearson-logo-mini {
  flex-basis: 52px;
  width: 52px;
  height: 52px;
}

.pearson-logo-mini img {
  width: 195px;
  left: -5px;
  top: -17px;
}

.pearson-content h2 {
  max-width: 720px;
  margin: 13px 0 20px;
  font-size: clamp(2.35rem, 4vw, 4rem);
  letter-spacing: -.045em;
}

.pearson-content > p {
  max-width: 690px;
  color: #536172;
  font-size: 1.07rem;
}

.pearson-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.pearson-features article {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 10px;
  padding: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid #c7e1e4;
}

.pearson-features article > span {
  color: #1593a6;
  font: 800 .72rem Manrope;
}

.pearson-features h3 { font-size: 1rem; }
.pearson-features p { margin: 5px 0 0; color: #61707e; font-size: .9rem; }
.pearson-button { background: #15345b; color: #fff; }
.pearson-button:hover { background: #0b1f3a; }

@media (max-width: 820px) {
  .pearson-section { grid-template-columns: 1fr; padding: 75px 24px; }
  .pearson-visual { min-height: 410px; border-radius: 4px 75px 4px 4px; }
}

@media (max-width: 540px) {
  .pearson-features { grid-template-columns: 1fr; }
  .pearson-visual { min-height: 340px; }
  .pearson-seal { right: 14px; bottom: 14px; }
}
