/*
Theme Name: CC Fencing
Author: Code & Bloom
Version: 1.0
*/

/* ==================================================
   01. Variables
================================================== */

:root {
  --cc-orange: #F15A29;
  --cc-offwhite: #F4F0EB;
  --cc-brown: #5A4734;
  --cc-dark-green: #0F3D2E;
  --cc-mid-green: #2D5E34;
  --cc-light-green: #87A924;
  --cc-white: #ffffff;
  --cc-text: #5A4734;
  --cc-header-height: 100px;
}

/* ==================================================
   02. Base
================================================== */

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  background: var(--cc-offwhite);
  color: var(--cc-text);
}

body.menu-is-open,
body.modal-is-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Karma", serif;
  font-weight: 400;
  line-height: 1.08;
  color: var(--cc-brown);
}

p {
  color: var(--cc-text);
}

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 120px;
}

/* ==================================================
   03. Layout Helpers
================================================== */

.cc-container {
  width: min(1680px, calc(100% - 80px));
  margin: 0 auto;
}

/* ==================================================
   04. Buttons
================================================== */

/* Primary site CTA button. Keep this as the default style across pages. */

.cc-button {
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  background: var(--cc-orange);
  color: var(--cc-white);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cc-button:hover {
  background: var(--cc-brown);
}

/* Header/menu buttons are kept separate from .cc-button. */

.menu-toggle,
.menu-close {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--cc-orange);
  color: var(--cc-white);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover,
.menu-close:hover {
  background: var(--cc-brown);
}

/* ==================================================
   05. Header
================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

#site-header > .cc-container {
  width: auto;
  max-width: none;
  margin-left: 5%;
  margin-right: 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
}

.site-logo img {
  width: clamp(145px, 11vw, 190px);
  height: auto;
}

.site-logo--white {
  display: none;
}

.site-logo--orange {
  display: block;
}

.site-header__phone {
  margin: 0 0 0 56px;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--cc-brown);
}

.site-header__phone span,
.site-header__phone a {
  display: block;
}

.site-header__phone a {
  color: var(--cc-orange);
  text-decoration: none;
  font-weight: 700;
}

@media (min-width: 768px) {
  .home .site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
  }

  .home .site-header:not(.is-scrolled) .site-logo--white {
    display: block;
  }

  .home .site-header:not(.is-scrolled) .site-logo--orange {
    display: none;
  }

  .home .site-header:not(.is-scrolled) .site-header__phone {
    display: none;
    color: var(--cc-white);
  }

  .home .site-header:not(.is-scrolled) .site-header__phone a {
    color: var(--cc-white);
  }
}

/* Header menu buttons */

.menu-toggle,
.menu-close {
  min-width: 135px;
  min-height: 36px;
  white-space: nowrap;
}

.menu-toggle {
  justify-self: end;
}

.menu-toggle > span:last-child,
.menu-close > span:last-child {
  display: inline-block;
  min-width: 42px;
  text-align: left;
}

.menu-toggle__icon {
  width: 24px;
  min-width: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  background: var(--cc-white);
  border-radius: 999px;
  transform-origin: left center;
  transition: width 0.25s ease;
}

.menu-toggle__icon span:nth-child(1) {
  width: 24px;
}

.menu-toggle__icon span:nth-child(2) {
  width: 17px;
}

.menu-toggle__icon span:nth-child(3) {
  width: 10px;
}

.menu-toggle:hover .menu-toggle__icon span:nth-child(1) {
  width: 10px;
}

.menu-toggle:hover .menu-toggle__icon span:nth-child(2) {
  width: 24px;
}

.menu-toggle:hover .menu-toggle__icon span:nth-child(3) {
  width: 17px;
}

.menu-close {
  gap: 12px;
}

.menu-close i {
  width: 16px;
  min-width: 16px;
  text-align: center;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.menu-close:hover i {
  transform: rotate(90deg);
}

/* ==================================================
   06. Mobile Survey Banner
================================================== */

.mobile-survey-banner {
  display: none;
}

/* ==================================================
   07. Callback Modal
================================================== */

.cc-callback-trigger {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 250;
  width: 74px;
  height: 74px;
  border: 0;
  background: var(--cc-orange);
  color: var(--cc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cc-callback-trigger:hover {
  background: var(--cc-brown);
  transform: translateX(-4px);
}

.cc-callback-trigger i {
  font-size: 34px;
}

.cc-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
}

.cc-callback-modal.is-open {
  display: flex;
}

.cc-callback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.cc-callback-modal__box {
  position: relative;
  z-index: 1;
  width: min(90vw, 720px);
  background: var(--cc-offwhite);
  border-radius: 14px;
  overflow: hidden;
}

.cc-callback-modal__header {
  min-height: 72px;
  padding: 18px 42px 15px;
  background: var(--cc-orange);
  color: var(--cc-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-callback-modal__header span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Karma", serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}

.cc-callback-modal__header span i {
  font-size: 24px;
}

.cc-callback-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-white);
  cursor: pointer;
}

.cc-callback-close i {
  font-size: 20px;
}

.cc-callback-modal__body {
  padding: 34px 42px 42px;
}

.cc-callback-modal .gform_wrapper {
  margin: 0 !important;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
}

.cc-callback-modal .gform_heading {
  display: none !important;
}

.cc-callback-modal .gform_fields {
  row-gap: 18px !important;
  column-gap: 24px !important;
}

.cc-callback-modal .gsection {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.cc-callback-modal .gsection_title {
  margin: 0 !important;
  font-family: "Karma", serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--cc-orange) !important;
}

.cc-callback-modal .gfield_label {
  margin-bottom: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--cc-brown) !important;
}

.cc-callback-modal .gfield_required {
  color: var(--cc-orange) !important;
  font-size: 11px !important;
}

.cc-callback-modal input[type="text"],
.cc-callback-modal input[type="email"],
.cc-callback-modal input[type="tel"] {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-white) !important;
  color: var(--cc-text) !important;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

.cc-callback-modal input::placeholder {
  color: rgba(90, 71, 52, 0.45) !important;
}

.cc-callback-modal .gform_footer {
  margin-top: 18px !important;
  padding: 0 !important;
}

.cc-callback-modal .gform_button {
  width: auto !important;
  min-height: 48px !important;
  padding: 0 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-orange) !important;
  color: var(--cc-white) !important;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.cc-callback-modal .gform_button:hover {
  background: var(--cc-brown) !important;
}

/* ==================================================
   08. Menu Overlay
================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  height: 100dvh;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(15, 61, 46, 0.92), rgba(15, 61, 46, 0.92)),
    url("/wp-content/themes/cc-fencing/images/home-hero.webp");
  background-size: cover;
  background-position: center;
}

.menu-overlay.is-open {
  display: flex;
  flex-direction: column;
}

.menu-overlay > * {
  position: relative;
  z-index: 1;
}

.site-header--overlay {
  position: relative;
  margin: 0;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.site-header--overlay .cc-container {
  width: auto;
  max-width: none;
  margin-left: 5%;
  margin-right: 0;
}

.site-header--overlay .site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
}

.site-header--overlay .site-logo--white {
  display: none;
}

.site-header--overlay .site-logo--orange {
  display: block;
}

.site-header--overlay .site-header__phone {
  margin-left: 56px;
  color: var(--cc-brown);
}

.site-header--overlay .site-header__phone a {
  color: var(--cc-orange);
}

.site-header--overlay .menu-close {
  justify-self: end;
  margin: 0;
  background: var(--cc-orange);
}

.site-header--overlay .menu-close:hover {
  background: var(--cc-brown);
}

.menu-overlay__survey {
  display: none;
}

/* Drill menu */

.menu-overlay__main {
  width: 75%;
  margin-left: 5%;
  padding: 36px 0 0;
}

.drill-menu {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 64px;
  width: 100%;
}

.drill-panel {
  display: none;
  flex-direction: column;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.drill-panel--main {
  padding-left: 0;
  border-left: 0;
}

.drill-panel.is-active {
  display: flex;
}

.drill-panel a,
.drill-panel button {
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-white);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.drill-panel a:hover,
.drill-panel button:hover {
  color: var(--cc-orange);
}

.drill-panel i {
  font-size: 14px;
}

.drill-back {
  display: none !important;
}

/* Overlay contact card */

.menu-overlay__contact {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: auto auto 0;
  pointer-events: none;
}

.menu-contact-card {
  width: 420px;
  min-height: 78px;
  padding: 0 24px;
  background: var(--cc-orange);
  color: var(--cc-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
  transition: background 0.25s ease;
}

.menu-contact-card:hover {
  background: var(--cc-brown);
}

.menu-contact-card i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cc-white);
  color: var(--cc-orange);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-contact-card strong {
  display: block;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
}

.menu-contact-card small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

/* Overlay footer */

.menu-overlay__footer {
  width: 90%;
  margin-right: 5%;
  margin-left: 5%;
  padding: 8px 0 26px;
  color: var(--cc-white);
}

.menu-footer__top {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.menu-footer__top img {
  width: 105px;
}

.menu-footer__bottom {
  display: grid;
  grid-template-columns: 1.3fr auto 1.5fr;
  align-items: center;
  gap: 48px;
}

.menu-footer__brand p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cc-white);
}

.menu-footer__brand small {
  font-size: 12px;
}

.menu-footer__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.menu-footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cc-white);
  color: var(--cc-dark-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.menu-footer__socials a:hover {
  background: var(--cc-orange);
  color: var(--cc-white);
}

.menu-footer__links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 26px;
}

.menu-footer__links a {
  color: var(--cc-white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.menu-footer__links a:hover {
  color: var(--cc-orange);
}

/* ==================================================
   09. Homepage Hero
================================================== */

.cc-hero {
  position: relative;
  min-height: 100vh;
  background-image: url("/wp-content/themes/cc-fencing/images/home-hero.webp");
  background-size: cover;
  background-position: center;
  color: var(--cc-white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-image 0.8s ease;
}

.cc-hero__content {
  width: 100%;
  margin-top: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-hero__banner {
  width: 100%;
  padding: 34px 20px;
  margin-bottom: 28px;
  background: rgba(15, 61, 46, 0.82);
}

.cc-hero h1 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 64px;
  line-height: 1.05;
  color: var(--cc-white);
}

.cc-hero__sub {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cc-hero__gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 5;
  margin: 0;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cc-hero__gallery-dots button,
.cc-about__gallery-dots button,
.cc-about-service-dots button {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cc-hero__gallery-dots button {
  background: rgba(255, 255, 255, 0.75);
}

.cc-hero__gallery-dots button.is-active,
.cc-about__gallery-dots button.is-active,
.cc-about-service-dots button.is-active {
  background: var(--cc-orange);
}

.cc-hero__title-mobile {
  display: none;
}

/* ==================================================
   10. Homepage Intro
================================================== */

.cc-intro {
  padding: 60px 0;
  background: var(--cc-white);
  text-align: center;
}

.cc-intro h2 {
  margin-bottom: 18px;
  font-size: 39px;
  color: var(--cc-brown);
}

.cc-intro p {
  max-width: 900px;
  margin: 0 auto 26px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--cc-brown);
}

.cc-intro .cc-button {
  min-height: 48px;
  padding: 10px 26px;
}

/* ==================================================
   11. Homepage About
================================================== */

.cc-about {
  padding: 60px 0 0;
  background: var(--cc-offwhite);
}

.cc-about__grid {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 72px;
  align-items: center;
}

.cc-about__content h2 {
  margin-bottom: 26px;
  font-size: 48px;
  line-height: 1;
  color: var(--cc-brown);
}

.cc-about__content p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cc-brown);
}

.cc-about__gallery {
  width: 100%;
}

.cc-about__gallery-image {
  background: var(--cc-white);
  overflow: hidden;
}

.cc-about__gallery-image img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.cc-about__gallery-dots {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cc-about__gallery-dots button {
  background: #d5cec6;
}

.cc-about__gallery-dots button:hover {
  background: #c2b8ae;
}

/* ==================================================
   12. Services Grid
================================================== */

.cc-services-grid {
  padding: 60px 0;
  background: var(--cc-offwhite);
}

.cc-services-grid__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cc-service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cc-service-card__content {
  min-height: 290px;
  padding: 34px 28px;
  color: var(--cc-white);
}

.cc-service-card__content h3 {
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.1;
  color: var(--cc-white);
}

.cc-service-card__content p {
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.cc-service-card__content a {
  color: var(--cc-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.cc-service-card__content a:hover {
  opacity: 0.8;
}

.cc-service-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.cc-service-card--brown .cc-service-card__content {
  background: var(--cc-brown);
}

.cc-service-card--orange .cc-service-card__content {
  background: var(--cc-orange);
}

.cc-service-card--green .cc-service-card__content {
  background: var(--cc-dark-green);
}

.cc-service-card--light-green .cc-service-card__content {
  background: var(--cc-light-green);
}

/* ==================================================
   13. Why Choose
================================================== */

.cc-why {
  padding: 60px 0;
  background: var(--cc-white);
  text-align: center;
}

.cc-why h2 {
  margin-bottom: 26px;
  font-size: 46px;
  color: var(--cc-brown);
}

.cc-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cc-why__item h3 {
  position: relative;
  margin: 0 0 14px;
  padding: 12px 17px;
  background: var(--cc-light-green);
  color: var(--cc-white);
  font-family: "Karma", serif;
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-why__item h3 i {
  position: absolute;
  left: 17px;
  font-size: 24px;
}

.cc-why__item p {
  max-width: 320px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--cc-brown);
}

/* ==================================================
   14. Full Width Banner
================================================== */

.cc-banner {
  position: relative;
  background: var(--cc-offwhite);
}

.cc-banner__image {
  min-height: 430px;
  background-image: url("/wp-content/themes/cc-fencing/images/landscaping-contractor-cta.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.cc-banner__overlay {
  width: 100%;
  padding: 38px 20px;
  background: rgba(15, 61, 46, 0.82);
}

.cc-banner__content {
  text-align: center;
}

.cc-banner h2 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(42px, 4vw, 52px);
  line-height: 1.08;
  color: var(--cc-white);
}

@media (min-width: 768px) {
  .cc-banner__image {
    background-attachment: fixed;
  }
}

/* ==================================================
   15. Work Section
================================================== */

.cc-work {
  padding: 60px 0;
  background: var(--cc-offwhite);
}

.cc-work__mosaic {
  display: grid;
  grid-template-rows: 433px 267px;
  column-gap: 23px;
  row-gap: 20px;
  min-height: 720px;
}

.cc-work__left,
.cc-work__images {
  display: contents;
}

.cc-work__intro {
  grid-column: 1;
  grid-row: 1;
  padding-top: 40px;
}

.cc-work__intro h2 {
  width: 383px;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 1.15;
  color: var(--cc-brown);
}

.cc-work__intro p {
  width: 375px;
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 25px;
  color: var(--cc-brown);
}

.cc-work__intro .cc-button {
  width: 240px;
  height: 55px;
  padding: 0 26px;
}

.cc-work__item {
  overflow: hidden;
  background: var(--cc-white);
}

.cc-work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-work__item--one {
  grid-column: 1;
  grid-row: 2;
  height: 343px;
  align-self: end;
}

.cc-work__item--two {
  grid-column: 2;
  grid-row: 1;
  height: 433px;
}

.cc-work__item--three {
  grid-column: 3;
  grid-row: 1;
  height: 319px;
}

.cc-work__item--four {
  grid-column: 2;
  grid-row: 2;
  height: 267px;
}

.cc-work__item--five {
  grid-column: 3;
  grid-row: 2;
  height: 376px;
  align-self: end;
}

/* ==================================================
   16. Testimonials
================================================== */

.cc-testimonials {
  padding: 60px 0;
  background: var(--cc-white);
  text-align: center;
}

.cc-testimonials h2 {
  margin-bottom: 34px;
  font-size: 44px;
  color: var(--cc-brown);
}

.cc-review-platforms {
  margin-top: 30px;
  overflow: hidden;
}

.cc-review-platforms__desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
}

.cc-review-platforms__track {
  display: none;
}

.cc-review-platforms img {
  width: auto;
  display: block;
}

.cc-review-platforms img[alt="Google Reviews"],
.cc-review-platforms__track img[src*="Google"] {
  height: 40px;
}

.cc-review-platforms img[alt="Checkatrade"],
.cc-review-platforms__track img[src*="Checkatrade"] {
  height: 28px;
}

.cc-review-platforms img[alt="MyBuilder"],
.cc-review-platforms__track img[src*="MyBuilder"] {
  height: 30px;
}

.cc-review-platforms img[alt="Trustpilot"],
.cc-review-platforms__track img[src*="Trustpilot"] {
  height: 36px;
}

/* ==================================================
   17. Blog CTA
================================================== */

.cc-blog-cta {
  position: relative;
}

.cc-blog-cta__image {
  min-height: 430px;
  background-image: url("/wp-content/themes/cc-fencing/images/get-inspired.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.cc-blog-cta__overlay {
  width: 100%;
  padding: 80px 0;
}

.cc-blog-cta__card {
  width: 420px;
  padding: 42px;
  background: rgba(15, 61, 46, 0.84);
  color: var(--cc-white);
}

.cc-blog-cta__card h2 {
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1;
  color: var(--cc-white);
}

.cc-blog-cta__card p {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.cc-blog-cta__card .cc-button:hover {
  background: var(--cc-light-green);
}

/* ==================================================
   18. Locations
================================================== */

.cc-locations {
  padding: 60px 0;
  background: var(--cc-white);
}

.cc-locations__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: start;
}

.cc-locations__intro h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1;
  color: var(--cc-brown);
}

.cc-locations__intro p {
  max-width: 300px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cc-brown);
}

.cc-locations__areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cc-locations__areas a {
  min-height: 68px;
  background: var(--cc-offwhite);
  color: var(--cc-brown);
  text-align: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.cc-locations__areas a:hover {
  background: #eadfd5;
}

/* ==================================================
   19. Final CTA
================================================== */

.cc-final-cta {
  padding: 60px 0;
  background: var(--cc-offwhite);
}

.cc-final-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.cc-final-cta__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cc-final-cta__content h2 {
  margin-bottom: 22px;
  font-size: 46px;
  line-height: 1;
  color: var(--cc-brown);
}

.cc-final-cta__content p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cc-brown);
}

.cc-final-cta__small-images {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 22px;
}

.cc-final-cta__small-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cc-final-cta__small-stack .cc-button {
  width: 100%;
  min-height: 54px;
}

.cc-final-cta__small-stack img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cc-final-cta__small-tall img {
  width: 100%;
  height: 326px;
  object-fit: cover;
}

.cc-final-cta__main-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

/* ==================================================
   20. Internal Hero
================================================== */

.cc-internal-hero {
  margin-top: var(--cc-header-height);
  background-image: var(--cc-internal-hero-image);
  background-size: cover;
  background-position: center;
}

.cc-internal-hero__overlay {
  min-height: 150px;
  padding: 42px 20px;
  background: rgba(15, 61, 46, 0.82);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-internal-hero h1 {
  margin: 0;
  font-family: "Karma", serif;
  font-size: 52px;
  line-height: 1;
  font-weight: 400;
  color: var(--cc-white);
}

/* ==================================================
   21. Contact Page
================================================== */

body:not(.home) .cc-page-hero {
  padding-top: 110px;
}

.cc-page-hero__image {
  background-image: url("/wp-content/themes/cc-fencing/images/home-hero.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
}

.cc-page-hero__overlay {
  width: 100%;
  padding: 44px 20px;
  background: rgba(15, 61, 46, 0.82);
  text-align: center;
}

.cc-page-hero h1 {
  margin: 0;
  font-size: 52px;
  color: var(--cc-white);
}

.cc-contact {
  padding: 42px 0 110px;
  background: var(--cc-offwhite);
}

.cc-contact__intro {
  max-width: 1220px;
  margin: 0 auto 34px;
  text-align: center;
}

.cc-contact__intro h2 {
  margin-bottom: 14px;
  font-size: 46px;
  color: var(--cc-brown);
}

.cc-contact__intro p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.55;
  color: var(--cc-brown);
}

.cc-contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.cc-contact__details {
  padding-top: 46px;
}

.cc-contact__map {
  margin-bottom: 28px;
}

.cc-contact__map img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.cc-contact__details h3 {
  margin-bottom: 10px;
  font-family: "Karma", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--cc-orange);
}

.cc-contact__details p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cc-brown);
}

/* Contact Gravity Form */

.gform_heading {
  display: none !important;
}

.cc-contact__form {
  max-width: 100%;
}

.cc-contact .gform_wrapper {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
}

.cc-contact .gform_fields {
  row-gap: 18px !important;
  column-gap: 22px !important;
}

.cc-contact .gsection {
  margin-top: 26px !important;
  padding: 0 !important;
  border: 0 !important;
}

.cc-contact .gsection:first-child {
  margin-top: 0 !important;
}

.cc-contact .gsection_title {
  margin: 0 0 6px !important;
  font-family: "Karma", serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  color: var(--cc-orange) !important;
}

.cc-contact .gsection_description {
  margin: 0 0 12px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--cc-brown) !important;
}

.cc-contact .gfield_label {
  margin-bottom: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--cc-brown) !important;
}

