/* Screenshot-matched header + homepage hero, isolated selectors */
.sw-ref-topbar.sw-announcement {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 38px !important;
  padding: 7px 16px !important;
  background: #ffdc4d !important;
  color: #16241f !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}
.sw-ref-topbar.sw-announcement a {
  color: #16241f !important;

  text-underline-offset: 3px;
  font-weight: 800 !important;
}
.sw-ref-topbar.sw-announcement span {
  color: #16241f !important;
}
.sw-header {
  background: #fff !important;
}
.sw-header .sw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  min-height: 86px;
}
.sw-header .sw-brand-image {
  flex-shrink: 0;
}
.sw-header .sw-brand-image img {
  width: 165px;
  max-width: 100%;
  height: auto;
}
.sw-header .sw-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.sw-ref-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.sw-ref-header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #ffda45;
  color: #16241f !important;
  min-height: 51px;
  border-radius: 6px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}
.sw-ref-header-actions .sw-ref-quote {
  gap: 24px;
}
.sw-ref-header-actions .sw-ref-phone {
  font-size: 16px;
  letter-spacing: 0.015em;
}
.sw-ref-hero {
  background: #ffdb4c !important;
  color: #14231d !important;
  min-height: 710px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sw-ref-hero .sw-ref-hero-grid {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 70px;
  align-items: center;
  padding-top: 55px;
  padding-bottom: 55px;
}
.sw-ref-hero-copy {
  min-width: 0;
}
.sw-ref-kicker {
    display: inline-block;
    border: 1px solid #827129;
    border-radius: 60px;
    padding: 11px 20px;
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 850;
    text-align: center;
}
.sw-ref-kicker strong{
	font-size: 13px;
    font-weight: 800;
}
.sw-ref-hero h1 {
  font-size: 90px;
  line-height: 1.06 !important;
  letter-spacing: -0.065em !important;
  font-weight: 900 !important;
  margin: 28px 0 25px !important;
  color: #15231f !important;
}
.sw-ref-hero h1 em {
  font-style: normal !important;
  color: #fff !important;
}
.sw-ref-hero-copy > p {
  max-width: 610px;
  font-size: 17px !important;
  line-height: 1.9 !important;
  color: #24312c !important;
  margin: 0 !important;
}
.sw-ref-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}
.sw-ref-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #172721 !important;
  color: #fff !important;
  min-height: 52px;
  padding: 16px 23px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 850;
  font-size: 13px;
}
.sw-ref-call {
  font-size: 15px;
  font-weight: 850;
  color: #172721 !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sw-ref-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
  font-size: 11px;
  font-weight: 800;
}
.sw-ref-hero-visual {
  position: relative;
  min-width: 0;
  max-width: 420px;
  margin: 35px 0 0 auto;
  width: 100%;
  height: 430px;
}
.sw-ref-hero-visual:before {
  content: "";
  position: absolute;
  inset: 12px -18px -18px 16px;
  background: #c9ae39;
  border-radius: 190px 190px 8px 8px;
}
.sw-ref-hero-visual > img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 190px 190px 8px 8px;
}
.sw-ref-caption {
  position: absolute;
  bottom: -30px;
  left: -48px;
  background: #fff;
  padding: 19px 23px;
  font-size: 12px;
  line-height: 1.6;
  color: #172721;
  box-shadow: 0 4px 15px #0001;
}
.sw-ref-caption strong {
  font-size: 19px;
  letter-spacing: -0.04em;
}
.sw-ref-header-actions a:hover,
.sw-ref-primary:hover {
  filter: brightness(0.95);
}
@media (max-width: 1250px) {
  .sw-header .sw-header-inner {
    gap: 14px;
  }
  .sw-header .sw-nav {
    gap: 13px;
  }
  .sw-ref-header-actions {
    gap: 8px;
  }
  .sw-ref-header-actions a {
    padding: 11px;
    font-size: 12px;
  }
  .sw-ref-header-actions .sw-ref-phone {
    font-size: 13px;
  }
  .sw-ref-hero .sw-ref-hero-grid {
    gap: 40px;
  }
}
@media (max-width: 1020px) {
  .sw-ref-header-actions .sw-ref-quote {
    display: none;
  }
  .sw-ref-hero h1 {
    font-size: clamp(54px, 7vw, 82px) !important;
  }
  .sw-ref-hero .sw-ref-hero-grid {
    gap: 30px;
  }
  .sw-ref-hero-visual {
    height: 370px;
  }
}
@media (max-width: 760px) {
  .sw-ref-topbar.sw-announcement {
    gap: 8px !important;
    flex-wrap: wrap;
    font-size: 10px !important;
  }
  .sw-header .sw-header-inner {
    min-height: 72px;
  }
  .sw-header .sw-brand-image img {
    width: 135px;
  }
  .sw-ref-header-actions .sw-ref-phone {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .sw-ref-hero {
    min-height: 0;
  }
  .sw-ref-hero .sw-ref-hero-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 60px 0 80px;
  }
  .sw-ref-hero h1 {
    font-size: clamp(58px, 11vw, 80px) !important;
  }
  .sw-ref-hero-copy > p {
    font-size: 16px !important;
  }
  .sw-ref-hero-points {
    margin-top: 30px;
  }
  .sw-ref-hero-visual {
    height: 350px;
    max-width: 350px;
    margin: 45px auto 0;
  }
  .sw-ref-caption {
    left: -12px;
    bottom: -24px;
  }
  .sw-ref-topbar.sw-announcement span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 420px) {
  .sw-ref-topbar.sw-announcement {
    font-size: 9px !important;
  }
  .sw-ref-topbar.sw-announcement span:nth-child(3) {
    display: none;
  }
  .sw-ref-hero h1 {
    font-size: 56px !important;
  }
  .sw-ref-hero-points {
    gap: 9px;
  }
  .sw-ref-hero-visual {
    height: 300px;
    max-width: 300px;
  }
  .sw-ref-hero-actions {
    gap: 15px;
  }
}

