.painting-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.service-box {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.service-box h2 {
  margin-top: 0;
}

.service-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: #ffffff;
  background: #123866;
  text-decoration: none;
  border-radius: 4px;
}

.service-button:hover {
  color: #ffffff;
  background: #0a2748;
}

/* Stack the sections on phones */
@media (max-width: 700px) {
  .painting-services {
    grid-template-columns: 1fr;
  }
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.home-button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #123866;
  border-radius: 4px;
}

.primary-button {
  color: #ffffff;
  background: #123866;
}

.primary-button:hover {
  color: #ffffff;
  background: #0a2748;
  border-color: #0a2748;
}

.secondary-button {
  color: #123866;
  background: #ffffff;
}

.secondary-button:hover {
  color: #ffffff;
  background: #123866;
}

/* Stack both buttons on narrow phones */
@media (max-width: 480px) {
  .home-buttons {
    flex-direction: column;
  }

  .home-button {
    width: 100%;
    text-align: center;
  }
}

.service-box-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.service-before-after {
  display: block;
  width: 55%;
  max-width: 360px;
  height: auto;
  border-radius: 4px;
}

/* Stack the button and image on phones */
@media (max-width: 700px) {
  .service-box-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .service-before-after {
    width: 100%;
    max-width: none;
  }

  .service-box-bottom .service-button {
    align-self: flex-start;
  }
}

.preparation-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  margin: 2.5rem 0;
}

.preparation-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.preparation-text h5 {
  margin-top: 0;
}

.preparation-text ul {
  padding-left: 1.25rem;
}