.cc-contact .gfield_required {
  color: var(--cc-orange) !important;
  font-size: 13px !important;
}

.cc-contact input[type="text"],
.cc-contact input[type="email"],
.cc-contact input[type="tel"],
.cc-contact textarea,
.cc-contact select {
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-white) !important;
  color: var(--cc-brown) !important;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif !important;
  font-size: 17px !important;
  box-shadow: none !important;
}

.cc-contact textarea {
  min-height: 150px !important;
  resize: vertical;
}

.cc-contact input::placeholder,
.cc-contact textarea::placeholder {
  color: rgba(90, 71, 52, 0.55) !important;
}

.cc-contact .multiple-choice > legend {
  display: none !important;
}

.cc-contact .gfield_checkbox {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px 24px !important;
  padding: 0 !important;
  background: transparent !important;
}

.cc-contact .gchoice {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
}

.cc-contact .gchoice input[type="checkbox"] {
  position: absolute !important;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 22px !important;
  height: 22px !important;
  opacity: 0 !important;
  transform: translateY(-50%);
  cursor: pointer;
}

.cc-contact .gchoice label {
  position: relative;
  min-height: 24px;
  padding-left: 38px !important;
  color: var(--cc-brown) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
}

.cc-contact .gchoice label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cc-orange);
  background: var(--cc-white);
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.cc-contact .gchoice label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--cc-white);
  border-bottom: 2px solid var(--cc-white);
  transform: translateY(-62%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cc-contact .gchoice input[type="checkbox"]:checked + label::before {
  background: var(--cc-orange);
  border-color: var(--cc-orange);
}

.cc-contact .gchoice input[type="checkbox"]:checked + label::after {
  opacity: 1;
}

.cc-contact .gform_drop_area {
  padding: 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-white) !important;
  text-align: left !important;
}