/* Mobile navigation correction — keep desktop unchanged */
@media (max-width: 900px) {
  .sw-header {
    position: relative;
    z-index: 1000;
  }
  .sw-header .sw-header-inner {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 72px;
    gap: 12px !important;
  }
  .sw-header .sw-brand-image {
    order: 1;
    margin-right: auto;
  }
  .sw-header .sw-brand-image img {
    width: 135px;
  }
  .sw-header .sw-ref-header-actions {
    order: 2;
    flex: 0 0 auto;
  }
  .sw-header .sw-ref-header-actions .sw-ref-quote {
    display: none !important;
  }
  .sw-header .sw-ref-header-actions .sw-ref-phone {
    display: inline-flex !important;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .sw-header .sw-mobile-toggle {
    order: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin: 0;
    border: 1px solid #dce1da;
    border-radius: 6px;
    background: #fff;
    color: #172721;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
  }
  .sw-header .sw-nav,
  .sw-header .sw-nav:not(.is-open) {
    display: none !important;
  }
  .sw-header .sw-nav.is-open {
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 105px);
    overflow-y: auto;
    margin: 0 !important;
    padding: 10px 16px 18px !important;
    background: #fff !important;
    border-top: 1px solid #edf0e9;
    border-bottom: 3px solid #ffda45;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
    z-index: 1100;
  }
  .sw-header .sw-nav > li,
  .sw-header .sw-nav .sw-nav-group {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .sw-header .sw-nav .sw-nav-trigger,
  .sw-header .sw-nav .sw-nav-link,
  .sw-header .sw-nav > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px !important;
    text-align: left !important;
    font-size: 15px !important;
    color: #172721 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #f0f1ed !important;
    border-radius: 0 !important;
  }
  .sw-header .sw-nav .sw-dropdown {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 4px 0 8px 12px !important;
    background: #f8f8f3 !important;
  }
  .sw-header .sw-nav .sw-nav-group.is-open > .sw-dropdown {
    display: block !important;
  }
  .sw-header .sw-nav .sw-dropdown a {
    display: block !important;
    padding: 11px 12px !important;
    color: #172721 !important;
    text-align: left !important;
  }
  .sw-ref-topbar.sw-announcement {
    padding: 7px 10px !important;
  }
}
@media (max-width: 390px) {
  .sw-header .sw-header-inner {
    gap: 6px !important;
  }
  .sw-header .sw-brand-image img {
    width: 115px;
  }
  .sw-header .sw-ref-header-actions .sw-ref-phone {
    font-size: 10px;
    padding: 8px 7px;
  }
  .sw-header .sw-mobile-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

/* Mobile interaction + hero refinements, final override */
@media (max-width: 900px) {
  .sw-header {
    z-index: 9999 !important;
    overflow: visible !important;
  }
  .sw-header .sw-header-inner {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .sw-header .sw-mobile-toggle {
    order: 3 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .sw-header .sw-brand-image {
    order: 1 !important;
    min-width: 0 !important;
  }
  .sw-header .sw-ref-header-actions {
    order: 2 !important;
    margin-left: auto !important;
  }
  .sw-header .sw-nav {
    display: none !important;
  }
  .sw-header .sw-nav.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 100px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    z-index: 99999 !important;
    padding: 10px 18px 20px !important;
    box-shadow: 0 15px 30px #0002 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  .sw-header .sw-nav.is-open > li,
  .sw-header .sw-nav.is-open > .sw-nav-group {
    width: 100% !important;
    flex: none !important;
    text-align: left !important;
  }
  .sw-ref-hero .sw-ref-hero-grid {
    width: calc(100% - 36px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 48px 0 70px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  .sw-ref-hero-copy {
    min-width: 0 !important;
    width: 100% !important;
  }
  .sw-ref-hero h1 {
    font-size: clamp(42px, 10vw, 66px) !important;
    line-height: 1.06 !important;
    overflow-wrap: normal !important;
    letter-spacing: -0.06em !important;
  }
  .sw-ref-hero-copy > p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
  }
  .sw-ref-hero-actions {
    gap: 14px !important;
  }
  .sw-ref-hero-points {
    gap: 10px 14px !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }
  .sw-ref-hero-visual {
    max-width: min(340px, calc(100% - 30px)) !important;
    height: 330px !important;
    margin: 24px auto 0 !important;
  }
  .sw-ref-caption {
    left: -12px !important;
    bottom: -18px !important;
  }
}
@media (max-width: 420px) {
  .sw-ref-hero h1 {
    font-size: clamp(40px, 11vw, 50px) !important;
  }
  .sw-ref-hero .sw-ref-hero-grid {
    width: calc(100% - 32px) !important;
  }
  .sw-ref-hero-visual {
    height: 275px !important;
  }
  .sw-ref-primary {
    padding: 14px 17px !important;
    font-size: 12px !important;
  }
  .sw-ref-call {
    font-size: 12px !important;
  }
  .sw-header .sw-brand-image img {
    width: 118px !important;
  }
  .sw-header .sw-ref-phone {
    font-size: 10px !important;
    padding: 8px !important;
  }
}

/* Homepage section design alignment — isolated to replacement sections */
.sw-match-section {
  padding: 96px 0;
  color: #172721;
  font-family: inherit;
}
.sw-match-section * {
  box-sizing: border-box;
}
.sw-match-section .sw-container {
  width: 1200px;
  margin-inline: auto;
  padding: 0;
}
.sw-match-section .sw-match-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 42px;
}
.sw-match-section .sw-match-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 850;
  color: #9b7928;
  margin-bottom: 18px;
}
.sw-match-section h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin: 0;
}
.sw-match-section h2 em {
  font-style: normal;
  color: #ba9123;
}
.sw-match-section h3 {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0;
}
.sw-match-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #5a655e;
  margin: 14px 0;
}
.sw-match-section .sw-match-heading > p {
  font-size: 17px;
  margin: 0 0 4px;
}
.sw-match-areas {
  background: #f7f6f0;
}
.sw-match-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.sw-match-area-card {
  background: #fff;
  border: 1px solid #e8e9e2;
  border-radius: 10px;
  padding: 38px;
  box-shadow: 0 12px 32px rgba(20, 38, 28, 0.035);
}
.sw-match-area-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #ffdc4d;
  border-radius: 50%;
  margin-bottom: 28px;
}
.sw-match-area-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.sw-match-area-icon-alt span {
  font-size: 45px;
}
.sw-match-card-label,
.sw-match-solution-copy > span {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 850;
  color: #9c7e2b;
  display: block;
  margin-bottom: 13px;
}
.sw-match-area-card p {
  max-width: 470px;
}
.sw-match-card-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 850;
  color: #172721;
  text-decoration: none;
  border-bottom: 2px solid #ffdc4d;
  padding-bottom: 5px;
}
.sw-match-card-link:hover {
  color: #9b7928;
}
.sw-match-auckland {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #172721;
  color: #fff;
  border-radius: 10px;
  padding: 24px 30px;
  margin-top: 20px;
}
.sw-match-auckland strong {
  font-size: 18px;
}
.sw-match-auckland p {
  color: #d3ded7;
  margin: 6px 0 0;
  font-size: 13px;
}
.sw-match-auckland a {
  display: inline-block;
  flex-shrink: 0;
  background: #ffdc4d;
  color: #172721;
  font-weight: 850;
  padding: 14px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}
