.about-hero-grid {
  margin: 1em auto;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2em;
  text-transform: uppercase;
}

.contact-form-card .form-block {
  margin-top: 2em;
}

.language-switcher {
  position: relative;
  display: inline-block;
}
.language-switcher .current-language {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.language-switcher .current-language:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.language-switcher .current-language img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 2px;
}
.language-switcher .current-language span {
  font-size: 14px;
  color: #333;
}
.language-switcher .language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 120px;
  display: none;
  z-index: 1000;
}
.language-switcher .language-dropdown.active {
  display: block;
}
.language-switcher .language-dropdown a {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}
.language-switcher .language-dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.language-switcher .language-dropdown a img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 2px;
}
.language-switcher .language-dropdown a span {
  font-size: 14px;
}

.contracted-institutions {
  background-color: #f9f9f9;
  padding: 2rem 0;
}
.contracted-institutions .section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #313131;
  text-transform: uppercase;
}
.contracted-institutions .section-description {
  text-align: center;
  color: #616161;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.contracted-institutions .institutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contracted-institutions .institutions-grid .institution-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contracted-institutions .institutions-grid .institution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.contracted-institutions .institutions-grid .institution-card .institution-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #313131;
  line-height: 1.4;
}

.position-relativ {
  z-index: 1;
}

.iti {
  width: 100% !important;
  display: block;
}
.iti.iti--allow-dropdown {
  width: 100% !important;
}
.iti.iti--container {
  z-index: 9999 !important;
}
.iti .iti__selected-flag {
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.iti input[type=tel] {
  width: 100% !important;
  padding-left: 52px !important;
  box-sizing: border-box;
}

.iti__country-list {
  z-index: 99999 !important;
  background: white !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  margin-top: 4px !important;
}
.iti__country-list .iti__search-input {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  outline: none;
}
.iti__country-list .iti__search-input:focus {
  border-bottom-color: #007bff;
}
.iti__country-list .iti__country {
  padding: 8px 12px;
  cursor: pointer;
}
.iti__country-list .iti__country:hover, .iti__country-list .iti__country.iti__highlight {
  background: #f5f5f5 !important;
}
.iti__country-list .iti__country .iti__dial-code {
  color: #999;
}
.iti__country-list .iti__divider {
  border-bottom: 1px solid #eee;
  margin: 0;
  padding: 0;
}

.section-book-online .field-wrapper {
  width: 100%;
  margin-bottom: 1rem;
}
.section-book-online .field-wrapper .iti {
  width: 100% !important;
}
.section-book-online .field-wrapper .iti input[type=tel] {
  width: 100% !important;
  padding-left: 62px !important;
}

.sidebar-card .field-wrapper {
  width: 100%;
  margin-bottom: 1rem;
}
.sidebar-card .field-wrapper .iti {
  width: 100% !important;
}
.sidebar-card .field-wrapper .iti .iti__selected-flag {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px 0 0 4px;
}
.sidebar-card .field-wrapper .iti input[type=tel] {
  width: 100% !important;
  padding-left: 62px !important;
}

.contact-form-card .field-wrapper {
  width: 100%;
  margin-bottom: 1rem;
}
.contact-form-card .field-wrapper .iti {
  width: 100% !important;
}
.contact-form-card .field-wrapper .iti input[type=tel] {
  width: 100% !important;
  padding-left: 62px !important;
}
.contact-form-card .form-button-blue {
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .language-switcher .language-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 12px 12px 0 0;
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  .language-switcher .language-dropdown a {
    padding: 12px 15px;
  }
  .language-switcher .language-dropdown a img {
    width: 24px;
    height: 24px;
  }
  .language-switcher .language-dropdown a span {
    font-size: 16px;
  }
  .contracted-institutions {
    padding: 1.5rem 0;
  }
  .contracted-institutions .section-title {
    font-size: 1.5rem;
  }
  .contracted-institutions .institutions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contracted-institutions .institutions-grid .institution-card {
    padding: 1.2rem;
  }
}/*# sourceMappingURL=custom.css.map */

/* Brand color override */
:root {
  --blue-100: #d84141;
}

.card.card-colour-blue,
.card-button.card-colour-blue,
.card-square.card-colour-blue,
.form-button-blue,
.primary-button.buy-now,
.w-button,
.w-commerce-commercecartopenlink,
.w-commerce-commercecartcheckoutbutton,
.w-commerce-commerceaddtocartbutton,
.w-commerce-commercebuynowbutton {
  background-color: #d84141;
}

.form-button-blue:hover,
.primary-button.add-to-cart:hover,
.primary-button.buy-now:hover,
.w-commerce-commercecartcheckoutbutton:hover {
  background-color: rgba(216, 65, 65, 0.8);
}

.bar-1,
.bar-2,
.bar-2-middle {
  background-color: #d84141;
}

.w-input:focus,
.w-select:focus,
.iti__country-list .iti__search-input:focus,
.w-commerce-commercecartquantity:focus,
.w-commerce-commerceaddtocartquantityinput:focus,
.w-commerce-commercecheckoutemailinput:focus,
.w-commerce-commercecheckoutshippingfullname:focus,
.w-commerce-commercecheckoutshippingstreetaddress:focus,
.w-commerce-commercecheckoutshippingstreetaddressoptional:focus,
.w-commerce-commercecheckoutshippingcity:focus,
.w-commerce-commercecheckoutshippingstateprovince:focus,
.w-commerce-commercecheckoutshippingzippostalcode:focus,
.w-commerce-commercecheckoutshippingcountryselector:focus,
.w-commerce-commercecheckoutcardnumber:focus,
.w-commerce-commercecheckoutcardexpirationdate:focus,
.w-commerce-commercecheckoutcardsecuritycode:focus,
.w-commerce-commercecheckoutbillingfullname:focus,
.w-commerce-commercecheckoutbillingstreetaddress:focus,
.w-commerce-commercecheckoutbillingstreetaddressoptional:focus,
.w-commerce-commercecheckoutbillingcity:focus,
.w-commerce-commercecheckoutbillingstateprovince:focus,
.w-commerce-commercecheckoutbillingzippostalcode:focus,
.w-commerce-commercecheckoutbillingcountryselector:focus {
  border-color: #d84141;
  outline-color: #d84141;
}

.w-dropdown-link.w--current,
.w-nav-link.w--current,
.icon-1x1.colour-blue {
  color: #d84141;
}

/* Home revision overrides */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body,
.page-wrapper,
.navbar-home,
.footer {
  width: 100%;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

.navbar-wrapper,
.home-hero-grid,
.home-service-grid,
.home-clinic-grid,
.home-team-grid,
.footer-background,
.footer-grid {
  min-width: 0;
  max-width: 100%;
}

.logo-wrapper-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 190px;
  object-fit: contain;
}

.footer .site-logo {
  height: 40px;
}

.navbar-center .link-inner-text,
.navbar-center .link-inner-text-hover {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.nav-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(216, 65, 65, 0.12);
  font-size: 0.95rem;
  line-height: 1;
}

.nav-appointment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #d84141;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(216, 65, 65, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.nav-appointment-button:hover {
  background: #c93636;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(216, 65, 65, 0.32);
}