.cc-contact .gform_drop_area::before {
  color: var(--cc-brown) !important;
}

.cc-contact .gform_drop_instructions {
  display: none !important;
}

.cc-contact .gform_button_select_files {
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-orange) !important;
  color: var(--cc-white) !important;
  font-weight: 700 !important;
}

.cc-contact .gform_fileupload_rules {
  display: block !important;
  margin-top: 10px !important;
  font-size: 13px !important;
  color: var(--cc-brown) !important;
}

.cc-contact .gform_footer {
  margin-top: 32px !important;
  padding: 0 !important;
}

.cc-contact .gform_button {
  width: 100% !important;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cc-orange) !important;
  color: var(--cc-white) !important;
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.cc-contact .gform_button:hover {
  background: var(--cc-brown) !important;
}

@media (min-width: 768px) {
  .cc-contact__details {
    position: sticky;
    top: 170px;
  }
}

/* ==================================================
   22. About Page
================================================== */

.cc-about-page {
  background: var(--cc-offwhite);
}

.cc-about-section {
  padding: 52px 0;
}

.cc-about-section--white {
  background: var(--cc-white);
}

.cc-about-section--beige {
  background: var(--cc-offwhite);
}

.cc-about-page h2 {
  margin-bottom: 20px;
  font-size: 44px;
  line-height: 1.05;
}