.sw-match-benefits {
  background: #fff;
}
.sw-match-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sw-match-benefit-grid article {
  border: 1px solid #e7e9e3;
  border-radius: 9px;
  padding: 28px;
  min-height: 270px;
}
.sw-match-benefit-symbol {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #ffdc4d;
  color: #172721;
  font-size: 34px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 25px;
}
.sw-match-benefit-grid article > span {
  font-size: 11px;
  color: #a08331;
  font-weight: 850;
}
.sw-match-benefit-grid h3 {
  font-size: 21px;
  margin-top: 12px;
}
.sw-match-benefit-grid p {
  font-size: 14px;
}
.sw-match-solutions {
  background: #f7f6f0;
}
.sw-match-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sw-match-solution-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e9e2;
  border-radius: 10px;
  text-decoration: none;
  color: #172721;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sw-match-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #14261c1a;
}
.sw-match-solution-art {
  height: 195px;
  display: grid;
  place-items: center;
  background: #ffdc4d;
}
.sw-match-solution-card:nth-child(2) .sw-match-solution-art {
  background: #ff625e;
}
.sw-match-solution-card:nth-child(3) .sw-match-solution-art {
  background: #6cac93;
}
.sw-match-solution-art img {
  max-height: 112px;
  max-width: 140px;
  object-fit: contain;
}
.sw-match-solution-copy {
  padding: 30px;
}
.sw-match-solution-copy h3 {
  font-size: 24px;
}
.sw-match-solution-copy p {
  font-size: 14px;
  min-height: 78px;
}
.sw-match-solution-copy b {
  font-size: 13px;
  display: block;
  margin-top: 16px;
}
.sw-match-section a:focus-visible {
  outline: 3px solid #af8221;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .sw-match-section {
    padding: 70px 0;
  }
  .sw-match-section .sw-match-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .sw-match-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sw-match-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .sw-match-section {
    padding: 55px 0;
  }
  .sw-match-section .sw-container {
    width: calc(100% - 32px);
  }
  .sw-match-section h2 {
    font-size: clamp(34px, 9vw, 48px);
  }
  .sw-match-section .sw-match-heading {
    margin-bottom: 26px;
  }
  .sw-match-section .sw-match-heading > p {
    font-size: 15px;
  }
  .sw-match-area-grid,
  .sw-match-benefit-grid,
  .sw-match-solutions-grid {
    grid-template-columns: 1fr;
  }
  .sw-match-area-card {
    padding: 27px;
  }
  .sw-match-benefit-grid article {
    min-height: 0;
    padding: 25px;
  }
  .sw-match-auckland {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .sw-match-solution-art {
    height: 170px;
  }
  .sw-match-solution-copy p {
    min-height: 0;
  }
}
