/* =========================================================
   ABOUT PAGE
   LEWIS BROTHERS ROOFING & PLASTERING
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.about-page {
  background: #c6c8cc;
}



/* =========================================================
   HERO
   ========================================================= */

.about-hero {
  position: relative;
  width: 100%;
  min-height: min(780px, 88svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d223c;
}

.about-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(5, 19, 34, 0.76) 0%,
      rgba(5, 19, 34, 0.72) 45%,
      rgba(5, 19, 34, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(5, 19, 34, 0.28) 0%,
      rgba(5, 19, 34, 0.10) 50%,
      rgba(5, 19, 34, 0.28) 100%
    );
}

.about-hero-inner {
  position: relative;
  z-index: 2;

  min-height: min(780px, 88svh);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 115px 0 90px;
}

.about-hero-content {
  width: min(960px, 94%);
  margin: 0 auto;
  text-align: center;
}

.about-hero-eyebrow {
  margin: 0 0 18px;

  color: #eef0f2;

  font-family: var(--font-subheading);
  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0;

  color: #ffffff;

  font-family: var(--font-heading);
  font-size: clamp(4rem, 6vw, 6.4rem);
  font-weight: 700;

  line-height: 0.94;
  letter-spacing: -0.055em;

  text-shadow:
    0 6px 28px
    rgba(0, 0, 0, 0.38);
}

.about-hero h1 span {
  display: block;
  margin-top: 9px;
  color: #d7d9dc;
}

.about-hero-description {
  max-width: 720px;
  margin: 29px auto 0;

  color: rgba(255, 255, 255, 0.94);

  font-size: clamp(1.04rem, 1.25vw, 1.2rem);
  font-weight: 500;
  line-height: 1.63;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 11px;

  margin-top: 31px;
}

.about-hero-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 25px;

  border-radius: 999px;

  font-family: var(--font-subheading);
  font-size: 0.91rem;
  font-weight: 700;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.about-hero-button:hover {
  transform: translateY(-2px);
}

.about-hero-button-primary {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #163153;
}

.about-hero-button-primary:hover {
  border-color: #c6c8cc;
  background: #c6c8cc;
  color: #163153;
}

.about-hero-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);

  background: rgba(255, 255, 255, 0.10);

  color: #ffffff;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.19);
  color: #ffffff;
}



/* =========================================================
   TRUST + ABOUT SHARED BACKGROUND
   ========================================================= */

.about-company-background {
  position: relative;
  background: #c6c8cc;
}



/* =========================================================
   TRUST STRIP
   ========================================================= */

.about-trust-section {
  position: relative;
  z-index: 5;

  margin-top: -45px;

  padding: 0 0 35px;

  background: transparent;
}

.about-trust-grid {
  display: grid;

  grid-template-columns:
    1.18fr
    1fr
    1fr;

  gap: 14px;

  max-width: 1120px;

  margin: 0 auto;
}

.about-trust-card {
  min-height: 116px;

  display: flex;
  align-items: center;

  gap: 18px;

  padding: 21px 24px;

  border: 1px solid rgba(22, 49, 83, 0.07);

  border-radius: 24px;

  background: #ffffff;

  box-shadow:
    0 14px 38px
    rgba(13, 34, 60, 0.09);
}

.about-trust-icon {
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #163153;

  color: #ffffff;

  font-size: 1.05rem;
}