.cc-about-page p,
.cc-about-page li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cc-brown);
}

.cc-about-heading--center {
  text-align: center;
  margin-bottom: 40px;
}

.cc-about-heading--light {
  color: var(--cc-white);
}

.cc-about-split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: stretch;
}

.cc-about-split--reverse {
  grid-template-columns: 0.82fr 1fr;
}

.cc-about-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cc-about-intro .cc-button,
.cc-about-split .cc-button {
  width: auto;
  min-width: 220px;
  align-self: flex-start;
  margin-top: 6px;
}

.cc-about-split__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cc-about-list {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.cc-about-list li {
  margin-bottom: 8px;
}

/* About services carousel */

.cc-about-services__intro {
  max-width: 1050px;
  margin: 0 auto 34px;
  text-align: center;
}

.cc-about-services__carousel {
  position: relative;
}

.cc-about-service-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  height: 400px;
  align-items: stretch;
}

.cc-about-service-slide.is-active {
  display: grid;
}

.cc-about-service-slide__image,
.cc-about-service-slide__card {
  height: 400px;
}

.cc-about-service-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-about-service-slide__card {
  position: relative;
  height: 400px;
  padding: 42px 78px 42px 42px;
  background: var(--cc-white);
  display: flex;
  flex-direction: column;
}

.cc-about-service-slide__card p {
  flex: 1;
  margin-bottom: 20px;
}

.cc-about-service-slide__card h3 {
  margin-bottom: 14px;
  font-size: 30px;
  color: var(--cc-orange);
}


.cc-about-service-slide__card a {
  width: fit-content;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 30px;
  background: var(--cc-orange);
  color: var(--cc-white);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-about-service-slide__card a:hover {
  background: var(--cc-brown);
}

.cc-about-service-slide__card::after {
  content: "›";
  position: absolute;
  right: 42px;
  bottom: 54px;
  color: var(--cc-orange);
  font-family: Arial, sans-serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
}

.cc-about-service-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.cc-about-service-dots button {
  background: #d5cec6;
}

/* About materials */

.cc-about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cc-about-image-grid img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cc-about-image-grid img:nth-child(3) {
  grid-column: span 2;
  height: 260px !important;
}

/* About process */

.cc-about-process {
  padding: 56px 0 52px;
  background: var(--cc-dark-green);
}

.cc-about-process h2,
.cc-about-process h3,
.cc-about-process p {
  color: var(--cc-white);
}

.cc-about-process__intro {
  max-width: 1050px;
  margin: 0 auto 34px;
  text-align: center;
}

.cc-about-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.cc-about-process__card {
  position: relative;
  padding: 36px 28px 26px;
  border: 1px solid var(--cc-light-green);
  text-align: center;
}

.cc-about-process__card span {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cc-offwhite);
  color: var(--cc-dark-green);
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-about-process__card h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.cc-about-process__card p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.55;
}