/* Stack the text and image on phones */
@media (max-width: 700px) {
  .preparation-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.why-choose-list {
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.why-choose-list li {
  margin-bottom: 0.4rem;
}

.reviews-widget {
  width: 100%;
  overflow: hidden;
}

.reviews-widget iframe {
  display: block;
  width: 100%;
  border: 0;
}

.local-painting-section {
  margin: 2.5rem 0;
}

.service-areas-footer {
  width: 100%;
  padding: 2rem 0;
}

.service-areas-footer > h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-area-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-area h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.service-area p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Stack the three areas on phones */
@media (max-width: 700px) {
  .service-area-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-areas-footer > h2 {
    text-align: left;
  }
}

.footer-scripture {
  max-width: 850px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-scripture blockquote {
  margin: 0;
  padding: 1.25rem 2rem;
  border-left: 4px solid currentColor;
  font-style: italic;
}

.footer-scripture p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.footer-scripture cite {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 700px) {
  .footer-scripture blockquote {
    padding: 1rem 1.25rem;
  }
}

.footer-scripture h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-page {
  max-width: 950px;
  margin: 0 auto 3rem;
}

.contact-introduction {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-introduction h1 {
  margin-top: 0;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-option {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  color: #171717;
  background: #f5f5f5;
  border-left: 4px solid #1d7989;
  border-radius: 4px;
  text-decoration: none;
}

.contact-option span {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.contact-option strong {
  overflow-wrap: anywhere;
  font-size: 1.1rem;
}

.contact-option:hover {
  color: #ffffff;
  background: #1d7989;
}

.contact-form-section {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.contact-form-section h2 {
  margin-top: 0;
}

.quote-form-module {
  margin-top: 1.5rem;
}

@media (max-width: 700px) {
  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-form-section {
    padding: 1.25rem;
  }
}

/* Interior page */

.interior-page {
  margin-bottom: 3rem;
}

.interior-introduction {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.interior-introduction h1 {
  margin-top: 0;
}

.interior-lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.interior-section {
  margin: 3rem 0;
}

/* Interior services */

.interior-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.interior-service-item {
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.interior-service-item h3 {
  margin-top: 0;
}

.interior-service-item p {
  margin-bottom: 0;
}

/* Main before-and-after image */

.interior-before-after {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
}

.interior-before-after img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.interior-before-after figcaption {
  margin-top: 0.65rem;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
}

/* Preparation section */

.interior-preparation {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: #f5f5f5;
  border-left: 4px solid #1d7989;
  border-radius: 6px;
}

.interior-preparation-text {
  min-width: 0;
}

.interior-preparation h2 {
  margin-top: 0;
}

.interior-preparation li {
  margin-bottom: 0.4rem;
}

.interior-preparation-image {
  margin: 0;
}

.interior-preparation-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.interior-preparation-image figcaption {
  margin-top: 0.65rem;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
}

/* Final quote section */

.interior-final-action {
  margin-top: 2rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.interior-final-action h2 {
  margin-top: 0;
}

/* Tablet and phone layout */

@media (max-width: 800px) {
  .interior-services-grid,
  .interior-preparation {
    grid-template-columns: 1fr;
  }

  .interior-preparation,
  .interior-final-action {
    padding: 1.25rem;
  }
}

/* Exterior page */

.exterior-page {
  margin-bottom: 3rem;
}

.exterior-introduction {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.exterior-introduction h1 {
  margin-top: 0;
}

.exterior-lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.exterior-section {
  margin: 3rem 0;
}

/* Exterior services */

.exterior-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.exterior-service-item {
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.exterior-service-item h3 {
  margin-top: 0;
}

.exterior-service-item p {
  margin-bottom: 0;
}

/* Exterior preparation */

.exterior-preparation {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: #f5f5f5;
  border-left: 4px solid #1d7989;
  border-radius: 6px;
}

.exterior-preparation-text {
  min-width: 0;
}

.exterior-preparation h2 {
  margin-top: 0;
}

.exterior-preparation li {
  margin-bottom: 0.4rem;
}

.exterior-preparation-image {
  margin: 0;
}

.exterior-preparation-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.exterior-preparation-image figcaption {
  margin-top: 0.65rem;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
}

/* Final quote section */

.exterior-final-action {
  margin-top: 2rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.exterior-final-action h2 {
  margin-top: 0;
}

/* Phone layout */

@media (max-width: 800px) {
  .exterior-services-grid,
  .exterior-preparation {
    grid-template-columns: 1fr;
  }

  .exterior-preparation,
  .exterior-final-action {
    padding: 1.25rem;
  }
}

/* Main exterior before-and-after image */

.exterior-before-after {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
}

.exterior-before-after img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.exterior-before-after figcaption {
  margin-top: 0.65rem;
  color: #555555;
  font-size: 0.9rem;
  text-align: center;
}

/* About page */

.about-page {
  margin-bottom: 3rem;
}

.about-introduction {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.about-introduction h1 {
  margin-top: 0;
}

.about-lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.about-story,
.about-section {
  margin: 3rem 0;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.about-fact {
  padding: 1.5rem;
  background: #f5f5f5;
  border-top: 4px solid #1d7989;
  border-radius: 6px;
  text-align: center;
}

.about-fact strong,
.about-fact span {
  display: block;
}

.about-fact strong {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-service {
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.about-service h3 {
  margin-top: 0;
}

.about-service p {
  margin-bottom: 0;
}

.about-abn {
  margin-top: 1.5rem;
}

.about-approach {
  margin: 3rem 0;
  padding: 2rem;
  background: #f5f5f5;
  border-left: 4px solid #1d7989;
  border-radius: 6px;
}

.about-approach h2 {
  margin-top: 0;
}

.about-benefits {
  padding-left: 1.25rem;
}

.about-benefits li {
  margin-bottom: 0.5rem;
}

.about-reviews,
.about-contact {
  margin: 3rem 0;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.about-reviews h2,
.about-contact h2 {
  margin-top: 0;
}

.about-contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.about-contact-option {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  color: #171717;
  background: #ffffff;
  border-left: 4px solid #1d7989;
  border-radius: 4px;
  text-decoration: none;
}

.about-contact-option span {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.about-contact-option strong {
  overflow-wrap: anywhere;
}

.about-contact-option:hover {
  color: #ffffff;
  background: #1d7989;
}

@media (max-width: 800px) {
  .about-facts,
  .about-services-grid,
  .about-contact-options {
    grid-template-columns: 1fr;
  }

  .about-approach,
  .about-reviews,
  .about-contact {
    padding: 1.25rem;
  }
}

/* Header phone and email module */

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.header-contact-item {
  display: flex;
  flex-direction: column;
  color: inherit;
  line-height: 1.3;
  text-decoration: none;
}

.header-contact-item span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.header-contact-item strong {
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-contact-item:hover {
  color: #1d7989;
}

/* Stack neatly on smaller screens */
@media (max-width: 800px) {
  .header-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

/* Reviews on contact page */

.contact-reviews {
  margin-top: 3rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 6px;
}

.contact-reviews h2 {
  margin-top: 0;
}

.contact-reviews-widget {
  width: 100%;
  margin-top: 1.5rem;
  overflow: hidden;
}

@media (max-width: 700px) {
  .contact-reviews {
    padding: 1.25rem;
  }
}

/* Main menu typography */

.container-header .mod-menu > li > a {
  padding: 0.65rem 0.75rem;
  color: #171717;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 4px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
  color: #0e3b43;
  background: rgba(29, 121, 137, 0.12);
}

/* Current page */

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: #0e3b43;
  background: rgba(29, 121, 137, 0.16);
}

/* Mobile menu */

@media (max-width: 767px) {
  .container-header .mod-menu > li > a {
    padding: 0.75rem;
    font-size: 1rem;
  }
}

/* Footer socials */

.footer-social {
  margin: 1.5rem 0;
}

.footer-social h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-social-links a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.footer-social-links a:hover,
.footer-social-links a:focus {
  text-decoration: underline;
}

/* Stack footer modules vertically */

.footer .grid-child {
  flex-direction: column;
  align-items: stretch;
}

.footer .grid-child > * {
  width: 100%;
}

/* Centre the social section */

.footer-social {
  width: 100%;
  margin: 1.5rem 0;
  text-align: center;
}

.footer-social-links {
  justify-content: center;
}