.about-trust-cert-image {
  width: 76px;
  height: 76px;

  flex: 0 0 76px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.about-trust-cert-image img {
  width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.about-trust-card span {
  display: block;

  margin-bottom: 4px;

  color: #657181;

  font-family: var(--font-subheading);
  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-trust-card strong {
  display: block;

  color: #0d223c;

  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;

  line-height: 1.3;
}



/* =========================================================
   ABOUT INTRO
   ========================================================= */

.about-intro-section {
  padding:
    clamp(60px, 6vw, 88px)
    0
    clamp(80px, 7vw, 105px);

  background: transparent;
}

.about-intro-top {
  display: grid;

  grid-template-columns:
    minmax(170px, 0.28fr)
    minmax(0, 1fr);

  align-items: start;

  gap: clamp(45px, 7vw, 100px);

  margin-bottom: 43px;
}

.about-intro-label {
  padding-top: 9px;

  color: #163153;

  font-family: var(--font-subheading);
  font-size: 0.91rem;
  font-weight: 700;
}

.about-intro-copy {
  max-width: 920px;
}

.about-intro-copy h2 {
  margin: 0 0 27px;

  color: #0d223c;

  font-family: var(--font-heading);

  font-size: clamp(
    2.8rem,
    4.25vw,
    4.5rem
  );

  font-weight: 700;

  line-height: 1.04;
  letter-spacing: -0.045em;
}

.about-intro-lead {
  max-width: 830px;

  margin: 0 0 14px;

  color: #163153;

  font-size: clamp(
    1.08rem,
    1.35vw,
    1.25rem
  );

  font-weight: 500;

  line-height: 1.62;
}

.about-intro-copy > p:not(.about-intro-lead) {
  max-width: 820px;

  margin: 0;

  color: #465464;

  font-size: 1rem;
  line-height: 1.68;
}



/* =========================================================
   LOCATION LINE
   NOW DIRECTLY BELOW COMPANY COPY
   ========================================================= */

.about-intro-local {
  display: flex;
  align-items: center;

  gap: 10px;

  max-width: 820px;

  margin-top: 23px;
  padding-top: 20px;

  border-top:
    1px solid
    rgba(22, 49, 83, 0.18);
}

.about-intro-local i {
  flex: 0 0 auto;

  color: #163153;

  font-size: 1rem;
}

.about-intro-local p {
  margin: 0;

  color: #465464;

  font-size: 0.95rem;
  line-height: 1.5;
}

.about-intro-local strong {
  color: #163153;
}



/* =========================================================
   ABOUT IMAGES
   SAME HEIGHT
   ========================================================= */

.about-intro-images {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(0, 0.85fr);

  gap: 16px;
}

.about-intro-image {
  height: 440px;

  margin: 0;

  overflow: hidden;

  border-radius: 28px;

  background: #b8bbbf;
}

.about-intro-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.65s ease;
}

.about-intro-image:hover img {
  transform: scale(1.025);
}



/* =========================================================
   SERVICES
   ========================================================= */

.about-services-section {
  position: relative;

  overflow: hidden;

  padding:
    clamp(100px, 8vw, 140px)
    0
    clamp(110px, 8vw, 150px);

  background: #163153;
}



/* =========================================================
   SERVICES HEADER
   ========================================================= */

.about-services-header {
  position: relative;
  z-index: 10;

  margin-bottom: 60px;
}

.about-services-eyebrow {
  margin: 0 0 14px;

  color: #c6c8cc;

  font-family: var(--font-subheading);

  font-size: 0.74rem;
  font-weight: 700;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-services-header h2 {
  max-width: 860px;

  margin: 0;

  color: #ffffff;

  font-family: var(--font-heading);

  font-size: clamp(
    3rem,
    4.8vw,
    5rem
  );

  font-weight: 700;

  line-height: 0.96;

  letter-spacing: -0.05em;
}

.about-services-header h2 span {
  display: block;
  color: #c6c8cc;
}



/* =========================================================
   MOBILE SERVICE CONTROLS
   ========================================================= */

.about-services-mobile-controls {
  display: none;

  align-items: center;

  gap: 8px;

  margin-top: 25px;
}

.about-services-scroll-button {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(255, 255, 255, 0.28);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.10);

  color: #ffffff;
}



/* =========================================================
   SERVICES DECK
   ========================================================= */

.about-services-deck {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}



/* =========================================================
   SERVICE CARDS
   ========================================================= */

.about-service-card {
  min-width: 0;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.18);

  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 18px 42px
    rgba(7, 25, 44, 0.17);

  transform-origin:
    left center;

  will-change:
    transform;
}

.about-service-card-link {
  height: 100%;

  display: flex;
  flex-direction: column;

  color: inherit;
}

.about-service-image {
  height: 300px;

  overflow: hidden;

  background: #c6c8cc;
}

.about-service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.about-service-card:hover
.about-service-image img {
  transform: scale(1.04);
}

.about-service-content {
  min-height: 310px;

  display: flex;
  flex-direction: column;

  padding: 29px;

  background: #ffffff;

  transition:
    background 0.32s ease;
}

.about-service-card:hover
.about-service-content {
  background: #c6c8cc;
}

.about-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 32px;
}

