/* ==========================================
   IRONRIDGE EXCAVATION PAGE

   This file is loaded after styles.css.

   Header, footer, buttons, container and
   global website styles remain controlled
   by styles.css.
========================================== */


/* ==========================================
   HERO
========================================== */

.excavation-hero {
  position: relative;
  min-height: 720px;

  display: flex;
  align-items: center;

  overflow: hidden;
  color: #fff;

  background-color: #111;
  background-image:
    url("https://iron-ridge.ca/images/excavationhero.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.excavation-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.84) 42%,
      rgba(0, 0, 0, 0.48) 72%,
      rgba(0, 0, 0, 0.25) 100%
    );
}

.excavation-hero-inner {
  position: relative;
  z-index: 2;

  width: min(
    var(--max),
    calc(100% - 48px)
  );

  margin-inline: auto;
  padding-top: 125px;
  padding-bottom: 125px;
}

.excavation-hero h1 {
  max-width: 1050px;
  margin: 0;

  color: #fff;

  font-size:
    clamp(
      50px,
      5.5vw,
      86px
    );

  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.excavation-hero .orange-rule {
  width: 145px;
  height: 6px;

  margin: 30px 0;

  background: var(--orange);
}

.excavation-hero-text {
  max-width: 790px;
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.9
    );

  font-size:
    clamp(
      18px,
      1.45vw,
      22px
    );

  line-height: 1.75;
}

.excavation-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 40px;
}

.excavation-hero-actions .button {
  gap: 10px;
}


/* ==========================================
   INTRODUCTION
========================================== */

.excavation-intro {
  padding: 100px 0;
  background: #fff;
}

.excavation-intro-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(340px, 0.8fr);

  align-items: center;
  gap: 80px;
}

.excavation-intro-copy h2,
.excavation-project-copy h2,
.excavation-faq-copy h2,
.excavation-area-copy h2 {
  margin: 0;

  color: #222;

  font-size:
    clamp(
      36px,
      4vw,
      58px
    );

  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.excavation-intro-copy .orange-rule,
.excavation-project-copy .orange-rule,
.excavation-faq-copy .orange-rule,
.excavation-area-copy .orange-rule {
  width: 115px;
  height: 5px;

  margin: 24px 0 28px;

  background: var(--orange);
}

.excavation-intro-copy p,
.excavation-project-copy p,
.excavation-faq-copy p,
.excavation-area-copy p {
  max-width: 780px;

  color: #5c5c5c;

  font-size: 17px;
  line-height: 1.85;
}

.excavation-benefits-card {
  padding: 42px;

  color: #fff;
  background: #151515;

  border-top:
    5px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 20px 55px
    rgba(0, 0, 0, 0.18);
}

.excavation-card-label {
  display: block;
  margin-bottom: 10px;

  color: var(--orange);

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.excavation-benefits-card h3 {
  margin: 0;

  color: #fff;

  font-size: 29px;
  line-height: 1.3;
}

.excavation-check-list {
  margin: 28px 0;
  padding: 0;

  list-style: none;
}

.excavation-check-list li {
  position: relative;

  margin-bottom: 15px;
  padding-left: 31px;

  color:
    rgba(
      255,
      255,
      255,
      0.87
    );

  line-height: 1.6;
}

.excavation-check-list li::before {
  position: absolute;
  left: 0;

  content: "✓";

  color: var(--orange);
  font-weight: 800;
}

.excavation-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--orange);

  font-weight: 700;
  text-decoration: none;
}

.excavation-text-link:hover {
  color: var(--orange-hover);
}


/* ==========================================
   COMMON SECTION HEADINGS
========================================== */

.excavation-section-heading {
  max-width: 970px;

  margin:
    0 auto
    58px;

  text-align: center;
}

.excavation-section-heading h2 {
  margin: 0;

  color: #222;

  font-size:
    clamp(
      38px,
      4.5vw,
      62px
    );

  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.excavation-section-heading .orange-rule {
  width: 115px;
  height: 5px;

  margin: 24px auto;

  background: var(--orange);
}

.excavation-section-heading p {
  max-width: 780px;
  margin: 0 auto;

  color: #666;

  font-size: 17px;
  line-height: 1.8;
}

.excavation-heading-light h2 {
  color: #fff;
}

.excavation-heading-light p {
  color:
    rgba(
      255,
      255,
      255,
      0.7
    );
}


/* ==========================================
   SERVICES GRID
========================================== */

.excavation-services-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.excavation-services-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 24px;
}

.excavation-service-card {
  min-height: 330px;
  padding: 38px 32px;

  background: #fff;

  border-top:
    4px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 12px 34px
    rgba(0, 0, 0, 0.09);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.excavation-service-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 20px 44px
    rgba(0, 0, 0, 0.15);
}