.nav-appointment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  line-height: 1;
}

.section-home-hero .card {
  background: transparent;
  box-shadow: none;
}

.section-home-hero h1 {
  color: #fff;
  font-size: clamp(3.1rem, 5vw, 5.25rem);
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.section-home-hero .hero-stretch,
.section-home-hero .hero-stretch div,
.section-home-hero .margin-bottom.margin-medium {
  color: #fff;
}

.section-home-hero .button-colour-black,
.section-home-hero .button-colour-hover-white {
  background-color: #fff !important;
}

.section-home-hero .button-text-white,
.section-home-hero .button-text-black {
  color: #d84141 !important;
  font-weight: 700;
}

.section-home-hero .arrow-icon {
  filter: invert(39%) sepia(70%) saturate(1155%) hue-rotate(325deg) brightness(88%) contrast(91%);
}

.home-service-grid .card-square {
  min-width: 0;
  overflow: hidden;
}

.home-service-grid .card-square h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.home-service-grid .card-square .text-colour-grey,
.home-service-grid .card-square .text-colour-off-white {
  font-size: clamp(0.82rem, 0.92vw, 0.98rem);
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: normal;
}

.home-clinic-grid.home-clinic-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(22rem, 1fr);
}

.home-clinic-grid.home-clinic-grid-two .image-card-wrapper-relative {
  min-width: 0;
  overflow: hidden;
}

.home-clinic-grid.home-clinic-grid-two .image-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-team-grid .slider .text-colour-grey {
  line-height: 1.65;
}

