.contact-section .contact-details > a.contact-phone,
.contact-section .contact-details > a.contact-email,
.contact-section .contact-details > a.contact-address {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 18px 20px;
  border: 1px solid #b8c6cf;
  border-radius: 12px;
  background: #ffffff;
  color: #102b3e;
  box-shadow: 0 5px 16px rgba(16, 43, 62, 0.08);
}

.contact-section .contact-details > a.contact-phone:hover,
.contact-section .contact-details > a.contact-email:hover,
.contact-section .contact-details > a.contact-address:hover {
  border-color: #806024;
  color: #102b3e;
  box-shadow: 0 7px 20px rgba(16, 43, 62, 0.14);
}

.contact-section .contact-phone small,
.contact-section .contact-address small {
  color: #806024;
  font-weight: 750;
}

.contact-section .contact-email::before,
.enquiry-direct small,
.enquiry-direct svg,
.contact-section .contact-phone > svg:first-child,
.contact-section .contact-email > svg:first-child,
.contact-section .contact-address > svg:last-child,
.contact-address::before,
.enquiry-address::before {
  color: #806024;
}

.contact-section .contact-details > a.contact-phone,
.contact-section .contact-details > a.contact-email,
.contact-section .contact-details > a.contact-address {
  border-left: 3px solid #b99752;
  font-size: 1rem;
}

.contact-section .contact-phone small,
.contact-section .contact-email::before,
.contact-section .contact-address small {
  font-size: .8125rem;
}

.contact-section .contact-email {
  display: grid;
  grid-template-columns: auto 1fr auto;
  row-gap: 4px;
}

.contact-section .contact-email::before {
  content: "Email us";
  grid-column: 2 / 3;
  grid-row: 1;
  color: #344e60;
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .06em;
}

.contact-section .contact-email > svg:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.contact-section .contact-email > svg:last-child {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
}

/* Keep all three homepage contact cards visually consistent. */
.contact-section .contact-details > a.contact-phone,
.contact-section .contact-details > a.contact-email,
.contact-section .contact-details > a.contact-address {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  column-gap: 14px;
  align-items: center;
}

.contact-section .contact-phone > span,
.contact-section .contact-address > span {
  grid-column: 2;
}

.contact-section .contact-phone > svg:first-child,
.contact-section .contact-email > svg:first-child,
.contact-section .contact-address::before {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: 21px;
  height: 21px;
  margin: 0;
  color: #806024;
}

.contact-section .contact-phone > svg:last-child,
.contact-section .contact-email > svg:last-child,
.contact-section .contact-address > svg:last-child {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 20px;
  height: 20px;
  margin: 0;
  color: #806024;
}

.contact-section .contact-phone small,
.contact-section .contact-email::before,
.contact-section .contact-address small {
  color: #806024;
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .contact-section .contact-details > a.contact-phone,
  .contact-section .contact-details > a.contact-email,
  .contact-section .contact-details > a.contact-address {
    padding: 16px;
  }
}

.hero .photo-note {
  padding: 22px 24px;
  border: 2px solid #c6a35d;
  border-left: 7px solid #c6a35d;
  border-radius: 10px;
  background: #102b3e;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 43, 62, .32);
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border-left: 5px solid #806024;
  border-radius: 4px;
  background: #f4ead1;
  color: #102b3e;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.3;
}

.hero .eyebrow > span {
  display: none;
}

@media (max-width: 480px) {
  .hero .eyebrow {
    padding: 9px 12px;
    font-size: .92rem;
    letter-spacing: .055em;
  }
}

.hero .photo-note strong {
  margin-bottom: 7px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.35;
}

.hero .photo-note div > span {
  color: #f0d89f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .035em;
}

#services {
  scroll-margin-top: 155px;
}

#services .services-title {
  display: inline-block;
  margin-bottom: 18px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 4px solid #c6a35d;
  border-radius: 0;
  background: transparent;
  color: #102b3e !important;
  -webkit-text-fill-color: #102b3e !important;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1.05;
  box-shadow: none;
}

@media (max-width: 480px) {
  #services .services-title {
    padding: 10px 16px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero .photo-note {
    padding: 18px;
    border-left-width: 6px;
  }

  .hero .photo-note strong {
    font-size: 1.05rem;
  }

  .hero .photo-note div > span {
    font-size: .9rem;
  }
}

.residential-section {
  scroll-margin-top: 155px;
}

.residential-section .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 24px;
  padding: 11px 22px;
  border: 3px solid #6f5018;
  border-radius: 999px;
  background: #806024;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(16, 43, 62, .28), 0 0 0 4px rgba(128, 96, 36, .12);
}

.residential-key-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 30px;
  padding: 18px 22px;
  border: 2px solid #c6a35d;
  border-radius: 12px;
  background: #ffffff;
  color: #102b3e;
  box-shadow: 0 8px 22px rgba(16, 43, 62, .13);
}