.excavation-service-icon {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  color: var(--orange);

  border:
    2px solid
    var(--orange);

  border-radius: 50%;

  font-size: 27px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.excavation-service-card:hover
.excavation-service-icon {
  color: #111;
  background: var(--orange);
}

.excavation-service-card h3 {
  margin: 25px 0 14px;

  color: #222;

  font-size: 23px;
  line-height: 1.3;
}

.excavation-service-card p {
  margin: 0;

  color: #666;

  line-height: 1.75;
}


/* ==========================================
   FEATURE PROJECT
========================================== */

.excavation-project-section {
  padding: 105px 0;

  color: #fff;
  background: #090909;
}

.excavation-project-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(500px, 1.15fr);

  align-items: center;
  gap: 75px;
}

.excavation-project-copy h2 {
  color: #fff;
}

.excavation-project-copy p {
  color:
    rgba(
      255,
      255,
      255,
      0.7
    );
}

.excavation-project-copy .button {
  margin-top: 20px;
}

.excavation-project-gallery {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  overflow: hidden;

  border-top:
    5px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 22px 60px
    rgba(0, 0, 0, 0.5);
}

.excavation-project-image {
  position: relative;

  min-height: 470px;
  margin: 0;

  overflow: hidden;
}

.excavation-project-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;

  display: block;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

.excavation-project-image:hover img {
  transform: scale(1.04);
}

.excavation-project-image figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;

  padding: 9px 15px;

  color: #fff;

  background:
    rgba(
      0,
      0,
      0,
      0.85
    );

  border-left:
    4px solid
    var(--orange);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


/* ==========================================
   QUALITY CARDS
========================================== */

.excavation-quality-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.excavation-quality-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 20px;
}

.excavation-quality-card {
  position: relative;

  min-height: 340px;
  padding: 34px 28px;

  overflow: hidden;

  color: #fff;
  background: #151515;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.1
    );

  border-top:
    4px solid
    var(--orange);

  border-radius: 4px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.excavation-quality-card:hover {
  transform: translateY(-6px);

  border-color:
    rgba(
      244,
      122,
      0,
      0.7
    );
}

.excavation-quality-number {
  position: absolute;
  top: 18px;
  right: 20px;

  color:
    rgba(
      255,
      255,
      255,
      0.08
    );

  font-size: 65px;
  font-weight: 800;
  line-height: 1;
}

.excavation-quality-icon {
  width: 64px;
  height: 64px;

  display: grid;
  place-items: center;

  color: var(--orange);

  border:
    2px solid
    var(--orange);

  border-radius: 50%;

  font-size: 25px;
}

.excavation-quality-card h3 {
  position: relative;

  margin: 26px 0 14px;

  color: #fff;

  font-size: 22px;
  line-height: 1.35;
}

.excavation-quality-card p {
  position: relative;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.67
    );

  line-height: 1.75;
}


/* ==========================================
   PROCESS
========================================== */

.excavation-process-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.excavation-steps-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 24px;
}

.excavation-step-card {
  position: relative;

  min-height: 350px;
  padding: 38px 34px;

  overflow: hidden;

  color: #fff;
  background: #171717;

  border-top:
    4px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 12px 32px
    rgba(0, 0, 0, 0.12);
}

.excavation-step-number {
  position: absolute;
  top: 18px;
  right: 25px;

  color:
    rgba(
      255,
      255,
      255,
      0.09
    );

  font-size: 76px;
  font-weight: 800;
  line-height: 1;
}

.excavation-step-icon {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  color: var(--orange);

  border:
    2px solid
    var(--orange);

  border-radius: 50%;

  font-size: 25px;
}

.excavation-step-card h3 {
  position: relative;

  margin: 28px 0 14px;

  color: #fff;

  font-size: 24px;
  line-height: 1.3;
}

.excavation-step-card p {
  position: relative;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  line-height: 1.75;
}


/* ==========================================
   FAQ
========================================== */

.excavation-faq-section {
  padding: 105px 0;
  background: #ededed;
}

.excavation-faq-layout {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.75fr)
    minmax(0, 1.25fr);

  align-items: start;
  gap: 80px;
}

.excavation-faq-copy .button {
  margin-top: 20px;
}

.excavation-faq-list {
  display: grid;
  gap: 15px;
}

.excavation-faq-item {
  background: #fff;

  border-left:
    4px solid
    var(--orange);

  border-radius: 3px;

  box-shadow:
    0 7px 24px
    rgba(0, 0, 0, 0.07);
}

.excavation-faq-item summary {
  position: relative;

  padding:
    23px
    60px
    23px
    24px;

  color: #222;

  font-size: 17px;
  font-weight: 700;

  cursor: pointer;
  list-style: none;
}

.excavation-faq-item summary::-webkit-details-marker {
  display: none;
}

.excavation-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 23px;

  content: "+";

  color: var(--orange);

  font-size: 28px;
  font-weight: 500;

  transform: translateY(-50%);
}