.home-team-grid .slider .ratio-widescreen {
  object-position: 50% 42%;
}

.section-home-team h2 {
  max-width: none;
  color: #313131;
  font-size: clamp(3.1rem, 5vw, 6rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-home-team .max-width-medium {
  max-width: 95rem;
}

.home-team-grid-static {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
  align-items: stretch;
}

.home-team-grid-static > .card-button,
.home-team-grid-static > .home-about-card,
.home-team-grid-static > .home-about-image-card {
  min-width: 0;
  min-height: clamp(28rem, 36vw, 42rem);
  border-radius: 8px;
  overflow: hidden;
}

.home-clinic-card {
  position: relative;
}

.home-clinic-card .card-padding {
  position: relative;
  z-index: 2;
}

.home-clinic-card .vertical-stretch {
  justify-content: flex-start;
  gap: clamp(1rem, 1.6vw, 1.7rem);
  height: 100%;
}

.home-clinic-card ._100 {
  position: relative;
  z-index: 2;
  max-width: 92%;
}

.home-clinic-card .margin-bottom.margin-small {
  margin-bottom: clamp(0.8rem, 1vw, 1.1rem);
}

.home-clinic-card-tool {
  position: absolute;
  right: -8%;
  bottom: -5%;
  z-index: 1;
  width: min(78%, 27rem);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.home-about-card {
  background: #f2f4f8;
}

.home-about-card .card-padding {
  height: 100%;
}

.home-about-card h3 {
  margin-bottom: clamp(1.1rem, 1.6vw, 1.8rem);
  color: #111;
  font-size: clamp(2rem, 2.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-about-copy {
  font-size: clamp(0.98rem, 1.16vw, 1.38rem);
  line-height: 1.34;
}

.home-about-copy p {
  margin-top: 0;
  margin-bottom: clamp(1.1rem, 1.8vw, 2rem);
}

.home-about-copy p:last-child {
  margin-bottom: 0;
}

.home-about-image-card {
  background: #f2f4f8;
}

.home-about-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

@media screen and (max-width: 991px) {
  .navbar-center,
  .nav-appointment-button {
    display: none;
  }

  .site-logo {
    height: 40px;
    max-width: 170px;
  }

  .section-home-team h2 {
    white-space: normal;
    font-size: clamp(2.75rem, 8vw, 4.8rem);
  }

  .home-team-grid-static {
    grid-template-columns: 1fr;
  }

  .home-team-grid-static > .card-button,
  .home-team-grid-static > .home-about-card,
  .home-team-grid-static > .home-about-image-card {
    min-height: auto;
  }

  .home-about-image-card {
    max-height: 34rem;
  }

  .home-about-image-card img {
    aspect-ratio: 4 / 5;
  }

  .home-clinic-card-tool {
    right: -1.5rem;
    bottom: -2rem;
    width: min(60%, 19rem);
  }
}

@media screen and (max-width: 767px) {
  .home-clinic-grid.home-clinic-grid-two {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(18rem, auto);
  }

  .home-team-grid.home-team-grid-static {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
  }

  .home-team-grid.home-team-grid-static > .home-clinic-card,
  .home-team-grid.home-team-grid-static > .home-about-card,
  .home-team-grid.home-team-grid-static > .home-about-image-card {
    width: 100%;
    min-height: auto;
  }

  .home-team-grid.home-team-grid-static > .home-clinic-card {
    order: 1;
  }

  .home-team-grid.home-team-grid-static > .home-about-card {
    order: 2;
  }

  .home-team-grid.home-team-grid-static > .home-about-image-card {
    order: 3;
    height: auto;
    max-height: none;
  }

  .home-about-card h3 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    line-height: 1.05;
  }

  .home-about-card .card-padding {
    padding: 2rem 1.45rem;
  }

  .home-about-image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 28%;
  }

  .section-home-hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.25rem);
    line-height: 1;
  }

  .section-home-hero .card-padding.card-padding-large {
    padding: 2.25rem 1.5rem;
  }

  .home-about-copy {
    font-size: 1rem;
    line-height: 1.4;
  }

  .home-clinic-card-tool {
    right: -1.25rem;
    bottom: -1.6rem;
    width: min(54%, 13rem);
    opacity: 0.82;
  }
}

@media screen and (max-width: 479px) {
  .padding-global {
    max-width: 100%;
    overflow-x: clip;
  }

  .home-service-grid .card-square {
    aspect-ratio: auto;
    min-height: 14rem;
  }

  .home-service-grid .card-square .text-colour-grey,
  .home-service-grid .card-square .text-colour-off-white {
    font-size: 0.95rem;
  }

  .site-logo {
    height: 36px;
    max-width: 150px;
  }
}

/* Final home visual tuning */
.site-logo {
  width: 176px !important;
  height: auto !important;
  max-width: 176px !important;
  image-rendering: auto;
}

.footer .site-logo {
  width: 168px !important;
  height: auto !important;
}

.navbar-wrapper .nav-appointment-button {
  background: linear-gradient(135deg, #d84141 0%, #bd3030 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(216, 65, 65, 0.95);
  box-shadow: 0 12px 30px rgba(216, 65, 65, 0.3);
}

.navbar-wrapper .nav-appointment-button:hover {
  background: linear-gradient(135deg, #c93636 0%, #a92929 100%) !important;
  color: #fff !important;
}

.section-home-hero .card-padding,
.section-home-hero .hero-stretch,
.section-home-hero .hero-stretch div,
.section-home-hero .margin-bottom.margin-medium,
.section-home-hero .margin-bottom.margin-medium div {
  color: #fff !important;
}

.section-home-hero h1 {
  color: #fff !important;
  font-size: clamp(2.65rem, 3.45vw, 4rem) !important;
  font-weight: 850 !important;
  line-height: 1.06 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.35);
}

.section-home-hero .button-colour-black,
.section-home-hero .button-colour-hover-white {
  background-color: #d84141 !important;
}

.section-home-hero .button-text-white,
.section-home-hero .button-text-black {
  color: #fff !important;
}

.section-home-hero .arrow-icon {
  filter: brightness(0) invert(1) !important;
}

.home-service-grid {
  grid-auto-rows: minmax(19.5rem, auto);
}

.home-service-grid .card-square,
.home-service-grid .card-button {
  min-height: 19.5rem;
}

.home-service-grid .card-square .vertical-stretch {
  gap: 1rem;
}

.home-service-media {
  width: 100%;
  aspect-ratio: 2.65 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.home-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-service-grid .card-square .text-colour-grey,
.home-service-grid .card-square .text-colour-off-white {
  font-size: clamp(0.74rem, 0.78vw, 0.88rem);
  line-height: 1.32;
  overflow-wrap: normal;
}

.home-service-grid .card-square .vertical-stretch {
  justify-content: flex-start;
}

.home-service-grid .card-square h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.42rem);
  line-height: 1.12;
}

.home-team-grid .card-button h3.text-colour-white {
  white-space: nowrap;
  font-size: clamp(1.35rem, 1.65vw, 1.85rem) !important;
  line-height: 1.12;
}

.section-home-clinic h2 {
  white-space: nowrap;
  font-size: clamp(2rem, 2.55vw, 3.05rem) !important;
  line-height: 1.08 !important;
}

.home-service-grid .card-square.card-colour-light-blue,
.home-service-grid .card-square.card-colour-blue,
.home-service-grid .card-button {
  aspect-ratio: auto !important;
}

.home-team-grid .left-arrow,
.home-team-grid .right-arrow,
.home-team-grid .slide-nav {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .site-logo {
    width: 164px !important;
    max-width: 164px !important;
  }
}

@media screen and (max-width: 767px) {
  .section-home-hero h1 {
    font-size: clamp(2.2rem, 8.5vw, 3rem) !important;
  }

  .home-service-grid {
    grid-auto-rows: minmax(18rem, auto);
  }

  .home-team-grid .card-button h3.text-colour-white {
    white-space: normal;
  }

  .section-home-clinic h2 {
    white-space: normal;
  }
}

@media screen and (max-width: 479px) {
  .site-logo {
    width: 146px !important;
    max-width: 146px !important;
  }

  .home-service-grid .card-square,
  .home-service-grid .card-button {
    min-height: 16rem;
  }
}

/* Menu and contact polish */
.nav-menu-icon {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 1.05rem;
}

.navbar-wrapper .nav-appointment-button {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.navbar-wrapper .nav-appointment-button span:last-child {
  font-weight: 400 !important;
}

.section-home-hero h1 {
  font-size: clamp(3.6rem, 5.6vw, 6.6rem) !important;
  line-height: 0.9 !important;
}

.section-home-hero h1 span {
  display: inline-block;
}

.home-team-grid .card-button h3.text-colour-white {
  white-space: normal !important;
  font-size: clamp(1.85rem, 2.15vw, 2.45rem) !important;
  line-height: 1.08 !important;
}

.contracted-institutions .institution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: rgba(216, 65, 65, 0.1);
  color: #d84141;
  font-size: 1.55rem;
  line-height: 1;
}

.contracted-institutions .institutions-grid .institution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

@media screen and (max-width: 767px) {
  .section-home-hero h1 {
    font-size: clamp(2.9rem, 12vw, 4.15rem) !important;
    line-height: 0.94 !important;
  }
}

@media screen and (max-width: 479px) {
  .section-home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem) !important;
  }
}