.about-service-top p {
  margin: 0;

  color: #667180;

  font-family: var(--font-subheading);

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-service-top span {
  color: #163153;

  font-family: var(--font-heading);

  font-size: 0.83rem;
  font-weight: 700;
}

.about-service-content h3 {
  margin: 0 0 13px;

  color: #0d223c;

  font-family: var(--font-heading);

  font-size: clamp(
    1.65rem,
    2vw,
    2rem
  );

  font-weight: 700;

  line-height: 1.12;
  letter-spacing: -0.035em;
}

.about-service-description {
  margin: 0 0 28px;

  color: #3f4d5c;

  font-size: 0.96rem;

  line-height: 1.6;
}



/* =========================================================
   SERVICE BUTTONS
   ========================================================= */

.about-service-button {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  align-self: flex-start;

  margin-top: auto;

  padding: 0 19px;

  border: 1px solid #163153;

  border-radius: 999px;

  background: #163153;

  color: #ffffff;

  font-family: var(--font-subheading);

  font-size: 0.85rem;
  font-weight: 700;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.about-service-card:hover
.about-service-button {
  background: #0d223c;
  color: #ffffff;
}

.about-service-button:hover {
  transform: translateY(-1px);
}



/* =========================================================
   FINAL CTA
   ========================================================= */

.about-final-cta {
  position: relative;

  min-height: 430px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #ffffff;
}

.about-final-background {
  position: absolute;
  inset: 0;

  background:

    center 52% /
    cover
    no-repeat;
}

.about-final-overlay {
  position: absolute;
  inset: 0;

  background:
    rgba(255, 255, 255, 0.91);
}

.about-final-inner {
  position: relative;
  z-index: 2;

  min-height: 430px;

  display: grid;

  grid-template-columns:
    minmax(360px, 0.7fr)
    minmax(0, 1.3fr);

  align-items: center;

  gap: clamp(35px, 5vw, 85px);
}

.about-final-foreground {
  align-self: end;

  height: 390px;

  overflow: hidden;

  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );
}

.about-final-foreground img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.about-final-content {
  max-width: 720px;

  padding: 70px 0;
}

.about-final-eyebrow {
  margin: 0 0 13px;

  color: #163153;

  font-family: var(--font-subheading);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-final-content h2 {
  max-width: 720px;

  margin: 0 0 20px;

  color: #0d223c;

  font-family: var(--font-heading);

  font-size: clamp(
    2.8rem,
    4.25vw,
    4.5rem
  );

  font-weight: 700;

  line-height: 1;

  letter-spacing: -0.045em;
}

.about-final-description {
  max-width: 620px;

  margin: 0 0 28px;

  color: #3f4d5c;

  font-size: 1.05rem;

  line-height: 1.62;
}

.about-final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 11px;
}

.about-final-primary {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border: 1px solid #163153;

  border-radius: 999px;

  background: #163153;

  color: #ffffff;

  font-family: var(--font-subheading);

  font-size: 0.91rem;
  font-weight: 700;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.about-final-primary:hover {
  background: #0d223c;

  color: #ffffff;

  transform: translateY(-1px);
}

.about-final-phone {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 0 21px;

  border:
    1px solid
    rgba(22, 49, 83, 0.18);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.76);

  color: #163153;

  font-family: var(--font-subheading);

  font-size: 0.91rem;
  font-weight: 700;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.about-final-phone:hover {
  background: #ffffff;

  color: #163153;

  transform: translateY(-1px);
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

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

  .about-trust-cert {
    grid-column: 1 / -1;
  }


  .about-intro-top {
    grid-template-columns:
      160px
      minmax(0, 1fr);

    gap: 42px;
  }


  .about-service-image {
    height: 260px;
  }


  .about-service-content {
    min-height: 315px;
    padding: 25px;
  }


  .about-final-inner {
    grid-template-columns:
      minmax(320px, 0.8fr)
      minmax(0, 1.2fr);

    gap: 35px;
  }

}



/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 899.98px) {

  .about-hero,
  .about-hero-inner {
    min-height: 670px;
  }

  .about-hero-inner {
    padding:
      105px
      0
      76px;
  }

  .about-hero h1 {
    font-size:
      clamp(
        3.1rem,
        10vw,
        5rem
      );
  }


  .about-intro-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-intro-label {
    padding-top: 0;
  }


  .about-intro-images {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro-image {
    height: 390px;
  }


  .about-services-mobile-controls {
    display: flex;
  }

  .about-services-deck {
    display: flex;

    gap: 14px;

    overflow-x: auto;

    padding:
      4px
      0
      17px;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;
  }

  .about-services-deck::-webkit-scrollbar {
    display: none;
  }

  .about-service-card {
    flex:
      0
      0
      min(
        82vw,
        400px
      );

    scroll-snap-align: start;

    transform: none !important;
  }


  .about-final-inner {
    grid-template-columns:
      0.85fr
      1.15fr;
  }

  .about-final-foreground {
    height: 350px;
  }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  .about-hero,
  .about-hero-inner {
    min-height: 620px;
  }

  .about-hero-image {
    object-position: center center;
  }

  .about-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 19, 34, 0.74) 0%,
        rgba(5, 19, 34, 0.78) 50%,
        rgba(5, 19, 34, 0.91) 100%
      );
  }

  .about-hero-content {
    width: 100%;
  }

  .about-hero h1 {
    font-size:
      clamp(
        2.75rem,
        12vw,
        4.1rem
      );
  }

  .about-hero-description {
    font-size: 1rem;
  }


  .about-trust-section {
    margin-top: 0;

    padding:
      30px
      0
      35px;
  }

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

  .about-trust-cert {
    grid-column: auto;
  }


  .about-intro-section {
    padding:
      45px
      0
      75px;
  }

  .about-intro-copy h2 {
    font-size:
      clamp(
        2.45rem,
        10vw,
        3.5rem
      );
  }

  .about-intro-images {
    grid-template-columns: 1fr;
  }

  .about-intro-image {
    height: 350px;
  }


  .about-services-section {
    padding:
      75px
      0
      82px;
  }

  .about-services-header {
    margin-bottom: 38px;
  }

  .about-services-header h2 {
    font-size:
      clamp(
        2.5rem,
        10vw,
        3.6rem
      );
  }

  .about-service-image {
    height: 270px;
  }

  .about-service-content {
    min-height: 290px;
  }


  .about-final-cta,
  .about-final-inner {
    min-height: auto;
  }

  .about-final-inner {
    display: flex;
    flex-direction: column;

    gap: 0;
  }

  .about-final-foreground {
    width: min(100%, 520px);

    height: 300px;

    align-self: flex-start;

    margin-top: 45px;
  }

  .about-final-content {
    width: 100%;

    padding:
      35px
      0
      65px;
  }

  .about-final-content h2 {
    font-size:
      clamp(
        2.45rem,
        10vw,
        3.5rem
      );
  }

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

  .about-hero,
  .about-hero-inner {
    min-height: 590px;
  }

  .about-hero-inner {
    padding:
      92px
      0
      55px;
  }

  .about-hero h1 {
    font-size:
      clamp(
        2.45rem,
        12vw,
        3.3rem
      );
  }

  .about-hero-actions {
    width: 100%;
  }

  .about-hero-button {
    width: 100%;
  }


  .about-trust-card {
    min-height: 100px;

    padding: 17px 18px;

    border-radius: 20px;
  }


  .about-intro-section {
    padding:
      37px
      0
      65px;
  }

  .about-intro-copy h2 {
    font-size:
      clamp(
        2.2rem,
        11vw,
        3rem
      );
  }

  .about-intro-image {
    height: 305px;

    border-radius: 23px;
  }


  .about-services-section {
    padding:
      64px
      0
      70px;
  }

  .about-services-header h2 {
    font-size:
      clamp(
        2.25rem,
        11vw,
        3.05rem
      );
  }

  .about-service-card {
    flex-basis: 88vw;

    border-radius: 24px;
  }

  .about-service-image {
    height: 245px;
  }

  .about-service-content {
    min-height: 280px;

    padding: 23px;
  }

  .about-service-button {
    width: 100%;
  }


  .about-final-foreground {
    width: 100%;

    height: 270px;

    margin-top: 30px;
  }

  .about-final-content {
    padding:
      27px
      0
      52px;
  }

  .about-final-content h2 {
    font-size:
      clamp(
        2.25rem,
        11vw,
        3rem
      );
  }

  .about-final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-final-primary,
  .about-final-phone {
    width: 100%;
  }

}



/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .about-intro-image img,
  .about-service-image img,
  .about-service-content,
  .about-service-button {
    transition: none !important;
  }

  .about-service-card {
    transform: none !important;
  }

}

.about-final-background {

  position: absolute;

  inset: 0;

  background:
    url(
      "../images/about-final-roofing-project-anglesey.webp"
    )
    center 52% /
    cover
    no-repeat;

}