.excavation-faq-item[open]
summary::after {
  content: "−";
}

.excavation-faq-item p {
  margin: 0;

  padding:
    0
    24px
    24px;

  color: #606060;

  line-height: 1.75;
}


/* ==========================================
   SERVICE AREA
========================================== */

.excavation-area-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.excavation-service-area {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(350px, 0.85fr);

  align-items: center;
  gap: 80px;
}

.excavation-question-card {
  padding: 43px;

  color: #fff;
  background: #151515;

  border-top:
    5px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, 0.18);
}

.excavation-question-icon {
  margin-bottom: 22px;

  color: var(--orange);

  font-size: 40px;
}

.excavation-question-card h3 {
  margin: 0 0 16px;

  color: #fff;

  font-size: 28px;
  line-height: 1.3;
}

.excavation-question-card p {
  margin: 0 0 27px;

  color:
    rgba(
      255,
      255,
      255,
      0.7
    );

  line-height: 1.75;
}

.excavation-question-card .button {
  width: 100%;
  min-width: 0;
}


/* ==========================================
   FINAL CTA
========================================== */

.excavation-final-cta {
  position: relative;

  min-height: 550px;

  display: flex;
  align-items: center;

  overflow: hidden;

  color: #fff;
  background-color: #111;

  background-image:
    url("https://iron-ridge.ca/images/excavationcta.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.excavation-final-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    rgba(
      0,
      0,
      0,
      0.8
    );
}

.excavation-final-inner {
  position: relative;
  z-index: 2;

  max-width: 980px;

  padding-top: 100px;
  padding-bottom: 100px;

  text-align: center;
}

.excavation-final-inner h2 {
  margin: 10px 0 22px;

  color: #fff;

  font-size:
    clamp(
      40px,
      5vw,
      67px
    );

  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.excavation-final-inner p {
  max-width: 740px;
  margin: 0 auto;

  color:
    rgba(
      255,
      255,
      255,
      0.8
    );

  font-size: 19px;
  line-height: 1.75;
}

.excavation-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 35px;
}

.excavation-final-actions .button {
  gap: 10px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1150px) {

  .excavation-intro-layout,
  .excavation-project-layout,
  .excavation-faq-layout,
  .excavation-service-area {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .excavation-services-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .excavation-quality-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .excavation-project-copy {
    max-width: 800px;
  }

  .excavation-faq-copy {
    max-width: 800px;
  }

  .excavation-area-copy {
    max-width: 800px;
  }
}


/* ==========================================
   SMALL TABLET
========================================== */

@media (max-width: 850px) {

  .excavation-hero {
    min-height: 640px;
  }

  .excavation-hero-overlay {
    background:
      rgba(
        0,
        0,
        0,
        0.78
      );
  }

  .excavation-hero-inner {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .excavation-hero h1 {
    font-size:
      clamp(
        43px,
        10vw,
        66px
      );

    letter-spacing: -1px;
  }

  .excavation-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .excavation-hero-actions .button {
    width:
      min(
        100%,
        360px
      );
  }

  .excavation-steps-grid {
    grid-template-columns: 1fr;
  }

  .excavation-step-card {
    min-height: auto;
  }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

  .excavation-hero {
    min-height: 600px;

    background-position:
      62%
      center;
  }

  .excavation-hero-inner {
    width:
      min(
        100% - 28px,
        var(--max)
      );

    padding-top: 75px;
    padding-bottom: 75px;
  }

  .excavation-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .excavation-hero-text {
    font-size: 17px;
  }

  .excavation-intro,
  .excavation-project-section,
  .excavation-faq-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .excavation-services-section,
  .excavation-quality-section,
  .excavation-process-section,
  .excavation-area-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .excavation-services-grid,
  .excavation-quality-grid {
    grid-template-columns: 1fr;
  }

  .excavation-service-card,
  .excavation-quality-card {
    min-height: auto;
  }

  .excavation-benefits-card,
  .excavation-question-card {
    padding: 31px 24px;
  }

  .excavation-project-gallery {
    grid-template-columns: 1fr;
  }

  .excavation-project-image,
  .excavation-project-image img {
    min-height: 330px;
  }

  .excavation-section-heading {
    margin-bottom: 42px;
  }

  .excavation-faq-item summary {
    padding:
      20px
      52px
      20px
      20px;

    font-size: 16px;
  }

  .excavation-faq-item p {
    padding:
      0
      20px
      22px;
  }

  .excavation-final-cta {
    min-height: 500px;
  }

  .excavation-final-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .excavation-final-inner p {
    font-size: 17px;
  }

  .excavation-final-actions {
    flex-direction: column;
    align-items: center;
  }

  .excavation-final-actions .button {
    width:
      min(
        100%,
        360px
      );
  }
}