/* Hero and contact icon final spacing */
.section-home-hero .card-padding.card-padding-large {
  padding-top: clamp(8rem, 18vh, 14rem) !important;
}

.section-home-hero .hero-stretch {
  justify-content: flex-start !important;
  gap: clamp(10rem, 22vh, 18rem) !important;
}

.section-home-hero h1 {
  font-size: clamp(4.1rem, 6.25vw, 7.35rem) !important;
  line-height: 0.98 !important;
}

.contracted-institutions .institution-icon {
  width: auto !important;
  height: auto !important;
  margin-bottom: 0.65rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 1.8rem !important;
}

@media screen and (max-width: 767px) {
  .section-home-hero .card-padding.card-padding-large {
    padding-top: 3rem !important;
  }

  .section-home-hero .hero-stretch {
    gap: 2rem !important;
  }

  .section-home-hero h1 {
    font-size: clamp(3rem, 13vw, 4.45rem) !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 479px) {
  .section-home-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.65rem) !important;
  }
}

/* Compact hero spacing */
@media screen and (min-width: 768px) {
  .home-hero-content {
    min-height: 78vh !important;
  }

  .section-home-hero .card-padding.card-padding-large {
    padding-top: clamp(5.5rem, 12vh, 9rem) !important;
    padding-bottom: clamp(3rem, 7vh, 5rem) !important;
  }

  .section-home-hero .hero-stretch {
    gap: clamp(2rem, 5vh, 3.4rem) !important;
  }
}

