:root {
  /* Global design tokens */
  --font-base: "Ubuntu", Arial, sans-serif;
  --color-white: #ffffff;
  --color-primary: #ae212c;
  --color-primary-hover: #a30100;
  --color-on-dark: #f1f1f1;
  --color-outline-dark: #6f7976;
  --color-focus: #ffd76a;
  --hero-overlay: rgba(0, 0, 0, 0.3);
  --container-max: 1128px;
  --container-pad: 156px;
  --transition-fast: 180ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  line-height: 1.5;
  color: #201a19;
  background: var(--color-white);
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* Normalize legacy hardcoded primary red in inline SVGs */
[fill="#C00100"],
[fill="#c00100"] {
  fill: #ae212c !important;
}

[stroke="#C00100"],
[stroke="#c00100"] {
  stroke: #ae212c !important;
}

.skip-link {
  /* Becomes visible only when focused via keyboard */
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus-visible {
  top: 12px;
}

.container {
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.site-header {
  /* Fixed nav with scroll-state styling controlled by JS */
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: transparent;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header.is-menu-open {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header--static {
  position: sticky;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-header--static .site-nav__link,
.site-header--static .site-nav__call,
.site-header--static .site-nav__toggle {
  color: #534341;
}

.site-header--static .site-nav__call {
  border-left-color: #d8c2be;
}

.site-header__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  display: block;
  width: 248px;
  height: 70px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-on-dark);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.site-nav__link:hover {
  opacity: 1;
  font-weight: 500;
}

.site-nav__link[aria-current="page"] {
  font-weight: 500;
}

.site-nav__link--has-chevron {
  gap: 4px;
}

.site-nav__chevron {
  /* Uses SVG as a mask so icon follows current text color */
  flex: 0 0 16px;
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  mask-image: url("../images/arrow_down.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("../images/arrow_down.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.site-nav__call {
  color: var(--color-on-dark);
  border-left: 1px solid var(--color-outline-dark);
  padding-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.site-nav__call-icon {
  /* Uses SVG as a mask so icon follows current text color */
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask-image: url("../images/call.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("../images/call.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.site-nav__call-text {
  color: inherit;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav__quote-btn {
  width: 139px;
}

.site-nav .site-nav__drawer-quote {
  display: none;
}

.site-header.is-scrolled .site-nav__link,
.site-header.is-scrolled .site-nav__call {
  color: #534341;
}

.site-header.is-scrolled .site-nav__call {
  border-left-color: #d8c2be;
}

/* Actions bar: call + CTA + hamburger (hamburger hidden on desktop) */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Hamburger toggle — hidden on desktop, shown on mobile via media query */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--color-on-dark);
}

.site-nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Animated X state when menu is open */
.site-nav__toggle.is-active .site-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle.is-active .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-nav__toggle.is-active .site-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header.is-scrolled .site-nav__toggle {
  color: #534341;
}

.btn {
  /* Shared button base styles */
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-base);
  border: 0;
  box-shadow: none;
  appearance: none;
  padding: 10px 24px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
  font-weight: 500;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--outline {
  /* Secondary outlined action used in content sections */
  border: 1px solid #73777f;
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(192, 1, 0, 0.06);
}

.btn--outline:active {
  transform: translateY(1px);
}

.btn--light {
  /* Light button variant used on dark/red promo backgrounds */
  background: #ffffff;
  color: #ae212c;
}

.btn--light:hover {
  background: #f5f5f5;
}

.btn--light:active {
  transform: translateY(1px);
}

.hero {
  /* Top-of-page hero block */
  position: relative;
  min-height: 834px;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 834px;
  display: flex;
  align-items: flex-start;
}

.hero__content {
  max-width: 426px;
  margin-top: 318px;
  color: var(--color-white);
}

.hero__title {
  margin: 0;
  font-size: 45px;
  line-height: 60px;
  font-weight: 700;
}

.hero__subtitle {
  margin: 20px 0 0;
  color: var(--color-on-dark);
  font-size: 20px;
  line-height: 28px;
}

.hero__accent {
  display: block;
  width: 200px;
  height: 4px;
  background: #ffffff;
  margin-top: 30px;
}

/* Service page hero (top section only). */
.service-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.service-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.service-hero__content {
  width: min(576px, 100%);
  margin-top: 210px;
  text-align: center;
  color: #ffffff;
}

.service-hero__title {
  margin: 0;
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
}

.service-hero__subtitle {
  margin: 20px 0 0;
  color: #f1f1f1;
  font-size: 20px;
  line-height: 28px;
}

.service-hero__accent {
  display: block;
  width: 200px;
  height: 4px;
  background: #ffffff;
  margin: 30px auto 0;
}

/* Service category pages: compact hero variant (e.g. Electrical Maintenance). */
.service-hero--category {
  min-height: 388px;
}

.service-hero--category .service-hero__inner {
  min-height: 388px;
}

.service-hero__content--category {
  width: min(552px, 100%);
  margin-top: 210px;
}

.service-hero__title--category {
  font-size: 48px;
  line-height: 48px;
}

/* About page hero (Figma node 100:742). */
.about-hero {
  min-height: 568px;
  background: #262626;
}

.about-hero__inner {
  min-height: 568px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-hero__content {
  width: min(576px, 100%);
  margin-top: 210px;
  text-align: center;
  color: #ffffff;
}

.about-hero__title {
  margin: 0;
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
}

.about-hero__subtitle {
  margin: 20px 0 0;
  color: #f1f1f1;
  font-size: 20px;
  line-height: 28px;
}

.about-hero__accent {
  display: block;
  width: 200px;
  height: 4px;
  background: #ffffff;
  margin: 30px auto 0;
}

/* Contact page hero: shorter variant of the about hero. */
.about-hero--contact {
  min-height: 464px;
}

.about-hero--contact .about-hero__inner {
  min-height: 464px;
}

/* Suburb page hero: same dark treatment with shorter height. */
.about-hero--suburb {
  min-height: 464px;
}

.about-hero--suburb .about-hero__inner {
  min-height: 464px;
}

/* Milperra page: "Get The Best Electrical Services in Milperra". */
.milperra-services {
  padding: 100px 0 133px;
  background: #ffffff;
}

.milperra-services__inner {
  display: grid;
  grid-template-columns: 499px 543px;
  justify-content: space-between;
  align-items: start;
  gap: 24px 86px;
}

.milperra-services__media {
  position: relative;
  width: 499px;
  max-width: 100%;
  min-height: 533px;
}

.milperra-services__image {
  position: absolute;
  left: 0;
  top: 0;
  width: 499px;
  max-width: 100%;
  height: 533px;
  object-fit: contain;
  object-position: center;
}

.milperra-services__content {
  width: 543px;
  max-width: 100%;
}

.milperra-services__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.milperra-services__title strong {
  font-weight: 500;
}

.milperra-services__text {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-services__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.milperra-services__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.milperra-services__item svg {
  flex: 0 0 24px;
}

.milperra-services__item span {
  min-width: 0;
}

/* Milperra page: "Level 2 Electrician in Milperra". */
.milperra-level2 {
  position: relative;
  min-height: 696px;
  background: #fff8f6;
  overflow: hidden;
}

.milperra-level2__inner {
  padding-top: 100px;
  padding-bottom: 100px;
}

.milperra-level2__content {
  width: 543px;
  max-width: 100%;
}

.milperra-level2__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.milperra-level2__title strong {
  font-weight: 500;
}

.milperra-level2__intro {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-level2__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.milperra-level2__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.milperra-level2__marker {
  width: 24px;
  height: 2px;
  background: #ae212c;
}

.milperra-level2__item-text {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-level2__item-text strong {
  font-weight: 500;
  letter-spacing: 0.15px;
}

.milperra-level2__media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 661px;
  height: auto;
}

.milperra-level2__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Milperra page: "ASP Level 2 Electrician in Milperra". */
.milperra-asp {
  position: relative;
  min-height: 1028px;
  background: #ffffff;
  overflow: hidden;
}

.milperra-asp__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 661px;
  height: 1028px;
}

.milperra-asp__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.milperra-asp__inner {
  padding-top: 100px;
  padding-bottom: 100px;
}

.milperra-asp__content {
  width: 543px;
  max-width: 100%;
  margin-left: auto;
}

.milperra-asp__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.milperra-asp__title strong {
  font-weight: 500;
}

.milperra-asp__intro {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-asp__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.milperra-asp__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.milperra-asp__marker {
  width: 24px;
  height: 2px;
  background: #ae212c;
}

.milperra-asp__item-text {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-asp__item-text strong {
  font-weight: 500;
  letter-spacing: 0.15px;
}

/* Milperra page: "Why Milperra Locals Choose Better Electricians". */
.milperra-why {
  padding: 100px 0;
  background: #fff8f6;
}

.milperra-why__headline {
  width: 613px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.milperra-why__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.milperra-why__title strong {
  font-weight: 500;
}

.milperra-why__intro {
  margin: 24px auto 0;
  width: 561px;
  max-width: 100%;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.milperra-why__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.milperra-why__card {
  min-height: 288px;
  border: 1px solid #d8c2be;
  border-radius: 16px;
  background: #ffffff;
  padding: 27px 27px 28px;
}

.milperra-why__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff8f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.milperra-why__card-title {
  margin: 24px 0 0;
  color: #201a19;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.milperra-why__card-text {
  margin: 12px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 26px;
}

/* About page: commitment section (Figma node 100:749). */
.about-commitment {
  padding: 100px 0;
  background: #ffffff;
}

.about-commitment__inner {
  display: grid;
  grid-template-columns: 499px minmax(0, 543px);
  justify-content: space-between;
  align-items: start;
  gap: 24px 80px;
}

.about-commitment__media {
  position: relative;
  width: 499px;
  max-width: 100%;
  min-height: 533px;
}

.about-commitment__media-backplate {
  position: absolute;
  left: 0;
  top: 0;
  width: 476px;
  height: 494px;
  border-radius: 25px;
  background: rgba(255, 185, 0, 0.2);
  transform: rotate(-3deg);
  transform-origin: center;
}

.about-commitment__image {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 450px;
  max-width: calc(100% - 46px);
  height: 469px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 19.552px 39.104px -9.385px rgba(0, 0, 0, 0.25);
}

.about-commitment__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px;
  border-radius: 16px;
  background: #0f172b;
  box-shadow:
    0 20px 25px 0 rgba(0, 0, 0, 0.1),
    0 8px 10px 0 rgba(0, 0, 0, 0.1);
}

.about-commitment__badge-number {
  margin: 0;
  color: #ffb900;
  font-size: 48px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 0.3516px;
}

.about-commitment__badge-label {
  margin: 0;
  color: #cad5e2;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.5496px;
  text-transform: uppercase;
}

.about-commitment__content {
  width: 543px;
  max-width: 100%;
}

.about-commitment__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.about-commitment__title strong {
  font-weight: 500;
}

.about-commitment__text {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.about-commitment__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.about-commitment__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.about-commitment__check {
  flex: 0 0 24px;
}

.about-commitment__item span {
  min-width: 0;
}

/* About page: better difference section (Figma node 100:787). */
.about-difference {
  padding: 100px 0;
  background: #fff8f6;
}

.about-difference__headline {
  width: 543px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-difference__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.about-difference__title strong {
  font-weight: 500;
}

.about-difference__intro {
  margin: 24px auto 0;
  width: 543px;
  max-width: 100%;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.about-difference__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.about-difference__card {
  min-height: 288px;
  border: 1px solid #d8c2be;
  border-radius: 16px;
  background: #ffffff;
  padding: 27px 27px 28px;
}

.about-difference__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff8f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-difference__card-title {
  margin: 24px 0 0;
  color: #201a19;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.about-difference__card-text {
  margin: 12px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 26px;
}

/* About page: service areas section (Figma node 100:818). */
.about-areas {
  padding: 100px 0;
  background: #ffffff;
}

.about-areas__headline {
  width: 543px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-areas__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.about-areas__title strong {
  font-weight: 500;
}

.about-areas__intro {
  margin: 24px auto 0;
  width: 543px;
  max-width: 100%;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.about-areas__panel {
  margin: 64px auto 0;
  width: 896px;
  max-width: 100%;
  background: #f8fafc;
  border-radius: 16px;
  padding: 50px 48px 0;
}

.about-areas__pin {
  width: 64px;
  height: 64px;
  border-radius: 100px;
  margin: 0 auto;
  background: #de3a35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-areas__suburbs {
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  width: 800px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-areas__suburb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #201a19;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.about-areas__suburb-link {
  color: inherit;
  text-decoration: none;
}

.about-areas__suburb-link:hover,
.about-areas__suburb-link:focus-visible {
  text-decoration: underline;
}

.about-areas__footer {
  margin-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 31px 0 24px;
  text-align: center;
}

.about-areas__question {
  margin: 0;
  color: #717182;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.about-areas__availability {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ae212c;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  text-decoration: none;
}

.about-areas__availability:hover,
.about-areas__availability:focus-visible {
  text-decoration: underline;
}

.about-areas__emergency {
  margin: 48px auto 0;
  width: 896px;
  max-width: 100%;
  min-height: 80px;
  border: 2px solid #ffc9c9;
  border-radius: 14px;
  background: #fef2f2;
  color: #82181a;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

/* Contact page: contact information + form (Figma node 100:879). */
.contact-page {
  background: #fff8f6;
  padding: 150px 0;
}

.contact-page__inner {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 32px 152px;
  align-items: start;
}

.contact-page__info-title {
  margin: 0;
  color: #201a19;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.contact-page__info-list {
  margin-top: 32px;
  display: grid;
  gap: 32px;
}

.contact-page__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-page__item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f8ebe9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
}

.contact-page__item-content {
  min-width: 0;
}

.contact-page__item-title {
  margin: 0;
  color: #201a19;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.contact-page__item-text,
.contact-page__item-link {
  margin: 2px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-page__item-link:hover,
.contact-page__item-link:focus-visible {
  text-decoration: underline;
}

.contact-page__item-note {
  margin: 4px 0 0;
  color: #ae212c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.contact-page__form-card {
  border: 1px solid #d8c2be;
  border-radius: 16px;
  background: #ffffff;
  padding: 33px;
}

.contact-page__form-title {
  margin: 0;
  color: #201a19;
  font-size: 36px;
  line-height: 32px;
  font-weight: 700;
}

.contact-page__form {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}

.contact-page__form-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f1b8bd;
  border-radius: 10px;
  background: #fff1f2;
  color: #8f1d26;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.contact-page__form-message[hidden] {
  display: none;
}

.contact-page__field {
  display: grid;
  gap: 8px;
}

.contact-page__label {
  color: #534341;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

.contact-page__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-page__input {
  height: 50px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 15px;
  color: #201a19;
  background: #ffffff;
  font: 400 16px/24px "Ubuntu", sans-serif;
  letter-spacing: 0.5px;
}

.contact-page__input::placeholder {
  color: rgba(32, 26, 25, 0.5);
}

.contact-page__field.is-invalid .contact-page__input {
  border-color: #ae212c;
  border-width: 2px;
}

.contact-page__error {
  min-height: 20px;
  color: #ae212c;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.contact-page__error:empty {
  display: none;
}

.contact-page__textarea {
  height: 122px;
  resize: vertical;
  min-height: 122px;
  padding-top: 12px;
}

.contact-page__select-wrap {
  position: relative;
  display: block;
}

.contact-page__select {
  appearance: none;
  padding-right: 48px;
}

.contact-page__select-icon {
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.contact-page__turnstile {
  display: grid;
  gap: 8px;
}

.contact-page__turnstile.is-invalid .cf-turnstile {
  width: fit-content;
  max-width: 100%;
  padding: 2px;
  border: 2px solid #ae212c;
  border-radius: 6px;
}

.contact-page__submit {
  width: 100%;
  min-height: 56px;
  border: none;
  background: #ae212c;
  color: #ffffff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 24px 10px 16px;
  font: 500 14px/20px "Ubuntu", sans-serif;
  letter-spacing: 0.1px;
  cursor: pointer;
}

.contact-page__submit:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.contact-page__submit:hover,
.contact-page__submit:focus-visible {
  background: #a90101;
}

/* Keep keyboard focus visible across the submit button. */
.contact-page__submit:focus-visible {
  outline: 2px solid #ae212c;
  outline-offset: 2px;
}

.contact-page__input:focus,
.contact-page__input:focus-visible {
  border-color: #ae212c;
  border-width: 2px;
  outline: none;
}

/* Contact page: map section (Figma node 104:1242). */
.contact-map {
  width: 100%;
  background: #ffffff;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

/* Thank-you page confirmation state. */
.thank-you-page {
  min-height: 520px;
  padding: 112px 0 120px;
  background: #fff8f6;
  display: flex;
  align-items: center;
}

.thank-you-page__inner {
  max-width: 720px;
  text-align: center;
}

.thank-you-page__eyebrow {
  margin: 0 0 16px;
  color: #ae212c;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.thank-you-page__title {
  margin: 0;
  color: #201a19;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 500;
}

.thank-you-page__text {
  max-width: 560px;
  margin: 24px auto 0;
  color: #534341;
  font-size: 18px;
  line-height: 28px;
}

.thank-you-page__button {
  margin-top: 40px;
  min-width: 210px;
}

/* Legal pages. */
.legal-page {
  padding: 96px 0 112px;
  background: #fff8f6;
}

.legal-page__inner {
  max-width: 920px;
}

.legal-page__eyebrow {
  margin: 0 0 16px;
  color: #ae212c;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.legal-page__title {
  margin: 0;
  color: #201a19;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 500;
}

.legal-page__updated {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.legal-page__content {
  margin-top: 56px;
  padding: 48px;
  background: #ffffff;
  border: 1px solid #f0ded9;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(32, 26, 25, 0.08);
}

.legal-page__section + .legal-page__section {
  margin-top: 40px;
}

.legal-page__heading {
  margin: 0 0 14px;
  color: #201a19;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.legal-page__text,
.legal-page__list {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.2px;
}

.legal-page__list {
  padding-left: 22px;
}

.legal-page__list li + li {
  margin-top: 8px;
}

.legal-page__link {
  color: #ae212c;
  font-weight: 500;
}

/* Projects page: showcase grid section (Figma node 83:1009). */
.projects-showcase {
  background: #ffffff;
  padding: 100px 0;
}

.projects-showcase__heading {
  margin: 0 0 40px;
  color: #201a19;
  text-transform: uppercase;
  text-align: center;
  font-size: 32px;
  line-height: 48px;
  font-weight: 500;
}

.projects-showcase__intro {
  width: 498px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.projects-showcase__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 30px;
}

.projects-showcase__card {
  display: flex;
  flex-direction: column-reverse;
  background: #ffffff;
  border: 1px solid #d8c2be;
  min-height: 282px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.projects-showcase__card--tile {
  font: inherit;
  border-radius: 0;
  padding: 0;
  border: 1px solid #d8c2be;
  appearance: none;
  -webkit-appearance: none;
}

.projects-showcase__card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 0;
}

.projects-showcase__title {
  margin: 0;
  padding: 22px 23px 31px;
  color: #201a19;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}

.projects-showcase__card:hover,
.projects-showcase__card:focus-visible {
  background: #fff8f6;
  border-color: #ae212c;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.projects-showcase__card:focus-visible {
  outline: 2px solid #201a19;
  outline-offset: 2px;
}

.projects-showcase__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 0;
  width: max-content;
  min-width: 184px;
  white-space: nowrap;
}

/* Projects gallery modal */
.project-gallery[hidden] {
  display: none;
}

.project-gallery {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
}

.project-gallery__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 25, 27, 0.78);
  backdrop-filter: blur(4px);
}

.project-gallery__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.project-gallery__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #201a19;
  cursor: pointer;
}

.project-gallery__close svg {
  display: block;
}

.project-gallery__title {
  margin: 0;
  color: #201a19;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.project-gallery__frame {
  width: min(1020px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
}

.project-gallery__viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 540px);
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}

.project-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.project-gallery__arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ae212c;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.project-gallery__arrow:hover {
  transform: scale(1.05);
}

.project-gallery__image {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: #151515;
}

.project-gallery__dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.project-gallery__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: width var(--transition-fast), background-color var(--transition-fast);
}

.project-gallery__dot.is-active {
  width: 20px;
  background: #ae212c;
}

.project-gallery__counter {
  margin: 10px 0 0;
  color: #534341;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-align: center;
}

/* Projects page: red CTA band (Figma node 83:1060). */
.projects-cta {
  background: #ae212c;
  padding: 100px 0;
}

.projects-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-cta__title {
  margin: 0;
  width: 827px;
  max-width: 100%;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.projects-cta__button {
  margin-top: 50px;
  width: 134px;
  min-height: 56px;
}

/* Greenfield Estate page: stats strip under hero (Figma node 91:1637). */
.project-stats {
  background: #ffffff;
  min-height: 190px;
  display: flex;
  align-items: center;
}

.project-stats__inner {
  width: min(550px, 100%);
  margin: 0 auto;
}

.project-stats__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.project-stats__item {
  text-align: center;
  color: #534341;
}

.project-stats__name {
  margin: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}

.project-stats__value {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Greenfield Estate page: Project Overview section (Figma node 91:1632). */
.project-overview {
  background: #fff8f6;
  min-height: 431px;
  display: grid;
  grid-template-columns: 661px minmax(0, 1fr);
}

.project-overview__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 431px;
  object-fit: cover;
}

.project-overview__content {
  width: 543px;
  max-width: 100%;
  margin: 0;
  padding: 100px 0 100px 80px;
}

.project-overview__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.project-overview__title span {
  font-weight: 500;
}

.project-overview__text {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

/* Greenfield Estate page: Client Goals section (Figma node 91:1648). */
.project-goals {
  background: #ffffff;
  padding: 100px 0;
}

.project-goals__inner {
  width: 522px;
  max-width: 100%;
  margin: 0 auto;
}

.project-goals__title {
  margin: 0;
  color: #201a19;
  text-align: center;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
}

.project-goals__title span {
  font-weight: 500;
}

.project-goals__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-goals__item {
  margin: 0;
  position: relative;
  padding-left: 20px;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.project-goals__item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #534341;
  line-height: 24px;
}

/* Greenfield Estate page: Work Completed section (Figma node 91:1655). */
.project-completed {
  background: #fff8f6;
  min-height: 567px;
  display: grid;
  grid-template-columns: 661px minmax(0, 1fr);
}

.project-completed__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 567px;
  object-fit: cover;
}

.project-completed__content {
  width: 543px;
  max-width: 100%;
  margin: 0;
  padding: 100px 0 100px 80px;
}

.project-completed__title {
  margin: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  font-weight: 400;
  text-transform: uppercase;
}

.project-completed__title span {
  font-weight: 500;
}

.project-completed__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-completed__item {
  margin: 0;
  position: relative;
  padding-left: 44px;
}

.project-completed__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 2px;
  background: #ae212c;
}

.project-completed__item p {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.project-completed__item strong {
  font-weight: 500;
  letter-spacing: 0.15px;
}

/* Greenfield Estate page: Project Outcome section (Figma node 91:1674). */
.project-outcome {
  background: #5b5c5e;
  padding: 100px 0;
}

.project-outcome__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-outcome__carousel {
  width: 1126px;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-outcome__arrow {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background-color var(--transition-fast), opacity var(--transition-fast);
}

.project-outcome__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}

.project-outcome__arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.project-outcome__viewport {
  width: 1002px;
  max-width: 100%;
  overflow: hidden;
}

.project-outcome__track {
  display: flex;
  gap: 14px;
  transition: transform 360ms ease;
  will-change: transform;
}

.project-outcome__slide {
  flex: 0 0 240px;
  width: 240px;
  height: 260px;
  object-fit: cover;
  display: block;
}

.project-outcome__dots {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-outcome__dot {
  width: 28px;
  height: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.project-outcome__dot.is-active {
  background: #de3a35;
}

.project-outcome__dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.project-outcome__title {
  margin: 80px 0 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 48px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}

.project-outcome__title span {
  font-weight: 700;
}

.project-outcome__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  width: 640px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-outcome__item {
  position: relative;
  padding: 10px 0 10px 44px;
}

.project-outcome__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 24px;
  height: 2px;
  background: #de3a35;
}

.project-outcome__item p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.25px;
}

.project-outcome__item strong {
  font-weight: 700;
}


/* Electrical Maintenance page: intro paragraph + call strip (Figma node 70:771). */
.electrical-intro {
  background: #ffffff;
  min-height: 406px;
}

.electrical-intro__inner {
  max-width: 697px;
  margin: 0 auto;
  padding-top: 100px;
  text-align: center;
}

.electrical-intro__text {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.electrical-intro__text + .electrical-intro__text {
  margin-top: 24px;
}

.electrical-intro__cta {
  margin: 40px auto 0;
}

/* Electrical Maintenance page: promises strip (Figma node 70:821). */
.electrical-promises {
  background: #fff8f6;
  min-height: 326px;
}

.electrical-promises__inner {
  padding-top: 100px;
  text-align: center;
}

.electrical-promises__title {
  margin: 0;
  color: #534341;
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.electrical-promises__list {
  width: 690px;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 30px;
}

.electrical-promises__item {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Electrical Maintenance page: "Ensure your electrical system..." section (Figma node 70:775). */
.electrical-details {
  background: #ffffff;
  min-height: 900px;
  display: grid;
  grid-template-columns: 661px minmax(0, 1fr);
}

.electrical-details__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 900px;
  object-fit: cover;
}

.electrical-details__content {
  padding: 100px 156px 100px 80px;
  min-width: 0;
}

.electrical-details__title {
  margin: 0;
  width: 543px;
  max-width: 100%;
  min-width: 0;
  color: #201a19;
  font-size: 32px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.electrical-details__title span {
  font-weight: 500;
}

.electrical-details__text {
  width: 543px;
  max-width: 100%;
  min-width: 0;
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.electrical-details__list {
  width: 541px;
  max-width: 100%;
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.electrical-details__item {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.25px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.electrical-details__item::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  background: #ae212c;
}

/* Electrical Maintenance page: red CTA strip (Figma node 70:832). */
.electrical-cta {
  background: #ae212c;
  min-height: 374px;
}

.electrical-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.electrical-cta__title {
  margin: 0;
  width: 663px;
  max-width: 100%;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}

.electrical-cta__button {
  margin-top: 50px;
  width: 134px;
  min-height: 56px;
  text-transform: uppercase;
}

/* Service page: Expert Electrical Services (Figma node 53:320). */
.service-catalog {
  background: #ffffff;
  padding: 100px 0;
  min-height: 1076px;
}

.service-catalog__title {
  margin: 0 auto 80px;
  width: 391px;
  max-width: 100%;
  text-align: center;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.service-catalog__title span {
  font-weight: 500;
}

.service-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
}

.service-catalog__card {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #201a19;
  text-align: center;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-catalog__card:nth-child(3n + 1),
.service-catalog__card:nth-child(3n + 2) {
  border-right: 1px solid #d8c2be;
}

.service-catalog__card:nth-child(n + 4) {
  border-top: 1px solid #d8c2be;
}

.service-catalog__content {
  width: 214px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.service-catalog__card:nth-child(n + 4) .service-catalog__content {
  transform: translateY(-16px);
}

.service-catalog__card:hover {
  background: #fff8f6;
  box-shadow: inset 0 0 0 1px rgba(216, 194, 190, 0.35);
}

.service-catalog__card:focus-visible {
  outline: 2px solid #ae212c;
  outline-offset: -2px;
}

.service-catalog__name {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.15px;
  text-transform: uppercase;
  font-weight: 500;
}

.service-catalog__name--maintenance {
  width: 176px;
}

.service-catalog__name--lighting,
.service-catalog__name--switchboard {
  width: 116px;
}

.service-catalog__name--repairs {
  width: 150px;
}

.service-catalog__name--safety {
  width: 136px;
}

.service-catalog__name--faults {
  width: 154px;
}

.service-catalog__name--communication {
  width: 160px;
}

.service-catalog__name--data {
  width: 90px;
}

.service-catalog__name--engineering {
  width: 176px;
}

.service-catalog__name--automation {
  width: 150px;
}

.service-catalog__name--bms {
  width: 182px;
}

.service-catalog__name--solar {
  width: 114px;
}

.service-catalog__icon {
  width: 90px;
  height: 90px;
  display: block;
}

/* Service page: Why We're the Best in the Business (Figma node 53:347). */
.service-why {
  min-height: 791px;
  display: grid;
  grid-template-columns: 767px minmax(0, 1fr);
  background: #fff8f6;
}

.service-why__media img {
  display: block;
  width: 100%;
  height: 791px;
  object-fit: cover;
}

.service-why__content {
  padding: 100px 156px 100px 80px;
}

.service-why__title {
  margin: 0;
  width: 435px;
  max-width: 100%;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.service-why__title span {
  font-weight: 500;
}

.service-why__title-break {
  display: none;
}

.service-why__list {
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  width: 312px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.service-why__item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 40px;
}

.service-why__icon-frame {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-why__metric-icon {
  width: 40px;
  height: 18px;
  display: block;
}

.service-why__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.service-why__text {
  margin: 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.stats-section {
  /* KPI strip directly under hero */
  background: #fff8f6;
  min-height: 190px;
  display: flex;
  align-items: center;
}

.stats-section__inner {
  width: min(896px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: #534341;
}

.stat-item__value {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.stat-item__label {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.trusted-section {
  /* "Trusted Electricians..." desktop split layout */
  background: #ffffff;
  overflow: hidden;
}

.trusted-section__layout {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 170px;
  padding-right: 0;
}

.trusted-section__media {
  flex: 0 0 auto;
  /* Pull image to viewport edge so it doesn't follow section max-width */
  margin-left: min(0px, calc((100vw - 1128px) / -2));
}

.trusted-section__media img {
  display: block;
  width: auto;
  max-width: 50vw;
  max-height: 726px;
  height: auto;
  object-fit: cover;
}

.trusted-section__content {
  flex: 0 1 495px;
  max-width: 495px;
  margin-right: 0;
}

.trusted-section__accent {
  display: block;
  width: 100px;
  height: 4px;
  background: var(--color-primary);
  margin-bottom: 50px;
}

.trusted-section__title {
  margin: 0;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.trusted-section__title span {
  font-weight: 500;
}

.trusted-section__text {
  margin: 24px 0 30px;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.why-us-banner {
  /* Why Us top banner (desktop): full-bleed background image with centered message and CTA */
  position: relative;
  min-height: 382px;
  overflow: hidden;
}

.why-us-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-us-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.why-us-banner__inner {
  position: relative;
  z-index: 1;
  min-height: 382px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-us-banner__text {
  max-width: 590px;
  width: 100%;
  margin: 0 0 30px;
  color: #ffffff;
  text-align: center;
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
}

.why-us-banner__text strong {
  font-weight: 700;
}

.why-us-banner__cta {
  min-width: 214px;
}

.why-us-grid {
  /* Why Us second part (desktop): heading plus 3x2 feature card grid */
  background: #fff8f6;
  padding: 100px 0 0;
}

.why-us-grid__title {
  margin: 0 0 80px;
  text-align: center;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.why-us-grid__title span {
  font-weight: 500;
}

.why-us-grid__cards {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.why-us-card {
  min-height: 382px;
  padding: 86px 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid #d8c2be;
  border-top: 1px solid #d8c2be;
}

.why-us-card:nth-child(-n + 3) {
  border-top: 0;
}

.why-us-card:nth-child(3n) {
  border-right: 0;
}

.why-us-card__icon {
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.why-us-card__number {
  margin: 0 0 16px;
  color: #ae212c;
  font-size: 89px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.why-us-card__heading {
  margin: 0;
  color: #201a19;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.15px;
  text-transform: uppercase;
  font-weight: 500;
}

.why-us-card__heading--emergency {
  max-width: 196px;
}

.why-us-card__heading--fast {
  max-width: 184px;
}

.why-us-card__text {
  margin: 16px 0 0;
  color: #534341;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
}

.services-section {
  /* Services overview section (desktop): heading, 2 card rows, and animated connectors */
  background: #ffffff;
  padding: 100px 0;
}

.services-section__title {
  max-width: 498px;
  width: 100%;
  margin: 0 auto 80px;
  text-align: center;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.services-section__title span {
  font-weight: 500;
}

.services-section__rows {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.services-section__row {
  display: flex;
  align-items: center;
}

.service-card {
  max-width: 342px;
  width: 100%;
  min-height: 152px;
  border: 1px solid #ede0dd;
  background: #ffffff;
  padding: 29px 20px 30px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-card__icon-wrap {
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #f6d8d4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon {
  width: 24px;
  height: 24px;
}

.service-card__content {
  flex: 1;
  min-width: 0;
}

.service-card__title {
  margin: 0;
  color: #201a19;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.15px;
  text-transform: uppercase;
  font-weight: 500;
}

.service-card__desc {
  margin: 8px 0 0;
  color: #534341;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
}

.services-section__connector {
  /* Static flow line between service cards */
  width: 51px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    #ede0dd 0 7px,
    transparent 7px 13px
  );
  background-size: 26px 2px;
  animation: connector-flow-right 1000ms linear infinite;
}

.services-section__cta {
  width: 179px;
  display: flex;
  justify-content: center;
  margin: 50px auto 0;
}

@keyframes connector-flow-right {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 26px;
  }
}

.reviews-section {
  /* Testimonial slider section */
  background: #fff8f6;
  min-height: 595px;
  padding-top: 100px;
}

.reviews-section__layout {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 394px) 1fr;
  column-gap: 110px;
  align-items: start;
}

.reviews-section__headline {
  margin-top: 101px;
}

.reviews-section__accent {
  display: block;
  width: 100px;
  height: 4px;
  background: #ae212c;
  margin-bottom: 50px;
}

.reviews-section__title {
  margin: 0;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.reviews-section__title span {
  font-weight: 500;
}

.reviews-slider {
  position: relative;
  max-width: 624px;
  width: 100%;
}

.reviews-slider__rail {
  position: absolute;
  left: 0;
  top: 19px;
  width: 16.55px;
  height: 340px;
  z-index: 2;
}

.reviews-slider__rail span {
  position: absolute;
  left: 0;
  width: 100%;
  background: #201a19;
}

.reviews-slider__rail span:nth-child(1) {
  top: 0;
  height: 340px;
}

.reviews-slider__rail span:nth-child(2) {
  top: 0;
  height: 290.867px;
}

.reviews-slider__rail span:nth-child(3) {
  top: 80px;
  height: 210.823px;
}

.reviews-slider__viewport {
  position: relative;
  margin-left: 17px;
  margin-top: 19px;
  width: calc(100% - 17px);
  height: 340px;
  overflow: hidden;
  background: #ffffff;
}

.reviews-slider__quote-mark {
  position: absolute;
  right: 40px;
  top: 0;
  z-index: 3;
}

.reviews-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reviews-slide {
  flex: 0 0 100%;
  position: relative;
  padding: 48px 42px 37px 40px;
}

.reviews-slide__quote {
  margin: 0;
  max-width: 498px;
  max-height: 180px;
  overflow: hidden;
  color: #201a19;
  font-size: 28px;
  line-height: 36px;
  opacity: 0.87;
}

.reviews-slide__author {
  margin: 35px 0 0;
  color: #201a19;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.15px;
  font-weight: 500;
  opacity: 0.87;
}

.reviews-slider__dots {
  margin-top: 24px;
  margin-left: 285px;
  display: flex;
  gap: 8px;
}

.reviews-slider__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #ede0dd;
  cursor: pointer;
}

.reviews-slider__dot.is-active {
  background: #201a19;
}

.special-offer-section {
  /* Promo section with 100px spacing above and below */
  padding: 100px 0;
  background: #ffffff;
}

.special-offer-card {
  max-width: 1128px;
  width: 100%;
  min-height: 400px;
  margin: 0 auto;
  border-radius: 24px;
  background: #ae212c;
  padding: 60px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.special-offer-card__title {
  max-width: 522px;
  width: 100%;
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.special-offer-card__title strong {
  font-weight: 500;
}

.special-offer-card__title-line {
  display: block;
  font-weight: 400;
}

@media (min-width: 769px) {
  .special-offer-card__title-line {
    white-space: nowrap;
  }
}

.special-offer-card__text {
  max-width: 495px;
  width: 100%;
  margin: 30px 0 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.special-offer-card__cta {
  min-width: 204px;
  margin-top: 50px;
}

.contact-section {
  /* Contact section (desktop): left info column + right form card */
  background: #fff8f6;
  min-height: 878px;
}

.contact-section__layout {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 394px) minmax(0, 576px);
  column-gap: 158px;
  align-items: start;
  padding-top: 100px;
  padding-bottom: 100px;
}

.contact-section__content {
  margin-top: 138px;
}

.contact-section__accent {
  display: block;
  width: 100px;
  height: 4px;
  background: #ae212c;
  margin-bottom: 50px;
}

.contact-section__title {
  margin: 0;
  color: #201a19;
  font-size: 36px;
  line-height: 48px;
  text-transform: uppercase;
  font-weight: 400;
}

.contact-section__title span {
  font-weight: 500;
}

.contact-section__intro {
  margin: 24px 0 0;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.contact-section__items {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #534341;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.contact-item[href]:hover span,
.contact-item[href]:focus-visible span {
  text-decoration: underline;
}

.contact-item svg {
  flex: 0 0 20px;
}

.contact-page__form-card--home {
  width: 576px;
  max-width: 100%;
}

.contact-page__form-title--home {
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brands-section {
  /* Partner logos strip with 100px top/bottom spacing */
  background: #ffffff;
  padding: 100px 0;
}

.brands-section__row {
  max-width: 1128px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.brands-section__viewport {
  width: 100%;
}

.brands-section__logo {
  display: block;
  width: auto;
  height: auto;
}

.brands-section__logo--clone {
  display: none;
}

/* Match the slight top offsets from the desktop Figma frame */
.brands-section__logo--hager {
  margin-top: 7.93px;
}

.brands-section__logo--hpm {
  margin-top: 0;
}

.brands-section__logo--sch {
  margin-top: 5.46px;
}

.brands-section__logo--clipsal {
  margin-top: 15.5px;
}

.brands-section__logo--nhp {
  margin-top: 10.5px;
}

.site-footer {
  /* Final footer section */
  background: #18191b;
}

.site-footer__inner {
  max-width: 1128px;
  width: 100%;
  min-height: 407px;
  margin: 0 auto;
  padding: 100px 0;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.site-footer__col {
  flex: 1 1 0;
}

.site-footer__col--left {
  min-height: 207px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-footer__logo {
  display: inline-flex;
  width: 248px;
  height: 70px;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Align nav text with the visible start of the logo mark. */
  padding-left: 6px;
}

/* Desktop: logo graphic has extra left whitespace, so increase nav offset. */
@media (min-width: 1025px) {
  .site-footer__nav {
    padding-left: 16px;
  }
}

.site-footer__nav-row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  color: #d4d5d9;
}

.site-footer__nav-row a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.site-footer__nav-row span {
  opacity: 0.4;
}

.site-footer__col--middle {
  min-height: 207px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer__info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__label {
  margin: 0;
  color: #d4d5d9;
  opacity: 0.6;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.site-footer__value {
  margin: 0;
  color: #d4d5d9;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
}

.site-footer__value--phone {
  font-size: 22px;
  line-height: 28px;
}

.site-footer__col--right {
  min-height: 207px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.site-footer__to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #d4d5d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__legal {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d4d5d9;
  opacity: 0.6;
  font-size: 12px;
  line-height: 16px;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__legal span:nth-child(even) {
  text-transform: uppercase;
}

.site-footer__nav-row a:hover,
.site-footer__value[href]:hover,
.site-footer__legal a:hover {
  color: #ffffff;
}

.site-footer__to-top:hover {
  opacity: 0.8;
}

.site-footer__social:hover {
  opacity: 0.8;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}


/* ========================================================================
   RESPONSIVE BREAKPOINTS
   ======================================================================== */

/* Tablet Breakpoint (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-pad: 24px;
  }

  .site-header__actions {
    gap: 16px;
  }

  /* --- Header: hamburger + drawer --- */
  .site-header__inner {
    min-height: 70px;
    position: relative;
    flex-wrap: nowrap;
  }

  .site-logo img {
    width: 180px;
    height: auto;
  }

  .site-nav__toggle {
    display: flex;
  }

  /* Nav becomes a full-width dropdown drawer, hidden by default */
  .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 12px 0 4px;
    border-top: 1px solid #d8c2be;
    background: rgba(24, 25, 27, 0.95);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top center;
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 220ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 0s;
  }

  .site-nav__link {
    padding: 12px 0;
    font-size: 15px;
    justify-content: center;
  }

  /* Scrolled state: white drawer background */
  .site-header.is-scrolled .site-nav {
    background: #ffffff;
    border-top-color: #d8c2be;
  }

  .site-header--static .site-nav {
    background: #ffffff;
    border-top-color: #d8c2be;
  }

  /* Remove border-left from call in the actions bar */
  .site-nav__call {
    border-left: 0;
    padding-left: 0;
  }

  /* --- Hero --- */
  .hero,
  .hero__inner {
    min-height: 600px;
  }

  .service-hero,
  .service-hero__inner {
    min-height: 500px;
  }

  .hero__content {
    margin-top: 220px;
    max-width: 100%;
  }

  .service-hero__content {
    margin-top: 180px;
    max-width: 100%;
  }

  .hero__title {
    font-size: 36px;
    line-height: 46px;
  }

  .service-hero__title {
    font-size: 32px;
    line-height: 42px;
  }

  .service-hero__subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .service-hero--category,
  .service-hero--category .service-hero__inner {
    min-height: 340px;
  }

  .service-hero__content--category {
    margin-top: 150px;
  }

  .service-hero__title--category {
    font-size: 40px;
    line-height: 44px;
  }

  .about-hero,
  .about-hero__inner {
    min-height: 500px;
  }

  .about-hero__content {
    margin-top: 180px;
    max-width: 100%;
  }

  .about-hero__title {
    font-size: 32px;
    line-height: 42px;
  }

  .about-hero__subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .about-hero--contact,
  .about-hero--contact .about-hero__inner {
    min-height: 400px;
  }

  .milperra-services {
    padding: 80px 0;
  }

  .milperra-services__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 56px;
  }

  .milperra-services__media {
    width: min(499px, 100%);
  }

  .milperra-services__content {
    width: min(690px, 100%);
  }

  .milperra-services__title {
    font-size: 30px;
    line-height: 42px;
  }

  .milperra-level2 {
    min-height: auto;
  }

  .milperra-level2__inner {
    padding: 80px 0;
  }

  .milperra-level2__content {
    width: min(690px, 100%);
  }

  .milperra-level2__title {
    font-size: 30px;
    line-height: 42px;
  }

  .milperra-level2__media {
    position: relative;
    width: 100%;
    height: auto;
  }

  .milperra-level2__image {
    width: 100%;
    height: 420px;
  }

  .milperra-asp {
    min-height: auto;
  }

  .milperra-asp__media {
    position: relative;
    width: 100%;
    height: auto;
  }

  .milperra-asp__image {
    width: 100%;
    height: 420px;
  }

  .milperra-asp__inner {
    padding: 80px 0;
  }

  .milperra-asp__content {
    width: min(690px, 100%);
    margin-left: 0;
  }

  .milperra-asp__title {
    font-size: 30px;
    line-height: 42px;
  }

  .milperra-why {
    padding: 80px 0;
  }

  .milperra-why__title {
    font-size: 30px;
    line-height: 42px;
  }

  .milperra-why__grid {
    margin-top: 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about-commitment {
    padding: 80px 0;
  }

  .about-commitment__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 56px;
  }

  .about-commitment__media {
    width: min(499px, 100%);
  }

  .about-commitment__content {
    width: min(690px, 100%);
  }

  .about-commitment__title {
    font-size: 30px;
    line-height: 42px;
  }

  .about-difference {
    padding: 80px 0;
  }

  .about-difference__title {
    font-size: 30px;
    line-height: 42px;
  }

  .about-difference__grid {
    margin-top: 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about-areas {
    padding: 80px 0;
  }

  .about-areas__title {
    font-size: 30px;
    line-height: 42px;
  }

  .about-areas__panel {
    margin-top: 56px;
    padding: 42px 28px 0;
  }

  .about-areas__suburbs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .about-areas__suburb {
    white-space: normal;
  }

  .about-areas__emergency {
    margin-top: 36px;
  }

  .contact-page {
    padding: 90px 0;
  }

  .contact-page__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-page__info {
    width: min(576px, 100%);
    margin: 0 auto;
  }

  .contact-page__form-card {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .contact-map iframe {
    height: 440px;
  }

  .electrical-intro {
    min-height: auto;
    padding: 72px 0;
  }

  .electrical-intro__inner {
    max-width: 697px;
    padding-top: 0;
  }

  .electrical-intro__cta {
    margin-top: 32px;
  }

  .electrical-promises {
    min-height: auto;
    padding: 72px 0;
  }

  .electrical-promises__inner {
    padding-top: 0;
  }

  .electrical-promises__list {
    width: 690px;
    max-width: 100%;
    margin-top: 24px;
    gap: 16px 24px;
  }

  .electrical-promises__item {
    font-size: 15px;
  }

  .electrical-details {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .electrical-details__media img {
    height: 560px;
    min-height: 0;
  }

  .electrical-details__content {
    padding: 60px var(--container-pad);
  }

  .electrical-cta {
    min-height: auto;
    padding: 72px 0;
  }

  .electrical-cta__inner {
    padding-top: 0;
  }

  .electrical-cta__title {
    width: 663px;
    max-width: 100%;
    font-size: 22px;
    line-height: 32px;
  }

  .electrical-cta__button {
    margin-top: 36px;
  }

  /* Service page: keep services grid readable on tablet */
  .service-catalog {
    min-height: auto;
    padding: 72px 0;
  }

  .service-catalog__title {
    margin-bottom: 56px;
    font-size: 32px;
    line-height: 42px;
  }

  .service-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-catalog__card {
    height: 300px;
    border-right: none;
    border-top: none;
  }

  .service-catalog__card:nth-child(odd) {
    border-right: 1px solid #d8c2be;
  }

  .service-catalog__card:nth-child(n + 3) {
    border-top: 1px solid #d8c2be;
  }

  .service-catalog__card:nth-child(n + 4) .service-catalog__content {
    transform: none;
  }

  .service-why {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .service-why__media img {
    height: 520px;
  }

  .service-why__content {
    padding: 60px var(--container-pad);
  }

  .service-why__list {
    margin-top: 50px;
  }

  /* --- Stats: 2-column grid --- */
  .stats-section {
    padding: 36px 0;
    min-height: auto;
  }

  .stats-section__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  /* --- Trusted Section: stack vertically --- */
  .trusted-section {
    padding: 60px 0;
  }

  .trusted-section__layout {
    flex-direction: column;
    width: 100%;
    gap: 40px;
  }

  .trusted-section__media {
    margin-left: 0;
    width: 100%;
  }

  .trusted-section__media img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
  }

  .trusted-section__content {
    flex: none;
    width: auto;
    max-width: none;
    padding: 0 var(--container-pad);
  }

  .trusted-section__accent {
    margin-bottom: 24px;
  }

  .trusted-section__title {
    font-size: 30px;
    line-height: 40px;
  }

  /* --- Why Us Banner --- */
  .why-us-banner {
    min-height: 300px;
  }

  .why-us-banner__inner {
    min-height: 300px;
    padding: 40px var(--container-pad);
  }

  .why-us-banner__text {
    width: auto;
    font-size: 18px;
    line-height: 28px;
  }

  /* --- Why Us Grid: 2 columns --- */
  .why-us-grid {
    padding: 60px 0 0;
  }

  .why-us-grid__title {
    margin-bottom: 40px;
    font-size: 28px;
    line-height: 38px;
    padding: 0 var(--container-pad);
  }

  .why-us-grid__cards {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset desktop 3-col border rules for 2-col layout */
  .why-us-card:nth-child(3n) {
    border-right: 1px solid #d8c2be;
  }

  .why-us-card:nth-child(even) {
    border-right: 0;
  }

  .why-us-card:nth-child(-n + 3) {
    border-top: 1px solid #d8c2be;
  }

  .why-us-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .why-us-card {
    min-height: auto;
    padding: 50px 30px;
  }

  .why-us-card__number {
    font-size: 64px;
  }

  /* --- Services: stack cards vertically, hide connectors --- */
  .services-section {
    padding: 60px 0;
  }

  .services-section__title {
    width: auto;
    padding: 0 var(--container-pad);
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 40px;
  }

  .services-section__rows {
    padding: 0 var(--container-pad);
    gap: 0;
  }

  .services-section__row {
    flex-direction: column;
  }

  .services-section__connector {
    display: none;
  }

  .service-card {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .service-card__content {
    flex: 1;
  }

  /* --- Reviews: stack heading above slider --- */
  .reviews-section {
    min-height: auto;
    padding: 60px 0;
  }

  .reviews-section__layout {
    padding: 0 var(--container-pad);
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .reviews-section__headline {
    margin-top: 0;
  }

  .reviews-section__title {
    font-size: 28px;
    line-height: 38px;
  }

  .reviews-slider {
    width: 100%;
    max-width: none;
  }

  .reviews-slider__viewport {
    width: calc(100% - 17px);
    height: auto;
    min-height: 280px;
  }

  .reviews-slide__quote {
    font-size: 22px;
    line-height: 30px;
    max-width: 100%;
    max-height: none;
  }

  .reviews-slider__dots {
    margin-left: 17px;
  }

  /* --- Special Offer --- */
  .special-offer-section {
    padding: 60px 0;
  }

  .special-offer-card {
    margin: 0 var(--container-pad);
    min-height: auto;
    padding: 50px var(--container-pad);
    border-radius: 16px;
  }

  .special-offer-card__title {
    font-size: 28px;
    line-height: 38px;
  }

  /* --- Contact: stack info above form --- */
  .contact-section {
    min-height: auto;
  }

  .contact-section__layout {
    padding: 60px var(--container-pad);
    grid-template-columns: 1fr;
    row-gap: 50px;
  }

  .contact-section__content {
    margin-top: 0;
  }

  .contact-section__title {
    font-size: 28px;
    line-height: 38px;
  }

  .contact-page__form-card--home {
    width: 100%;
  }

  /* --- Brands --- */
  .brands-section {
    padding: 60px 0;
  }

  .brands-section__row {
    padding: 0 var(--container-pad);
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
  }

  .brands-section__logo {
    max-width: 120px;
    height: auto;
  }

  /* Reset per-logo desktop offsets */
  .brands-section__logo--hager,
  .brands-section__logo--hpm,
  .brands-section__logo--sch,
  .brands-section__logo--clipsal,
  .brands-section__logo--nhp {
    margin-top: 0;
  }

  /* --- Footer: stack into single column --- */
  .site-footer__inner {
    padding: 60px var(--container-pad);
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    gap: 40px;
  }

  .site-footer__col--left,
  .site-footer__col--middle {
    min-height: auto;
  }

  .site-footer__col--right {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .site-footer__value--phone {
    font-size: 18px;
    line-height: 24px;
  }

  /* Projects page: 2-column grid on tablet */
  .projects-showcase {
    padding: 72px 0;
  }

  .projects-showcase__heading {
    font-size: 30px;
    line-height: 42px;
    margin-bottom: 32px;
  }

  .projects-showcase__intro {
    width: 498px;
    max-width: 100%;
  }

  .projects-showcase__grid {
    margin-top: 64px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .projects-cta {
    padding: 72px 0;
  }

  .projects-cta__title {
    width: 720px;
    font-size: 22px;
    line-height: 32px;
  }

  .projects-cta__button {
    margin-top: 36px;
  }

  .project-stats {
    min-height: auto;
    padding: 36px 0;
  }

  .project-stats__list {
    gap: 40px;
  }

  .project-stats__name {
    font-size: 24px;
    line-height: 32px;
  }

  .project-stats__value {
    font-size: 15px;
  }

  .project-overview {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .project-overview__media img {
    min-height: 0;
    height: 420px;
  }

  .project-overview__content {
    width: 100%;
    max-width: 543px;
    padding: 60px var(--container-pad);
  }

  .project-overview__title {
    font-size: 30px;
    line-height: 42px;
  }

  .project-goals {
    padding: 72px 0;
  }

  .project-goals__title {
    font-size: 30px;
    line-height: 42px;
  }

  .project-goals__inner {
    width: 100%;
    max-width: 522px;
  }

  .project-completed {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .project-completed__media img {
    min-height: 0;
    height: 420px;
  }

  .project-completed__content {
    width: 100%;
    max-width: 543px;
    padding: 60px var(--container-pad);
  }

  .project-completed__title {
    font-size: 30px;
    line-height: 42px;
  }

  .project-outcome {
    padding: 72px 0;
  }

  .project-outcome__carousel {
    width: 100%;
  }

  .project-outcome__viewport {
    width: calc(((100% - 48px - 14px) / 2 * 2) + 14px);
  }

  .project-outcome__slide {
    flex-basis: calc((100% - 14px) / 2);
    width: calc((100% - 14px) / 2);
  }

  .project-outcome__dots {
    margin-top: 40px;
  }

  .project-outcome__title {
    margin-top: 56px;
    font-size: 30px;
    line-height: 42px;
  }

  .project-gallery__dialog {
    width: min(860px, 100%);
  }
}

/* Mobile Breakpoint (768px and below) */
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Keep phone number visible on mobile per navbar spec. */
  .site-nav__call-text {
    display: inline;
  }

  /* Keep only logo + call + hamburger in the top bar. */
  .site-nav__quote-btn {
    display: none;
  }

  /* Mobile drawer includes the CTA with full-width tap target. */
  .site-nav .site-nav__drawer-quote {
    display: inline-flex;
    width: min(343px, 100%);
    max-width: 343px;
    margin: 12px auto 0;
    justify-content: center;
  }

  /* Let the open menu span full device width with safe horizontal padding. */
  .site-nav {
    left: calc(var(--container-pad) * -1);
    right: calc(var(--container-pad) * -1);
    width: auto;
    padding: 12px var(--container-pad) 20px;
  }

  .site-logo img {
    width: 150px;
  }

  /* Keep header items on one line on narrow screens. */
  .site-header__inner {
    gap: 8px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-nav__call-text {
    font-size: 14px;
    line-height: 20px;
  }

  /* Mobile CTA widths */
  .trusted-section__cta,
  .why-us-banner__cta,
  .services-section__cta {
    width: 343px;
    max-width: 100%;
  }

  /* Hero */
  .hero,
  .hero__inner {
    min-height: 520px;
  }

  .service-hero,
  .service-hero__inner {
    min-height: 460px;
  }

  .hero__content {
    margin-top: 180px;
  }

  .service-hero__content {
    margin-top: 150px;
    max-width: 343px;
  }

  .hero__title {
    max-width: 300px;
    font-size: 28px;
    line-height: 38px;
  }

  .service-hero__title {
    font-size: 28px;
    line-height: 38px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .service-hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__accent {
    width: 140px;
  }

  .service-hero__accent {
    width: 140px;
  }

  .service-hero--category,
  .service-hero--category .service-hero__inner {
    min-height: 280px;
  }

  .service-hero__content--category {
    margin-top: 120px;
  }

  .service-hero__title--category {
    font-size: 34px;
    line-height: 38px;
  }

  .about-hero,
  .about-hero__inner {
    min-height: 460px;
  }

  .about-hero__content {
    margin-top: 150px;
    max-width: 343px;
  }

  .about-hero__title {
    font-size: 28px;
    line-height: 38px;
  }

  .about-hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .about-hero__accent {
    width: 140px;
  }

  .about-hero--contact,
  .about-hero--contact .about-hero__inner {
    min-height: 360px;
  }

  .milperra-services {
    padding: 48px 0;
  }

  .milperra-services__inner {
    gap: 44px;
  }

  .milperra-services__media {
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .milperra-services__image {
    position: relative;
    inset: 0;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    display: block;
  }

  .milperra-services__title {
    font-size: 28px;
    line-height: 38px;
  }

  .milperra-services__text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-services__list {
    margin-top: 32px;
    gap: 14px;
  }

  .milperra-services__item {
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-level2__inner {
    padding: 48px 0;
  }

  .milperra-level2__title {
    font-size: 28px;
    line-height: 38px;
  }

  .milperra-level2__intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-level2__list {
    margin-top: 18px;
    gap: 16px;
  }

  .milperra-level2__item {
    gap: 14px;
    align-items: start;
  }

  .milperra-level2__item-text {
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-level2__image {
    height: 280px;
  }

  .milperra-level2__media {
    display: none;
  }

  .milperra-asp__image {
    height: 280px;
  }

  .milperra-asp__media {
    display: none;
  }

  .milperra-asp__inner {
    padding: 48px 0;
  }

  .milperra-asp__title {
    font-size: 28px;
    line-height: 38px;
  }

  .milperra-asp__intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-asp__list {
    margin-top: 18px;
    gap: 16px;
  }

  .milperra-asp__item {
    gap: 14px;
    align-items: start;
  }

  .milperra-asp__item-text {
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-why {
    padding: 48px 0;
  }

  .milperra-why__headline {
    max-width: 343px;
  }

  .milperra-why__title {
    font-size: 28px;
    line-height: 38px;
  }

  .milperra-why__intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .milperra-why__grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .milperra-why__card {
    min-height: 0;
    padding: 24px 20px;
  }

  .milperra-why__card-title {
    margin-top: 20px;
    font-size: 20px;
    line-height: 28px;
  }

  .milperra-why__card-text {
    margin-top: 10px;
    line-height: 24px;
  }

  .about-commitment {
    padding: 48px 0;
  }

  .about-commitment__inner {
    gap: 44px;
  }

  .about-commitment__media {
    width: 100%;
    min-height: auto;
    padding: 14px 0 0;
  }

  .about-commitment__media-backplate {
    width: 100%;
    height: auto;
    aspect-ratio: 476 / 494;
  }

  .about-commitment__image {
    position: relative;
    inset: 0;
    width: calc(100% - 26px);
    max-width: none;
    height: auto;
    aspect-ratio: 450 / 469;
    margin: 14px 0 0 13px;
    display: block;
  }

  .about-commitment__badge {
    right: 0;
    bottom: -22px;
    padding: 22px 20px;
    border-radius: 14px;
  }

  .about-commitment__badge-number {
    font-size: 36px;
    line-height: 38px;
  }

  .about-commitment__badge-label {
    font-size: 12px;
    line-height: 16px;
  }

  .about-commitment__title {
    font-size: 28px;
    line-height: 38px;
  }

  .about-commitment__text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .about-commitment__list {
    margin-top: 32px;
    gap: 14px;
  }

  .about-commitment__item {
    font-size: 16px;
    line-height: 24px;
  }

  .about-difference {
    padding: 48px 0;
  }

  .about-difference__headline {
    max-width: 343px;
  }

  .about-difference__title {
    font-size: 28px;
    line-height: 38px;
  }

  .about-difference__intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .about-difference__grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-difference__card {
    min-height: 0;
    padding: 24px 20px;
  }

  .about-difference__card-title {
    margin-top: 20px;
    font-size: 20px;
    line-height: 28px;
  }

  .about-difference__card-text {
    margin-top: 10px;
    line-height: 24px;
  }

  .about-areas {
    padding: 48px 0;
  }

  .about-areas__headline {
    max-width: 343px;
  }

  .about-areas__title {
    font-size: 28px;
    line-height: 38px;
  }

  .about-areas__intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .about-areas__panel {
    margin-top: 40px;
    padding: 32px 16px 0;
    border-radius: 12px;
  }

  .about-areas__suburbs {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .about-areas__suburb {
    font-size: 15px;
    line-height: 22px;
  }

  .about-areas__footer {
    margin-top: 28px;
    padding: 24px 0 18px;
  }

  .about-areas__availability {
    margin-top: 8px;
    font-size: 17px;
    line-height: 26px;
    text-align: center;
  }

  .about-areas__emergency {
    margin-top: 24px;
    min-height: 72px;
    padding: 16px;
    font-size: 18px;
    line-height: 24px;
  }

  .contact-page {
    padding: 48px 0;
  }

  .contact-page__inner {
    gap: 32px;
  }

  .contact-page__info {
    width: 100%;
  }

  .contact-page__info-title {
    font-size: 28px;
    line-height: 34px;
  }

  .contact-page__info-list {
    margin-top: 24px;
    gap: 20px;
  }

  .contact-page__item {
    gap: 12px;
  }

  .contact-page__item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-basis: 44px;
  }

  .contact-page__item-title {
    font-size: 17px;
    line-height: 24px;
  }

  .contact-page__item-text,
  .contact-page__item-link {
    font-size: 15px;
    line-height: 22px;
  }

  .contact-page__form-card {
    width: 100%;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .contact-page__form-title {
    font-size: 28px;
    line-height: 32px;
  }

  .contact-page__field-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-page__form {
    gap: 16px;
    margin-top: 20px;
  }

  .contact-map iframe {
    height: 320px;
  }

  .thank-you-page {
    min-height: 560px;
    padding: 96px 0 88px;
  }

  .thank-you-page__text {
    font-size: 16px;
    line-height: 24px;
  }

  .thank-you-page__button {
    width: 343px;
    max-width: 100%;
  }

  .legal-page {
    padding: 72px 0 80px;
  }

  .legal-page__content {
    margin-top: 40px;
    padding: 28px 20px;
    border-radius: 16px;
  }

  .legal-page__section + .legal-page__section {
    margin-top: 32px;
  }

  .legal-page__heading {
    font-size: 22px;
    line-height: 30px;
  }

  .legal-page__text,
  .legal-page__list {
    font-size: 15px;
    line-height: 24px;
  }

  .electrical-intro {
    padding: 48px 0;
  }

  .electrical-intro__inner {
    max-width: 100%;
    padding-inline: var(--container-pad);
  }

  .electrical-intro__text {
    font-size: 14px;
    line-height: 22px;
  }

  .electrical-intro__text + .electrical-intro__text {
    margin-top: 18px;
  }

  .electrical-intro__cta {
    margin-top: 28px;
  }

  .electrical-promises {
    padding: 48px 0;
  }

  .electrical-promises__inner {
    padding-inline: var(--container-pad);
  }

  .electrical-promises__title {
    font-size: 20px;
    line-height: 26px;
  }

  .electrical-promises__list {
    width: 100%;
    margin-top: 20px;
    gap: 14px;
  }

  .electrical-promises__item {
    width: 100%;
    white-space: normal;
    font-size: 14px;
    line-height: 22px;
  }

  .electrical-details__media img {
    height: 280px;
    min-height: 0;
  }

  .electrical-details__content {
    padding: 40px var(--container-pad);
    min-width: 0;
  }

  .electrical-details__title {
    width: 100%;
    max-width: 100%;
    font-size: 28px;
    line-height: 38px;
  }

  .electrical-details__text {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 14px;
    line-height: 22px;
  }

  .electrical-details__list {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
  }

  .electrical-details__item {
    min-height: 34px;
    gap: 14px;
    font-size: 16px;
    line-height: 24px;
  }

  .electrical-cta {
    padding: 48px 0;
  }

  .electrical-cta__inner {
    padding-inline: var(--container-pad);
  }

  .electrical-cta__title {
    font-size: 22px;
    line-height: 30px;
  }

  .electrical-cta__button {
    margin-top: 28px;
    width: 343px;
    max-width: 100%;
  }

  /* Service page: single-column services grid on mobile */
  .service-catalog {
    padding: 48px 0;
  }

  .service-catalog__title {
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 38px;
  }

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

  .service-catalog__card {
    height: 230px;
    border-right: none;
    border-top: none;
  }

  .service-catalog__card:nth-child(3n + 1),
  .service-catalog__card:nth-child(3n + 2) {
    border-right: none;
  }

  .service-catalog__card:nth-child(odd),
  .service-catalog__card:nth-child(n + 3) {
    border-right: none;
  }

  .service-catalog__card:nth-child(n + 2) {
    border-top: 1px solid #d8c2be;
  }

  .service-catalog__content {
    width: min(214px, 100%);
  }

  .service-catalog__card:nth-child(n + 4) .service-catalog__content {
    transform: none;
  }

  .service-why__media img {
    height: 360px;
  }

  .service-why__content {
    padding: 40px var(--container-pad);
  }

  .service-why__title {
    font-size: 28px;
    line-height: 38px;
  }

  .service-why__title-break {
    display: block;
  }

  .service-why__list {
    margin-top: 36px;
    gap: 24px;
  }

  /* Stats */
  .stat-item__value {
    font-size: 24px;
    line-height: 30px;
  }

  .stat-item__label {
    font-size: 12px;
    line-height: 16px;
  }

  /* Trusted */
  .trusted-section {
    padding: 40px 0;
  }

  .trusted-section__media {
    display: flex;
    justify-content: center;
  }

  .trusted-section__media img {
    width: 100%;
    max-width: 343px;
    height: auto;
  }

  .trusted-section__content {
    width: 100%;
    max-width: 343px;
    margin: 0 auto;
    padding: 0;
  }

  .trusted-section__title {
    font-size: 24px;
    line-height: 34px;
    max-width: 343px;
  }

  .trusted-section__text {
    max-width: 343px;
  }

  /* Why Us Banner */
  .why-us-banner {
    min-height: 260px;
  }

  .why-us-banner__inner {
    min-height: 260px;
  }

  .why-us-banner__text {
    font-size: 16px;
    line-height: 24px;
  }

  /* Why Us Grid: single column */
  .why-us-grid__title {
    font-size: 24px;
    line-height: 34px;
  }

  .why-us-grid__cards {
    width: calc(100% - (var(--container-pad) * 2));
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  /* Reset tablet 2-col borders to single-col */
  .why-us-card,
  .why-us-card:nth-child(3n),
  .why-us-card:nth-child(even),
  .why-us-card:nth-child(-n + 3),
  .why-us-card:nth-child(-n + 2) {
    border-right: 0;
    border-top: 1px solid #d8c2be;
  }

  .why-us-card:first-child {
    border-top: 0;
  }

  .why-us-card {
    padding: 40px 24px;
  }

  /* Services */
  .services-section__title {
    font-size: 24px;
    line-height: 34px;
  }

  /* Reviews: hide decorative rail on mobile */
  .reviews-slider__rail {
    display: none;
  }

  .reviews-slider__viewport {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }

  .reviews-slide {
    padding: 30px 20px;
  }

  .reviews-slide__quote {
    font-size: 18px;
    line-height: 26px;
  }

  .reviews-slider__dots {
    margin-left: 0;
    justify-content: center;
  }

  .reviews-slider__quote-mark {
    right: 16px;
    width: 30px;
    height: auto;
  }

  .reviews-section__title {
    font-size: 24px;
    line-height: 34px;
    max-width: 300px;
  }

  /* Prevent grid children from forcing horizontal overflow. */
  .reviews-section__layout > * {
    min-width: 0;
  }

  /* Special Offer */
  .special-offer-card {
    width: calc(100% - (var(--container-pad) * 2));
    max-width: 100%;
    margin: 0 auto;
  }

  .special-offer-card__title {
    font-size: 22px;
    line-height: 32px;
  }

  .special-offer-card__text {
    font-size: 14px;
    line-height: 22px;
  }

  .special-offer-card__cta {
    width: 343px;
    max-width: 100%;
  }

  /* Contact */
  .contact-section__title {
    max-width: 300px;
    font-size: 24px;
    line-height: 34px;
  }

  .contact-page__form-card--home {
    padding: 30px 20px;
  }

  .contact-page__form-title--home {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
  }

  /* Footer */
  .site-footer__inner {
    position: relative;
  }

  /* Add breathing room between logo and footer links. */
  .site-footer__col--left {
    gap: 24px;
    justify-content: flex-start;
    padding-right: 56px;
  }

  /* Position the to-top control to the right of the logo row. */
  .site-footer__to-top {
    position: absolute;
    top: 60px;
    right: var(--container-pad);
  }

  .site-footer__logo {
    width: 200px;
    height: auto;
  }

  .site-footer__col--right {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-footer__socials {
    justify-content: flex-start;
  }

  /* Mobile legal row: center and put copyright last. */
  .site-footer__legal {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    text-align: center;
  }

  .site-footer__legal-link--privacy {
    order: 1;
  }

  .site-footer__legal-separator--first {
    order: 2;
  }

  .site-footer__legal-link--terms {
    order: 3;
  }

  .site-footer__legal-separator--second {
    display: none;
  }

  .site-footer__legal-copyright {
    order: 4;
    flex: 0 0 100%;
    margin-top: 2px;
  }

  /* Mobile-only marquee: keep brand logos in one row and loop right. */
  .brands-section__viewport {
    overflow: hidden;
  }

  .brands-section__row {
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    animation: brands-marquee-right 18s linear infinite;
  }

  .brands-section__logo--clone {
    display: block;
  }

  .brands-section__logo {
    flex: 0 0 auto;
  }

  /* Projects page: 1-column grid on mobile with card gaps */
  .projects-showcase {
    padding: 48px 0;
  }

  .projects-showcase__heading {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 24px;
  }

  .projects-showcase__intro {
    width: 343px;
    max-width: 100%;
  }

  .projects-showcase__grid {
    margin-top: 32px;
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .projects-showcase__card {
    min-height: auto;
  }

  .projects-showcase__card img {
    height: 220px;
  }

  .projects-showcase__title {
    padding: 18px 18px 22px;
  }

  .projects-showcase__cta {
    margin-top: 28px;
    width: 343px;
    max-width: 100%;
  }

  .projects-cta {
    padding: 48px 0;
  }

  .projects-cta__title {
    width: 343px;
    font-size: 22px;
    line-height: 30px;
  }

  .projects-cta__button {
    margin-top: 28px;
    width: 343px;
    max-width: 100%;
  }

  .project-stats {
    padding: 32px 0;
  }

  .project-stats__list {
    flex-direction: column;
    gap: 24px;
  }

  .project-stats__name {
    font-size: 24px;
    line-height: 30px;
  }

  .project-stats__value {
    margin-top: 10px;
    white-space: normal;
  }

  .project-overview__media img {
    height: 280px;
  }

  .project-overview__content {
    padding: 40px var(--container-pad);
  }

  .project-overview__title {
    font-size: 28px;
    line-height: 38px;
  }

  .project-goals {
    padding: 48px 0;
  }

  .project-goals__inner {
    width: 100%;
    max-width: 343px;
  }

  .project-goals__title {
    font-size: 28px;
    line-height: 38px;
  }

  .project-goals__list {
    margin-top: 24px;
    gap: 14px;
  }

  .project-goals__item {
    font-size: 14px;
    line-height: 22px;
    padding-left: 18px;
  }

  .project-goals__item::before {
    line-height: 22px;
  }

  .project-completed__media img {
    height: 280px;
  }

  .project-completed__content {
    padding: 40px var(--container-pad);
  }

  .project-completed__title {
    font-size: 28px;
    line-height: 38px;
  }

  .project-completed__list {
    margin-top: 20px;
    gap: 16px;
  }

  .project-completed__item {
    padding-left: 36px;
  }

  .project-completed__item p {
    font-size: 14px;
    line-height: 22px;
  }

  .project-completed__item::before {
    top: 10px;
  }

  .project-outcome {
    padding: 48px 0;
  }

  .project-outcome__carousel {
    gap: 8px;
  }

  .project-outcome__arrow {
    width: 40px;
    height: 40px;
  }

  .project-outcome__viewport {
    width: calc(100% - 96px);
  }

  .project-outcome__slide {
    flex-basis: 100%;
    width: 100%;
    height: 220px;
  }

  .project-outcome__dots {
    margin-top: 24px;
    gap: 8px;
  }

  .project-outcome__title {
    margin-top: 36px;
    font-size: 28px;
    line-height: 38px;
  }

  .project-outcome__list {
    width: 100%;
    max-width: 343px;
    margin-top: 20px;
  }

  .project-outcome__item {
    padding: 8px 0 8px 36px;
  }

  .project-outcome__item::before {
    top: 18px;
  }

  .project-outcome__item p {
    font-size: 16px;
    line-height: 24px;
  }

  .project-gallery__dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    margin: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .project-gallery__title {
    font-size: 22px;
    line-height: 30px;
    padding-inline: 30px;
  }

  .project-gallery__frame {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-gallery__arrow {
    display: none;
  }

  .project-gallery__counter {
    margin-top: 10px;
  }
}

@keyframes brands-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* --- Reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