.cc-about-process__button {
  margin-top: 28px;
  text-align: center;
}

/* About guarantee */

.cc-about-guarantee {
  padding-bottom: 0;
}

.cc-about-guarantee__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.cc-about-guarantee__badge img {
  width: 100%;
  height: auto;
}

/* ==================================================
   23. Service Parent Page
================================================== */

.cc-service-parent {
  background: var(--cc-white);
  color: var(--cc-brown);
}

.cc-service-parent .cc-container {
  width: min(1680px, calc(100% - 80px));
}

.cc-sp-section {
  padding: 74px 0;
}

.cc-sp-section--white {
  background: var(--cc-white);
}

.cc-sp-section--beige {
  background: var(--cc-offwhite);
}

.cc-service-parent h2 {
  margin: 0 0 24px;
  font-family: "Karma", serif;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--cc-brown);
  text-transform: none;
}

.cc-service-parent h3 {
  margin: 0 0 12px;
  font-family: "Karma", serif;
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  color: var(--cc-brown);
}

.cc-service-parent p,
.cc-service-parent li,
.cc-content-block {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 17px;
  line-height: 25px;
  color: var(--cc-brown);
}

.cc-content-block p {
  margin: 0 0 18px;
}

.cc-content-block p:last-child {
  margin-bottom: 0;
}

/* Parent intro */

.cc-sp-intro {
  padding: 56px 0 42px;
  background: var(--cc-white);
  text-align: center;
}

.cc-sp-intro__content {
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-sp-intro__content h2 {
  margin-bottom: 18px;
}

.cc-sp-intro__content p {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 30px;
  max-width: 925px;
}

.cc-sp-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cc-sp-quick-link {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  background: var(--cc-dark-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-sp-quick-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-sp-quick-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cc-sp-quick-link span {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 22px;
  color: var(--cc-white);
  font-family: "Karma", serif;
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  text-align: center;
  background: #2D5E34;
}

.cc-sp-quick-link:hover img {
  transform: scale(1.04);
}

/* Parent overview */

.cc-sp-overview__grid,
.cc-sp-new-fence__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 70px;
  align-items: center;
}

.cc-sp-image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cc-sp-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-sp-image-stack__main {
  grid-column: 1 / -1;
  height: 360px !important;
}

.cc-sp-image-stack__small {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cc-sp-image-stack__small img {
  height: 210px;
}

/* Fence type cards */

.cc-sp-fence-types {
  text-align: center;
}

.cc-sp-fence-types h2 {
  margin-bottom: 42px;
}

.cc-sp-fence-types__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cc-sp-type-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--cc-dark-green);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.cc-sp-type-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cc-sp-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cc-sp-type-card span {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 18px;
  color: var(--cc-white);
  font-family: "Karma", serif;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
  background: #87A924;
}

.cc-sp-type-card:hover img {
  transform: scale(1.04);
}

/* New fence */

.cc-sp-new-fence__image img {
  width: 100%;
  object-fit: cover;
}


/* Parent process */

.cc-sp-process {
  padding: 78px 0 84px;
  background: var(--cc-offwhite);
}

.cc-sp-process__intro {
  max-width: 1050px;
  margin: 0 auto 48px;
  text-align: center;
}

.cc-sp-process__intro h2 {
  margin-bottom: 16px;
}

.cc-sp-process__intro p {
  margin: 0;
}

.cc-sp-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}

.cc-sp-process__card {
  position: relative;
  min-height: 265px;
  padding: 52px 30px 30px;
  background: var(--cc-white);
  border: 1px solid var(--cc-brown);
  text-align: center;
}

.cc-sp-process__card span {
  position: absolute;
  top: -24px;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cc-orange);
  color: var(--cc-white);
  transform: translateX(-50%);
  font-family: "Karma", serif;
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
}

.cc-sp-process__card p {
  margin: 0;
}

/* Parent materials */

.cc-sp-materials__grid {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.cc-sp-materials__image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.cc-sp-materials .cc-button {
  margin-top: 28px;
}

section.cc-sp-section.cc-sp-section--white.cc-sp-materials.cc-sc-materials {
    padding-top: 0px;
}

section.cc-sp-section.cc-sp-section--white.cc-sp-fence-types.cc-sc-type-cards {
    padding-bottom: 0px;
}

/* Reused home sections on service pages */

.cc-service-parent .cc-locations {
  background: var(--cc-white);
}

.cc-service-parent .cc-final-cta {
  background: var(--cc-offwhite);
}

.cc-sp-new-fence {
  padding-top: 0;
}

.cc-final-cta__content.cc-content-block {
    margin-bottom: 30px;
}

/* ==================================================
   24. Footer
================================================== */

.site-footer {
  padding: 42px 0 36px;
  background: var(--cc-dark-green);
  color: var(--cc-white);
}

.site-footer__top {
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-footer__top img {
  width: 120px;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1.2fr auto 1.5fr;
  gap: 42px;
  align-items: center;
}

.site-footer__brand p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cc-white);
}

.site-footer__brand strong {
  font-size: 18px;
}

.site-footer__brand small {
  font-size: 13px;
  opacity: 0.9;
}

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