/* Photo text readability safeguards */
.section-home-hero .home-hero-grid {
  position: relative;
  isolation: isolate;
}

.section-home-hero .image-cover-parallax.position-absolut::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.14) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.26) 100%);
}

.section-home-hero .card {
  position: relative;
  z-index: 2;
}

.section-home-hero .hero-action-panel {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  justify-self: end;
  width: min(100%, 21.5rem);
  min-width: 0;
  gap: clamp(0.55rem, 0.85vw, 0.8rem);
  margin-right: clamp(1.25rem, 3.2vw, 4rem);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) 0;
}

.section-home-hero .hero-action-box {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: clamp(3.35rem, 4.15vw, 4.35rem);
  gap: clamp(0.55rem, 0.8vw, 0.8rem);
  padding: clamp(0.68rem, 0.95vw, 0.9rem) clamp(0.85rem, 1.25vw, 1.1rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;
  background:
    linear-gradient(135deg, #4b5a77 0%, #334762 100%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #fff !important;
  text-decoration: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.section-home-hero .hero-action-box:hover {
  transform: translate3d(-3px, -1px, 0);
  border-color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, #d84141 0%, #9b2626 100%);
  box-shadow:
    0 16px 34px rgba(42, 23, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.section-home-hero .hero-action-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.16));
}

.section-home-hero .hero-action-title {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: clamp(0.88rem, 1vw, 1.08rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
}

.section-home-hero .hero-action-arrow {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 220ms ease, color 220ms ease;
}

.section-home-hero .hero-action-box:hover .hero-action-arrow {
  color: #fff;
  transform: translate(3px, -1px);
}

.section-home-hero h1,
.section-home-hero .margin-bottom.margin-medium,
.section-home-hero .margin-bottom.margin-medium div {
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.74),
    0 1px 3px rgba(0, 0, 0, 0.82);
}

.home-service-grid .card-button,
.home-team-grid .card-button {
  position: relative;
  isolation: isolate;
}

.home-service-grid .card-button::after,
.home-team-grid .card-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.04) 60%);
}

