:root {
  --navy: #070d36;
  --purple: #3d147c;
  --blue: #1268c4;
  --orange: #ff9700;
  --green: #168f43;
  --red: #e20d17;
  --line: #e7e9ef;
  --shadow: 0 7px 18px rgba(15, 20, 40, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header,
main {
  width: min(100%, 1024px);
  margin-inline: auto;
}

.site-header {
  height: 110px;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 29px;
  background: #fff;
}

.brand { flex: 0 0 351px; }

.brand img {
  width: 351px;
  display: block;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 38px;
  align-items: center;
  font-size: 16px;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  padding: 43px 0 13px;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav a.active {
  color: var(--purple);
  font-weight: 700;
  border-bottom-color: var(--purple);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.top-artwork {
  background: url("assets/clean-discs-water.jpg") center top / cover no-repeat;
}

.hero {
  min-height: 265px;
  position: relative;
}

.hero-copy {
  padding: 42px 0 0 48px;
}

.hero h1 {
  margin: 0;
  font-size: 51px;
  line-height: 1.18;
  letter-spacing: -1.7px;
}

.pillars {
  margin-top: 25px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 23px;
  line-height: 1;
}

.pillars span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
}

.red { background: var(--red); }
.yellow { background: #ffb313; }
.green { background: var(--green); }

.disc-section {
  min-height: 300px;
  padding: 0 0 30px 32px;
  margin-top: -40px;
}

.disc-panel {
  display: grid;
  grid-template-columns: 237px 380px;
  align-items: start;
  width: fit-content;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.disc-badge {
  width: 210px;
  display: block;
  margin-left: -14px;
  margin-top: -13px;
}

.disc-copy {
  padding-top: 17px;
  max-width: 390px;
}

.disc-copy h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.35px;
}

.disc-copy h2 strong,
.disc-copy h2 span {
  color: var(--purple);
}

.disc-copy p {
  margin: 0 0 11px;
  font-size: 18px;
  line-height: 1.35;
}

.disc-accent {
  color: var(--purple);
  font-weight: 700;
}

.button,
.bottom-button,
.send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.orange-button {
  min-width: 279px;
  min-height: 47px;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 20px;
  background: linear-gradient(#ffa61a, #f27f00);
  box-shadow: 0 4px 9px rgba(0,0,0,.2);
}

.button span,
.bottom-button span,
.send-button span {
  font-size: 33px;
  line-height: 0;
  margin-left: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 40px 42px 35px;
}

.service-card {
  min-height: 324px;
  padding: 25px 28px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.service-card img {
  height: 68px;
  max-width: 145px;
  object-fit: contain;
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 13px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.45px;
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.43;
}

.service-card:after {
  content: "";
  width: 100%;
  height: 2px;
  margin: auto 0 13px;
}

.service-card.red:after { background: var(--red); }
.service-card.blue:after { background: var(--blue); }
.service-card.yellow:after { background: #e8b018; }
.service-card.green:after { background: var(--green); }

.service-card a {
  order: 11;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.service-card.red a { color: var(--red); }
.service-card.blue a { color: var(--blue); }
.service-card.yellow a { color: #e4a300; }
.service-card.green a { color: var(--green); }

.service-card a span {
  font-size: 28px;
  line-height: 0;
  margin-left: 8px;
  vertical-align: -3px;
}

.lower-section {
  display: grid;
  grid-template-columns: 1fr 327px;
  gap: 30px;
  padding: 0 31px 14px 43px;
}

.about-block {
  display: grid;
  grid-template-columns: 193px 1fr;
  gap: 27px;
  align-items: start;
}

.about-block img {
  width: 193px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}

.about-copy h2 {
  margin: 4px 0 13px;
  color: var(--purple);
  font-size: 29px;
}

.about-copy p {
  margin: 0 0 15px;
  font-size: 17px;
  line-height: 1.36;
}

.about-copy ul {
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid #d7d7d7;
  list-style: none;
  font-size: 16px;
  line-height: 1.78;
}

.about-copy li:before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 10px;
}

.enquiry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 15px 22px 16px;
}

.enquiry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enquiry h2 {
  margin: 0;
  color: var(--purple);
  font-size: 24px;
}

.enquiry-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font-size: 25px;
  line-height: 20px;
}

.contact-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 13px 0;
}

.tab {
  padding: 10px 4px;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.email-tab,
.send-button,
.bottom-button.orange {
  background: linear-gradient(#ffa61a, #f27f00);
}

.call-tab,
.bottom-button.purple {
  background: linear-gradient(#511a91, #33116c);
}

.enquiry label span {
  position: absolute;
  clip: rect(0 0 0 0);
}

.enquiry input,
.enquiry textarea {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  padding: 9px 12px;
  border: 1px solid #cfd0d6;
  border-radius: 3px;
  font: 14px Arial, Helvetica, sans-serif;
}

.enquiry textarea {
  min-height: 58px;
  resize: vertical;
}

.send-button {
  min-width: 171px;
  min-height: 43px;
  border: 0;
  border-radius: 4px;
  margin: 1px auto 13px;
  font-size: 17px;
  cursor: pointer;
}

.contact-details p {
  margin: 5px 0;
  color: var(--purple);
  font-size: 14px;
}

.contact-details a {
  color: #171a31;
  text-decoration: none;
}

.bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 31px 24px;
}

.bottom-button {
  min-height: 54px;
  font-size: 22px;
}

.bottom-button.orange { border-radius: 4px 0 0 4px; }
.bottom-button.purple { border-radius: 0 4px 4px 0; }



/* Contact footer */
.site-footer {
  width: min(100%, 1024px);
  margin: 0 auto;
  padding: 0 31px 34px;
}

.footer-card {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
  padding: 26px 31px;
}

.footer-brand img {
  width: min(315px, 100%);
  display: block;
}

.footer-contact-card {
  border-left: 3px solid var(--orange);
  padding-left: 26px;
}

.footer-contact-card h2 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 29px;
  line-height: 1.1;
}

.footer-name {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.footer-contact-list {
  border-top: 1px solid #d7d7d7;
  padding-top: 11px;
}

.footer-contact-list p {
  margin: 7px 0;
  font-size: 17px;
  line-height: 1.3;
}

.footer-contact-list span {
  display: inline-block;
  width: 42px;
  color: var(--purple);
  font-weight: 700;
}

.footer-contact-list a {
  color: var(--navy);
  text-decoration: none;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus {
  color: var(--purple);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    gap: 14px;
    padding: 22px 28px 16px;
  }

  .brand { flex-basis: 100%; }

  .brand img {
    width: min(351px, 88vw);
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 10px 0 9px;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 51px);
  }

  .disc-section {
    padding: 30px 28px 26px;
  }

  .disc-panel {
    grid-template-columns: 205px 1fr;
  }

  .disc-badge {
    width: 195px;
    margin-left: -13px;
    margin-top: -12px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px 28px 34px;
  }

  .lower-section {
    grid-template-columns: 1fr;
    padding: 0 28px 18px;
  }

  .enquiry {
    width: 100%;
    max-width: 440px;
    justify-self: center;
  }

  .bottom-actions {
    padding-inline: 28px;
  }

  .site-footer {
    padding-inline: 28px;
  }

  .footer-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-contact-card {
    border-left: 0;
    border-top: 3px solid var(--orange);
    padding-left: 0;
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px 12px;
  }

  .main-nav {
    gap: 20px;
    font-size: 15px;
  }

  .top-artwork {
    background-position: 58% top;
    background-size: auto 620px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 26px;
  }

  .hero-copy {
    padding: 28px 22px 10px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
    letter-spacing: -1.2px;
  }

  .pillars {
    margin-top: 22px;
    display: grid;
    gap: 12px;
    font-size: 20px;
  }

  .disc-section {
    display: block;
    min-height: auto;
    padding: 28px 22px 30px;
  }

  .disc-panel {
    display: block;
    width: 100%;
    padding: 20px;
  }

  .disc-badge {
    width: 180px;
    margin: 0 auto 22px;
  }

  .disc-copy {
    max-width: none;
    padding: 0;
  }

  .disc-copy h2 {
    font-size: 28px;
  }

  .disc-copy p {
    font-size: 17px;
  }

  .orange-button {
    width: 100%;
    min-width: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    padding: 32px 22px 32px;
  }

  .service-card {
    min-height: auto;
  }

  .lower-section {
    padding: 0 22px 18px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-block img {
    width: min(230px, 100%);
  }

  .bottom-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 22px 24px;
  }

  .bottom-button,
  .bottom-button.orange,
  .bottom-button.purple {
    border-radius: 4px;
    font-size: 20px;
  }

  .site-footer {
    padding: 0 22px 28px;
  }

  .footer-card {
    padding: 22px 20px;
  }

  .footer-contact-card h2 {
    font-size: 26px;
  }

  .footer-contact-list p {
    font-size: 16px;
  }
}

/* DISC profile page */
.disc-hero {
  min-height: 310px;
  background-color: #f8fbff;
  background-image: url("assets/clean-discs-water.jpg");
  background-position: right top;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 30px 0 32px 32px;
}

.disc-hero-copy {
  max-width: 690px;
  padding: 28px 34px 30px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.disc-hero h1 {
  margin: 0 0 21px;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.disc-hero h1 span {
  color: var(--purple);
}

.disc-hero p {
  margin: 0;
  max-width: 630px;
  font-size: 19px;
  line-height: 1.55;
  color: #15172f;
}

.disc-intro {
  display: grid;
  grid-template-columns: 1fr 465px;
  gap: 38px;
  padding: 36px 40px 16px 32px;
}

.disc-intro-copy h2,
.disc-options-panel h2,
.how-this-works h2,
.ready-box h2 {
  margin: 0 0 28px;
  color: var(--purple);
  font-size: 30px;
  line-height: 1.1;
}

.disc-intro-copy p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.52;
  color: #11152d;
}

.disc-page-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 21px;
}

.disc-page-actions .button,
.ready-actions .button {
  min-width: 0;
  min-height: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 9px rgba(0,0,0,.18);
  font-size: 16px;
}

.purple-button {
  background: linear-gradient(#511a91, #33116c);
}

.accreditation-card {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 23px 23px 23px 14px;
}

.accreditation-card img {
  width: 178px;
  display: block;
}

.accreditation-card h2 {
  margin: 12px 0 9px;
  color: var(--purple);
  font-size: 24px;
  line-height: 1.1;
}

.accreditation-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  color: #11152d;
}

.accreditation-card .academy {
  font-weight: 700;
}

.disc-options-panel {
  margin: 0 36px 17px;
  padding: 14px 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.disc-options-panel > h2 {
  margin-bottom: 13px;
}

.disc-service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.disc-option {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 17px 16px 16px;
  border-top: 3px solid currentColor;
}

.red-option { color: var(--red); }
.yellow-option { color: #ffb313; }
.green-option { color: var(--green); }

.disc-option-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 10px;
  margin-bottom: 11px;
}

.option-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
  font-size: 0;
  position: relative;
}

.option-icon:before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 11px;
}

.option-icon:after {
  content: "";
  width: 28px;
  height: 14px;
  border-radius: 14px 14px 4px 4px;
  background: #fff;
  position: absolute;
  bottom: 10px;
}

.disc-option h3 {
  margin: 5px 0 0;
  color: var(--purple);
  font-size: 20px;
  line-height: 1.18;
}

.disc-option ul {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  color: #11152d;
  font-size: 14px;
  line-height: 1.62;
}

.disc-option li {
  margin-bottom: 5px;
  padding-left: 22px;
  position: relative;
}

.disc-option li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.disc-option p {
  margin: auto 0 12px;
  padding-top: 11px;
  border-top: 1px solid #d7d7d7;
  color: #11152d;
  font-size: 14px;
  line-height: 1.38;
}

.option-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.option-button span {
  font-size: 29px;
  line-height: 0;
  margin-left: 8px;
}

.red-button { background: linear-gradient(#ee3024, #d50d11); }
.yellow-button { background: linear-gradient(#ffa61a, #f27f00); }
.green-button { background: linear-gradient(#20a45b, #087d3a); }

.disc-lower {
  display: grid;
  grid-template-columns: 1fr 327px;
  gap: 29px;
  padding: 0 37px 14px 31px;
}

.how-this-works {
  padding-top: 7px;
}

.how-this-works h2 {
  margin-bottom: 9px;
}

.how-this-works ol {
  margin: 0 0 23px;
  padding: 0 0 13px;
  border-bottom: 1px solid #d7d7d7;
  list-style: none;
  color: #11152d;
  font-size: 16px;
  line-height: 1.82;
}

.how-this-works li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-this-works li span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ready-box h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.ready-box p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  color: #11152d;
}

.ready-actions {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 25px;
}

@media (max-width: 980px) {
  .disc-intro,
  .disc-lower {
    grid-template-columns: 1fr;
    padding-inline: 28px;
  }

  .disc-page-actions,
  .ready-actions {
    grid-template-columns: 1fr;
  }

  .disc-service-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .disc-hero {
    min-height: auto;
    padding: 24px 20px 130px;
    background-position: right bottom;
    background-size: auto 300px;
  }

  .disc-hero-copy {
    padding: 24px 22px 26px;
  }

  .disc-hero h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .disc-intro,
  .disc-lower {
    padding-inline: 20px;
  }

  .disc-options-panel {
    margin-inline: 20px;
  }

  .accreditation-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}


/* Updated DISC booking call-to-action and booking page */
.disc-page-actions.single-disc-action {
  display: block;
  margin-bottom: 21px;
}

.disc-page-actions.single-disc-action .large-disc-button {
  width: 100%;
  min-height: 58px;
  min-width: 0;
  margin-top: 0;
  font-size: 21px;
  border-radius: 5px;
  background: linear-gradient(#ffa61a, #f27f00);
  color: #fff;
}

.book-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  padding: 36px;
  align-items: start;
}

.book-copy,
.book-contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.book-copy {
  padding: 30px 34px;
}

.book-copy h2,
.book-contact-card h2 {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 30px;
  line-height: 1.1;
}

.book-copy p,
.book-contact-card p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.5;
  color: #11152d;
}

.book-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.book-form label {
  display: grid;
  gap: 7px;
  color: var(--purple);
  font-weight: 700;
}

.book-form input,
.book-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 13px 14px;
  font: inherit;
  color: #11152d;
  background: #fbfbfd;
}

.book-form textarea {
  min-height: 150px;
  resize: vertical;
}

.orange-send-button {
  border: 0;
  min-height: 52px;
  border-radius: 5px;
  background: linear-gradient(#ffa61a, #f27f00);
  box-shadow: 0 4px 9px rgba(0,0,0,.18);
  font-size: 19px;
  cursor: pointer;
}

.book-contact-card {
  padding: 26px;
  border-top: 5px solid var(--orange);
}

.book-contact-card a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}

.book-contact-card span {
  color: var(--orange);
  font-weight: 700;
}

@media (max-width: 850px) {
  .book-section {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