.residential-key-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #102b3e;
  font-size: 1.45rem;
}

.residential-key-highlight small,
.residential-key-highlight strong {
  display: block;
}

@media (max-width: 767px) {
  .residential-tab-list .residential-tab:last-child {
    grid-column: 1 / -1;
  }
}

.residential-key-highlight small {
  margin-bottom: 4px;
  color: #806024;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.residential-key-highlight strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .residential-key-highlight {
    gap: 12px;
    padding: 15px;
  }

  .residential-key-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .residential-key-highlight strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .residential-section .eyebrow {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 1.05rem;
  }
}
/* Location marker for the address links on the home and contact pages. */
.contact-address,
.enquiry-address {
  position: relative;
}

.contact-address::before,
.enquiry-address::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-right: 10px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Responsive safety rules for the exported site. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.container,
.hero > *,
.section-heading > *,
.residential-panel > *,
.approach > *,
.contact-inner > *,
.enquiry-layout > * {
  min-width: 0;
}

.container {
  width: 100%;
}

.hero-actions,
.footer-top,
.footer-bottom {
  flex-wrap: wrap;
}

.residential-tab-list {
  width: 100%;
  max-width: 100%;
}

.residential-tab {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-section .contact-details > a.contact-phone,
.contact-section .contact-details > a.contact-email,
.contact-section .contact-details > a.contact-address {
  max-width: 100%;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
}

.contact-section .contact-phone > span,
.contact-section .contact-address > span,
.contact-section .contact-email {
  min-width: 0;
}

.contact-section .contact-address::before {
  margin: 0;
}

.contact-section .contact-phone > span,
.contact-section .contact-address > span,
.contact-section .contact-email {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 850px) {
  .header-inner,
  .desktop-nav,
  .hero-actions {
    max-width: 100%;
  }

  .desktop-nav {
    flex-wrap: wrap;
  }

  .hero h1,
  .contact-inner h2,
  .approach-title {
    overflow-wrap: break-word;
  }
}

@media (max-width: 640px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-actions > a,
  .header-cta {
    max-width: 100%;
  }

  .residential-tab {
    padding-right: 10px;
    padding-left: 10px;
    font-size: .875rem;
    line-height: 1.35;
  }

  .contact-section .contact-details > a.contact-phone,
  .contact-section .contact-details > a.contact-email,
  .contact-section .contact-details > a.contact-address {
    grid-template-columns: 20px minmax(0, 1fr) 18px;
    column-gap: 10px;
    padding: 15px 14px;
  }

  .contact-section .contact-phone {
    font-size: 1.2rem;
  }

  .contact-section .contact-phone > svg:last-child,
  .contact-section .contact-email > svg:last-child,
  .contact-section .contact-address > svg:last-child {
    width: 18px;
    height: 18px;
  }

  .cookie-policy-link {
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 380px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .residential-tab-list {
    grid-template-columns: 1fr;
  }

  .residential-tab-list .residential-tab:last-child {
    grid-column: auto;
  }
}

/* Align the leading icons with their labels and strengthen contact details. */
.contact-section .contact-email,
.contact-section .contact-address > span {
  font-weight: 700;
}

.contact-section .contact-phone > span {
  font-weight: 700;
}

.contact-section .contact-email > span {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-section .contact-phone > svg:first-child,
.contact-section .contact-email > svg:first-child,
.contact-section .contact-address::before {
  grid-row: 1;
  align-self: start;
  margin-top: 0;
}

/* Match icon-to-heading alignment on the Contact Us page. */
.enquiry-direct > a {
  align-items: flex-start;
}

.enquiry-direct > a > svg:first-child,
.enquiry-direct > a.enquiry-address::before {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 0;
}

/* Remove the empty form heading space after a successful enquiry. */
.enquiry-form-panel > h2:empty,
.enquiry-form-panel > .form-intro:empty {
  display: none;
}

.enquiry-form-panel .enquiry-success {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  padding-top: 0;
}

.enquiry-form-panel .enquiry-success > svg {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  margin: 0;
}

.enquiry-form-panel .enquiry-success > h3,
.enquiry-form-panel .enquiry-success > p,
.enquiry-form-panel .enquiry-success > a {
  grid-column: 2;
}

.enquiry-form-panel .enquiry-success > h3 {
  grid-row: 1;
  margin: 4px 0 14px;
}

.enquiry-form-panel .enquiry-success > p {
  grid-row: 2;
  margin: 0 0 24px;
}

.enquiry-form-panel .enquiry-success > a {
  grid-row: 3;
  justify-self: start;
}

@media (max-width: 480px) {
  .enquiry-form-panel .enquiry-success {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
  }
}

/* Present the main footer line as the visible brand tagline. */
.footer-top > p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 15px;
  border-left: 4px solid #c6a35d;
  border-radius: 6px;
  background: #102b3e;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(16, 43, 62, .18);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .footer-top > p {
    width: 100%;
    text-align: center;
  }
}