.home-service-grid .card-button .card-padding,
.home-team-grid .card-button .card-padding {
  position: relative;
  z-index: 2;
}

.card-button .text-colour-white,
.card-button .text-colour-off-white,
.home-team-grid .card-button h3.text-colour-white {
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.72),
    0 1px 2px rgba(0, 0, 0, 0.82);
}

.card-button .button-text-black,
.card-button .arrow-colour-black {
  text-shadow:
    0 1px 10px rgba(255, 255, 255, 0.74),
    0 1px 2px rgba(255, 255, 255, 0.92);
}

@media screen and (max-width: 767px) {
  .section-home-hero .image-cover-parallax.position-absolut::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.36) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 78%);
  }

  .section-home-hero .hero-action-panel {
    justify-self: end;
    align-self: start;
    width: min(100%, 22rem);
    margin-right: clamp(0.75rem, 4vw, 1.25rem);
    padding: 0 0 1.5rem;
    gap: 0.6rem;
  }

  .section-home-hero .hero-action-box {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    min-height: 3.6rem;
    padding: 0.72rem 0.9rem;
    border-radius: 15px;
  }

  .section-home-hero .hero-action-icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .section-home-hero .hero-action-title {
    font-size: 0.92rem;
  }

  .section-home-hero .hero-action-arrow {
    font-size: 1.45rem;
  }
}

/* Services page redesign */
.services-redesign-page {
  background: #fff;
}