.site-footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cc-white);
  color: var(--cc-dark-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-footer__socials a:hover {
  background: var(--cc-orange);
  color: var(--cc-white);
}

.site-footer__links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer__links a {
  color: var(--cc-white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.site-footer__links a:hover {
  color: var(--cc-orange);
}

/* ==================================================
   25. Responsive
================================================== */

@media (max-width: 1399px) {
  .cc-work__mosaic {
    grid-template-columns: 1fr 1.1fr 1fr;
  }

  .cc-work__intro h2,
  .cc-work__intro p {
    width: auto;
  }
}

@media (max-width: 1180px) {
  .cc-sp-overview__grid,
  .cc-sp-new-fence__grid,
  .cc-sp-materials__grid {
    grid-template-columns: 1fr 460px;
    gap: 46px;
  }

  .cc-sp-fence-types__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .cc-services-grid__wrapper,
  .cc-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-about__grid,
  .cc-contact__grid,
  .cc-final-cta__grid,
  .cc-locations__grid,
  .cc-about-split,
  .cc-about-split--reverse,
  .cc-about-service-slide,
  .cc-about-guarantee__inner,
  .cc-sp-overview__grid,
  .cc-sp-new-fence__grid,
  .cc-sp-materials__grid {
    grid-template-columns: 1fr;
  }

  .cc-about-process__grid,
  .cc-sp-process__grid,
  .cc-sp-quick-links {
    grid-template-columns: 1fr;
  }

  .cc-about-service-slide__image,
  .cc-about-service-slide__card {
    height: auto;
  }

  .cc-about-service-slide__image img {
    height: 300px;
  }

  .cc-sp-materials__image {
    order: 2;
  }

  .cc-sp-materials .cc-content-block {
    order: 1;
  }
}

/* ==================================================
   26. Mobile
================================================== */

@media (max-width: 767px) {
  :root {
    --cc-header-height: 173px;
  }

  .cc-container,
  .cc-service-parent .cc-container {
    width: calc(100% - 32px);
  }

  .site-header,
  .home .site-header:not(.is-scrolled) {
    width: 100vw;
    margin-top: 0;
    padding: 8px 0 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
  }

  .site-header.is-scrolled {
    padding: 8px 0 0;
  }

  #site-header > .cc-container,
  .site-header--overlay .cc-container {
    margin: 0 auto;
  }

  .site-header__inner,
  .site-header--overlay .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo button"
      "phone phone";
    gap: 10px;
    align-items: center;
  }

  .site-logo {
    grid-area: logo;
  }

  .site-logo--white,
  .home .site-header:not(.is-scrolled) .site-logo--white {
    display: none;
  }

  .site-logo--orange,
  .home .site-header:not(.is-scrolled) .site-logo--orange {
    display: block;
    margin-left: 20px;
  }

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

  .site-header__phone,
  .home .site-header:not(.is-scrolled) .site-header__phone {
    grid-area: phone;
    display: block;
    margin: 0;
    padding: 6px 0 10px;
    color: var(--cc-brown);
    text-align: center;
    font-size: 14px;
    line-height: 1.15;
  }

  .site-header__phone span,
  .site-header__phone a {
    display: inline;
  }

  .site-header__phone a,
  .home .site-header:not(.is-scrolled) .site-header__phone a {
    margin-left: 4px;
    color: var(--cc-orange);
  }

  .menu-toggle,
  .menu-close {
    grid-area: button;
    justify-self: end;
    min-width: 135px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    align-self: center;
  }

  .menu-toggle__icon {
    width: 24px;
    min-width: 24px;
  }

  .menu-toggle__icon span:nth-child(1) {
    width: 19px;
  }

  .menu-toggle__icon span:nth-child(2) {
    width: 14px;
  }

  .menu-toggle__icon span:nth-child(3) {
    width: 9px;
  }

  .menu-toggle > span:last-child,
  .menu-close > span:last-child {
    min-width: 34px;
  }

  .mobile-survey-banner {
    display: block;
  }

  .mobile-survey-banner a {
    min-height: 56px;
    background: var(--cc-orange);
    color: var(--cc-white);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .cc-callback-trigger {
    display: none;
  }

  .cc-callback-modal__box {
    width: min(94vw, 960px);
  }

  .cc-callback-modal__header {
    padding: 16px 22px 13px;
  }

  .cc-callback-modal__header span {
    font-size: 25px;
  }

  .cc-callback-modal__body {
    padding: 24px 22px 28px;
  }

  /* Mobile menu overlay */

  .menu-overlay,
  .menu-overlay.is-open {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .menu-overlay.is-open {
    display: block;
  }

  .menu-overlay__survey {
    display: block;
    width: 100%;
    padding: 0;
  }

  .menu-overlay__survey .cc-button {
    width: 100%;
    min-height: 56px;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
    gap: 10px;
  }

  .site-header--overlay {
    padding: 8px 0 0;
  }

  .site-header--overlay .menu-close {
    justify-self: end;
    margin: 0;
    background: var(--cc-orange);
  }

  .menu-overlay__main {
    display: block;
    width: calc(100% - 24px);
    padding: 14px 12px 0;
    margin: 0 auto;
    overflow: visible;
  }

  .drill-menu {
    display: block;
    width: 100%;
  }

  .drill-panel {
    display: none;
    padding-left: 0;
    border-left: 0;
  }

  .drill-panel.is-active {
    display: block;
  }

  .drill-panel a,
  .drill-panel button {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: var(--cc-white);
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drill-panel i {
    font-size: 13px;
    flex-shrink: 0;
  }

  .drill-back {
    color: var(--cc-orange) !important;
    justify-content: flex-start !important;
    gap: 10px;
    display: flex !important;
  }

  .menu-overlay__contact {
    display: block;
    width: calc(100% - 24px);
    margin: 17px auto 0;
    pointer-events: auto;
  }

  .menu-contact-card {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    background: var(--cc-orange);
    display: flex;
    align-items: center;
    gap: 13px;
  }

  .menu-contact-card i {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .menu-contact-card strong {
    font-size: 15px;
  }

  .menu-contact-card small {
    margin-top: 4px;
    font-size: 11px;
  }

  .menu-overlay__footer {
    display: block;
    width: calc(100% - 24px);
    padding: 10px 0 24px;
    margin: 10px auto 0;
    text-align: center;
  }

  .menu-footer__top {
    display: block;
    padding-bottom: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }

  .menu-footer__top img {
    display: none;
  }

  .menu-footer__bottom {
    display: block;
  }

  .menu-footer__brand p {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .menu-footer__brand small {
    font-size: 10px;
  }

  .menu-footer__socials {
    justify-content: center;
    margin: 12px 0;
    gap: 10px;
  }

  .menu-footer__socials a {
    width: 28px;
    height: 28px;
  }

  .menu-footer__links {
    justify-content: center;
    gap: 10px 14px;
    margin-top: 10px;
  }

  .menu-footer__links a {
    font-size: 10px;
  }

  /* Homepage mobile */

  .cc-hero {
    min-height: 540px;
    display: block;
    background-position: center;
  }

  .cc-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: 0;
  }

  .cc-hero__banner {
    margin: 0;
    padding: 22px 18px;
  }

  .cc-hero__title-desktop {
    display: none;
  }

  .cc-hero__title-mobile {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    color: var(--cc-white);
    font-family: "Karma", serif;
    font-size: 35px;
    line-height: 1.05;
  }

  .cc-hero h1 {
    max-width: 320px;
    font-size: 35px;
    line-height: 1.05;
  }

  .cc-hero .cc-button,
  .cc-hero__gallery-dots,
  .cc-hero__sub {
    display: none;
  }

  .cc-intro {
    padding: 34px 0 38px;
  }

  .cc-intro h2 {
    display: none;
    font-size: 38px;
    line-height: 1;
  }

  .cc-intro p {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.55;
  }

  .cc-intro .cc-button {
    display: none;
  }

  .cc-about {
    display: block;
    padding: 0 0 34px;
    background: var(--cc-white);
  }

  .cc-about__grid {
    display: block;
  }

  .cc-about__content {
    display: none;
  }

  .cc-about__gallery-dots {
    justify-content: center;
    margin-top: 16px;
  }

  .cc-services-grid {
    padding: 0 0 38px;
    overflow: hidden;
  }

  .cc-services-grid__wrapper {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .cc-service-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .cc-service-card__content {
    min-height: auto;
    padding: 30px 24px;
  }

  .cc-service-card img {
    height: 170px;
  }

  .cc-why {
    padding: 34px 0 42px;
  }

  .cc-why h2 {
    font-size: 40px;
    line-height: 1;
  }

  .cc-why__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cc-why__item h3 {
    margin: 0;
    font-size: 24px;
  }

  .cc-why__item p {
    display: none;
  }

  .cc-banner {
    display: none;
  }

  .cc-work {
    padding: 38px 0;
  }

  .cc-work__mosaic {
    display: block;
    min-height: 0;
  }

  .cc-work__intro {
    padding: 0;
    text-align: center;
  }

  .cc-work__intro h2 {
    width: auto;
    font-size: 40px;
  }

  .cc-work__intro p {
    width: auto;
  }

  .cc-work__images,
  .cc-work__item {
    display: none;
  }

  .cc-work__item--one {
    display: block;
    margin-top: 28px;
    height: auto;
  }

  .cc-work__item--one img {
    height: 210px;
  }

  .cc-testimonials {
    padding: 34px 0 44px;
  }

  .cc-testimonials h2 {
    font-size: 38px;
    line-height: 1;
  }

  .cc-review-platforms__desktop {
    display: none;
  }

  .cc-review-platforms__track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 44px;
    animation: reviewTicker 18s linear infinite;
  }

  .cc-review-platforms__track img {
    flex-shrink: 0;
  }

  @keyframes reviewTicker {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  .cc-blog-cta__image {
    min-height: 360px;
  }

  .cc-blog-cta__overlay {
    padding: 46px 0;
  }

  .cc-blog-cta__card {
    width: 100%;
    padding: 32px 24px;
    text-align: center;
  }

  .cc-blog-cta__card h2 {
    font-size: 40px;
  }

  .cc-locations {
    padding: 38px 0 44px;
  }

  .cc-locations__grid {
    gap: 24px;
    text-align: center;
  }

  .cc-locations__intro h2 {
    font-size: 40px;
  }

  .cc-locations__intro p {
    max-width: none;
  }

  .cc-locations__areas {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cc-locations__areas a {
    min-height: 44px;
    font-size: 18px;
  }

  .cc-final-cta {
    padding: 38px 0 44px;
  }

  .cc-final-cta__content {
    text-align: center;
  }

  .cc-final-cta__content h2 {
    font-size: 40px;
  }

  .cc-final-cta__content p {
    margin-bottom: 24px;
  }

  .cc-final-cta__small-images {
    display: block;
  }

  .cc-final-cta__small-stack {
    gap: 18px;
  }

  .cc-final-cta__small-stack .cc-button {
    width: 100%;
    margin-bottom: 18px;
    display: inline-flex;
  }

  .cc-final-cta__small-stack img,
  .cc-final-cta__small-tall {
    display: none;
  }

  .cc-final-cta__main-image img {
    min-height: 220px;
  }

  /* Internal and contact mobile */

  body:not(.home) .cc-page-hero {
    padding-top: 96px;
  }

  .cc-page-hero__image {
    min-height: 190px;
  }

  .cc-page-hero h1,
  .cc-internal-hero h1 {
    font-size: 35px;
  }

  .cc-internal-hero__overlay {
    min-height: 120px;
    padding: 30px 20px;
  }

  .cc-contact {
    padding: 34px 0 60px;
  }

  .cc-contact__intro h2 {
    font-size: 38px;
  }

  .cc-contact__intro p {
    font-size: 18px;
  }

  .cc-contact__details {
    padding-top: 0;
  }

  .cc-contact__map img {
    height: 280px;
  }

  .cc-contact .gfield_checkbox {
    grid-template-columns: 1fr !important;
  }

  .cc-contact .gsection_title {
    font-size: 26px !important;
  }

  /* About mobile */

  .cc-about-section,
  .cc-about-process {
    padding: 38px 0;
    text-align:center;
  }
  
  section.cc-locations{
      padding-top:0px;
  }
  
  .cc-about-service-carousel {
  position: relative;
  margin-top: 28px;
}

.cc-about-service-slide,
.cc-about-service-slide.is-active {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cc-about-service-slide:not(.is-active) {
  display: none;
}

.cc-about-service-slide__image {
  order: 1;
  height: auto;
}

.cc-about-service-slide__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cc-about-service-slide__card {
  order: 2;
  height: auto;
  min-height: 0;
  padding: 28px 24px 72px;
  text-align: center;
}

.cc-about-service-slide__card h3 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.05;
}

.cc-about-service-slide__card p {
  flex: none;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.cc-about-service-slide__button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.cc-about-service-slide__card::after {
  right: 28px;
  bottom: 18px;
}

.cc-about-service-dots {
  margin-top: 18px;
}

.cc-about-service-slide__card::after{
    display:none;
}
  
  a.cc-about-service-slide__button {
    width: 100%;
}

  .cc-about-page h2 {
    font-size: 35px;
    margin-bottom:0px;
  }

  .cc-about-page p,
  .cc-about-page li {
    font-size: 16px;
  }

.cc-about-intro .cc-button, .cc-about-split .cc-button{
    width:100%;
}

  .cc-about-split {
    gap: 24px;
  }

  .cc-about-split__image img,
  .cc-about-service-slide__image img {
    height: 250px;
    max-height: none;
  }

  .cc-about-service-slide__card {
    padding: 28px 28px 28px;
  }
  
  .cc-about-split__image {
    display: none;
}

section.cc-about-section.cc-about-section--white.cc-about-reasons {
    padding-bottom: 0px;
}

  .cc-about-service-slide__card h3 {
    font-size: 28px;
  }

  .cc-about-service-slide__card::after {
    right: 28px;
    bottom: 26px;
  }

  .cc-about-image-grid {
    grid-template-columns: 1fr;
  }

  .cc-about-image-grid img:nth-child(3) {
    grid-column: auto;
  }

  .cc-about-guarantee__badge {
    text-align: center;
  }

  .cc-about-guarantee__badge img {
    width: 180px;
    margin: 0 auto;
  }

  /* Service parent mobile */

  .cc-sp-section,
  .cc-sp-process {
    padding: 46px 0;
  }

  .cc-sp-intro {
    padding: 42px 0 34px;
  }

  .cc-service-parent h2 {
    font-size: 35px;
  }

  .cc-service-parent p,
  .cc-service-parent li,
  .cc-content-block {
    font-size: 16px;
    line-height: 1.6;
  }

  .cc-sp-intro__content p {
    font-size: 17px;
    line-height: 25px;
  }

  .cc-sp-quick-link,
  .cc-sp-type-card {
    min-height: 220px;
  }

  .cc-sp-fence-types__grid,
  .cc-sp-image-stack__small {
    grid-template-columns: 1fr;
  }

  .cc-sp-image-stack__main,
  .cc-sp-image-stack__small img,
  .cc-sp-new-fence__image img,
  .cc-sp-materials__image img {
    height: 260px !important;
  }

  .cc-sp-process__card {
    min-height: 0;
  }

  /* Footer mobile */

  .site-footer {
    padding: 34px 0;
    text-align: center;
  }

  .site-footer__top img {
    margin: 0 auto;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer__socials,
  .site-footer__links {
    justify-content: center;
  }

  .site-footer__links {
    gap: 14px;
  }
}

/* ==================================================
   27. Service Child Pages
   Extends the shared service parent components.
================================================== */

.cc-service-child .cc-sp-intro {
  padding-bottom: 56px;
}

.cc-service-child .cc-sp-overview__grid {
  grid-template-columns: minmax(0, 1fr) 520px;
}

.cc-sc-overview__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.cc-sc-section-intro {
  max-width: 1120px;
  margin: 0 auto 46px;
  text-align: center;
}

.cc-sc-section-intro h2 {
  margin-bottom: 16px;
}

.cc-sc-section-intro p {
  max-width: 1040px;
  margin: 0 auto;
}

/* Child applications carousel */

.cc-sc-applications-carousel {
  position: relative;
  min-height: 335px;
  margin-bottom: 70px;
}

.cc-sc-application-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  min-height: 335px;
  background: var(--cc-white);
  opacity: 0;
  transform: translateX(24px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s ease;
}

.cc-sc-application-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cc-sc-application-slide__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.cc-sc-application-slide__content {
  position: relative;
  padding: 54px 170px 54px 50px;
  background: var(--cc-offwhite);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cc-sc-application-slide__content h3 {
  margin-bottom: 18px;
  color: var(--cc-orange);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 700;
}

.cc-sc-application-slide__content p {
  max-width: 290px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.cc-sc-application-next {
  position: absolute;
  right: 30px;
  bottom: 24px;
  width: 42px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cc-orange);
  font-family: Arial, sans-serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-sc-application-next:hover {
  color: var(--cc-brown);
}

.cc-sc-application-dots {
  position: absolute;
  left: 50%;
  bottom: -100px;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cc-sc-application-dots button {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  background: #d5cec6;
  cursor: pointer;
}

.cc-sc-application-dots button.is-active {
  background: var(--cc-orange);
}

/* Child materials */

.cc-service-child .cc-sp-materials__grid {
  grid-template-columns: 60% minmax(0, 1fr);
}

/* Child process */

.cc-sc-process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.cc-sc-process__grid .cc-sp-process__card {
  grid-column: span 2;
}

.cc-sc-process__grid .cc-sp-process__card:nth-child(4) {
  grid-column: 2 / span 2;
  margin-top: 20px;
}

.cc-sc-process__grid .cc-sp-process__card:nth-child(5) {
  grid-column: 4 / span 2;
  margin-top: 20px;
}

.cc-sc-process .cc-sp-process__card {
  min-height: 300px;
}

/* Child rural areas */

.cc-sc-areas {
  background: var(--cc-white);
  text-align: center;
}

.cc-sc-areas .cc-locations__grid {
  display: block;
}

.cc-sc-areas .cc-locations__intro {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.cc-sc-areas .cc-locations__intro h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1.1;
}

.cc-sc-areas .cc-locations__intro p {
  max-width: none;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.5;
}

.cc-sc-areas .cc-locations__areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  margin-inline: auto;
}

.cc-sc-areas .cc-locations__areas a {
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
  font-family: "Karma", serif;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cc-sc-final-cta .cc-final-cta__content h2 {
  max-width: 560px;
}

/* Service child responsive */

@media (max-width: 1180px) {
  .cc-service-child .cc-sp-overview__grid,
  .cc-service-child .cc-sp-materials__grid,
  .cc-sc-areas .cc-locations__grid {
    grid-template-columns: 1fr;
  }

  .cc-sc-process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cc-sc-areas .cc-locations__areas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .cc-sc-overview__image img,
  .cc-service-child .cc-sp-materials__image img {
    height: 320px;
  }

  .cc-sc-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cc-sp-section,
  .cc-sp-process {
    padding: 46px 0;
    text-align: center;
  }

  .cc-service-child .cc-sp-intro {
    padding-bottom: 42px;
  }

  .cc-sc-section-intro {
    margin-bottom: 30px;
  }

  .cc-sc-applications {
    padding: 0;
  }

  .cc-sc-applications-carousel {
    position: relative;
    min-height: auto;
    margin-bottom: 0;
  }

  .cc-sc-application-slide,
  .cc-sc-application-slide.is-active {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cc-sc-application-slide:not(.is-active) {
    display: none;
  }

  .cc-sc-application-slide__content {
    order: 1;
    min-height: auto;
    height: auto;
    padding: 30px 28px;
    text-align: center;
  }

  .cc-sc-application-slide__content p {
    max-width: none;
  }

  .cc-sc-application-slide__image {
    order: 2;
  }

  .cc-sc-application-slide__image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .cc-sc-application-next {
    display: none;
  }

  .cc-sc-application-dots {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 20px;
  }

  .cc-sc-process__grid,
  .cc-sc-areas .cc-locations__areas {
    grid-template-columns: 1fr;
  }

  .cc-sc-process__grid {
    gap: 40px;
  }

  .cc-sc-process__grid .cc-sp-process__card,
  .cc-sc-process__grid .cc-sp-process__card:nth-child(4),
  .cc-sc-process__grid .cc-sp-process__card:nth-child(5) {
    grid-column: auto;
    margin-top: 0;
  }

  .cc-sc-overview__image img,
  .cc-service-child .cc-sp-materials__image img {
    height: 250px;
  }

  .cc-content-block p:last-child {
    margin-bottom: 30px;
  }

  .cc-sp-type-card span {
    font-size: 20px;
  }
}

.drill-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drill-link-row > a {
  flex: 1;
}

.drill-link-row > button {
  width: 48px;
  min-width: 48px;
  justify-content: center;
  padding: 0;
}