.services-redesign-section {
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

.services-redesign-padding {
  padding-top: clamp(2rem, 4vw, 4rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.services-redesign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}

.services-intro-card,
.service-tile,
.service-image-tile {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.services-intro-card {
  grid-column: span 2;
  display: flex;
  align-items: center;
  min-height: clamp(22rem, 28vw, 31rem);
  padding: clamp(2rem, 3.5vw, 4rem);
  background: #fff;
}

.services-intro-card h1 {
  max-width: 11ch;
  margin-top: 0.45rem;
  margin-bottom: 1.5rem;
  color: #313131;
  font-size: clamp(3.1rem, 4.4vw, 5.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services-intro-card p {
  max-width: 45rem;
  color: #616161;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.65;
}

.service-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1rem, 1.35vw, 1.65rem);
  min-height: clamp(15.5rem, 19vw, 21rem);
  padding: clamp(1.6rem, 2.5vw, 3rem);
}

.service-tile-wide {
  grid-column: span 2;
}

.service-tile-light {
  background: #f2f4f8;
  color: #313131;
}

.service-tile-red {
  background: #d84141;
  color: #fff;
}

.service-number {
  color: currentColor;
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 300;
  line-height: 1;
  opacity: 0.35;
}

.service-tile-media {
  width: 100%;
  aspect-ratio: 2.65 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.service-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-copy h2 {
  margin-bottom: 1rem;
  color: currentColor;
  font-size: clamp(1.45rem, 1.75vw, 2.05rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.service-copy p {
  color: currentColor;
  font-size: clamp(0.9rem, 0.98vw, 1.08rem);
  line-height: 1.45;
  opacity: 0.82;
  overflow-wrap: normal;
}

.service-tile-wide .service-copy p {
  max-width: 62rem;
}

.service-tile-compact {
  justify-content: flex-start;
  gap: clamp(1rem, 1.35vw, 1.65rem);
}

.service-tile-compact .service-copy h2 {
  margin-bottom: 0.65rem;
}

.service-image-tile {
  grid-column: span 2;
  min-height: clamp(15.5rem, 19vw, 21rem);
  background: #f2f4f8;
}

.service-image-tile-small {
  grid-column: span 2;
}

.service-image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

@media screen and (max-width: 991px) {
  .services-redesign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-intro-card,
  .service-tile-wide,
  .service-image-tile,
  .service-image-tile-small {
    grid-column: span 2;
  }

  .services-intro-card h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 8vw, 4.7rem);
  }
}

@media screen and (max-width: 767px) {
  .services-redesign-section {
    padding-top: 1rem;
  }

  .services-redesign-grid {
    grid-template-columns: 1fr;
  }

  .services-intro-card,
  .service-tile,
  .service-tile-wide,
  .service-image-tile,
  .service-image-tile-small {
    grid-column: span 1;
  }

  .services-intro-card {
    min-height: auto;
    padding: 2rem 1.4rem;
  }

  .services-intro-card h1 {
    max-width: 9ch;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .service-tile {
    min-height: auto;
    gap: 1rem;
    padding: 1.6rem 1.4rem;
  }

  .service-image-tile {
    min-height: 17rem;
  }
}

/* About page redesign */
.about-redesign-page {
  background: #fff;
}

.about-redesign-section {
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

.about-redesign-hero {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) 0 clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}

.about-redesign-hero h1 {
  max-width: 100%;
  color: #313131;
  font-size: clamp(2.4rem, 4.2vw, 4.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
}

.about-redesign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
  margin-bottom: clamp(1rem, 1.6vw, 1.5rem);
}

.about-redesign-grid-first,
.about-redesign-grid-second,
.about-redesign-grid-third {
  align-items: stretch;
}

.about-redesign-card,
.about-redesign-image-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-redesign-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(24rem, 34vw, 34rem);
  padding: clamp(2rem, 3.2vw, 4rem);
  background: #f2f4f8;
  color: #313131;
}

.about-redesign-card-primary {
  gap: 1.25rem;
}

.about-redesign-card-centered {
  text-align: center;
}

.about-redesign-card-long {
  gap: 1.2rem;
}

.about-redesign-card p {
  max-width: 46rem;
  margin: 0;
  color: #505050;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.65;
}

.about-redesign-card-centered p {
  margin-right: auto;
  margin-left: auto;
}

.about-redesign-image-card {
  min-height: clamp(24rem, 34vw, 34rem);
  background: #f2f4f8;
}

.about-redesign-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.about-redesign-grid-second .about-redesign-card,
.about-redesign-grid-second .about-redesign-image-card {
  min-height: clamp(28rem, 36vw, 38rem);
}

.about-redesign-grid-second {
  grid-template-columns: minmax(0, 1.82fr) minmax(13rem, 0.48fr);
}

.about-redesign-card-expanded {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(1.8rem, 2.5vw, 3rem);
}

.about-redesign-card-expanded p {
  max-width: 62rem;
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  line-height: 1.58;
}

.about-redesign-image-portrait {
  align-self: stretch;
  aspect-ratio: 3 / 4;
  max-width: 20rem;
  justify-self: end;
}

.about-redesign-grid-second .about-redesign-image-card img {
  object-position: center 38%;
}

@media screen and (max-width: 991px) {
  .about-redesign-hero h1 {
    font-size: clamp(2.1rem, 5.8vw, 3.4rem);
  }
}

@media screen and (max-width: 767px) {
  .about-redesign-grid {
    grid-template-columns: 1fr;
  }

  .about-redesign-grid-second {
    grid-template-columns: 1fr;
  }

  .about-redesign-hero h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 6vw, 2.65rem);
  }

  .about-redesign-card {
    min-height: auto;
    padding: 2rem 1.4rem;
  }

  .about-redesign-image-card {
    min-height: 18rem;
  }

  .about-redesign-grid-second .about-redesign-image-card {
    min-height: 22rem;
    max-width: none;
    justify-self: stretch;
  }
}

/* Contact page redesign */
.contact-redesign-page .section-contact {
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

.contact-redesign-title {
  font-size: clamp(2.4rem, 3.2vw, 4rem) !important;
  line-height: 1.05 !important;
}

.contact-redesign-image-card .image-cover-parallax,
.contact-redesign-image-card .image-content {
  height: 100%;
  min-height: clamp(26rem, 36vw, 38rem);
}

.contact-redesign-image-card .image-content {
  object-fit: cover;
  object-position: center;
}

.contact-redesign-details-card .contact-details-grid {
  gap: 1.4rem;
}

.contact-redesign-details-card .contact-details-grid div {
  overflow-wrap: anywhere;
}

.contact-redesign-details-card .contact-details-grid a {
  color: inherit;
  text-decoration: none;
}

.contact-redesign-details-card .contact-details-grid a:hover {
  color: #d84141;
}

@media screen and (max-width: 767px) {
  .contact-redesign-title {
    font-size: clamp(2.1rem, 10vw, 3rem) !important;
  }

  .contact-redesign-image-card .image-cover-parallax,
  .contact-redesign-image-card .image-content {
    min-height: 20rem;
  }
}

.footer-second-row .footer-text {
  text-transform: none !important;
  letter-spacing: 0;
}
