/* ==========================================
   IRONRIDGE QUOTE / CONTACT PAGE
========================================== */


/* ==========================================
   HERO
========================================== */

.contact-hero {
  position: relative;
  min-height: 570px;

  display: flex;
  align-items: center;

  overflow: hidden;

  color: #fff;
  background-color: #111;

  background-image:
    url("/images/contacthero.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.86) 45%,
      rgba(0, 0, 0, 0.44) 78%,
      rgba(0, 0, 0, 0.24) 100%
    );
}

.contact-hero-inner {
  position: relative;
  z-index: 2;

  padding-top: 100px;
  padding-bottom: 100px;
}

.contact-hero h1 {
  max-width: 950px;
  margin: 0;

  color: #fff;

  font-size:
    clamp(
      54px,
      6vw,
      88px
    );

  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.contact-hero .orange-rule {
  width: 145px;
  height: 6px;

  margin: 30px 0;

  background: var(--orange);
}

.contact-hero p {
  max-width: 760px;
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.88
    );

  font-size: 20px;
  line-height: 1.75;
}


/* ==========================================
   MAIN LAYOUT
========================================== */

.contact-main-section {
  padding: 105px 0;
  background: #f2f2f2;
}

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(340px, 0.65fr);

  align-items: start;
  gap: 55px;
}

.contact-form-column {
  min-width: 0;
}

.contact-heading {
  margin-bottom: 38px;
}

.contact-heading h2 {
  margin: 0;

  color: #222;

  font-size:
    clamp(
      36px,
      4vw,
      56px
    );

  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.contact-heading .orange-rule {
  width: 110px;
  height: 5px;

  margin: 23px 0 25px;

  background: var(--orange);
}

.contact-heading p {
  max-width: 800px;
  margin: 0;

  color: #5f5f5f;

  font-size: 17px;
  line-height: 1.8;
}


/* ==========================================
   FORM
========================================== */

.quote-form {
  padding: 45px;

  background: #fff;

  border-top:
    5px solid
    var(--orange);

  border-radius: 4px;

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.1);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 25px;
}

.form-group {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label,
.contact-preference legend {
  color: #222;

  font-size: 14px;
  font-weight: 700;
}

.form-group label span {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 15px 16px;

  color: #222;
  background: #f7f7f7;

  border:
    1px solid
    #d7d7d7;

  border-radius: 3px;

  font-family: inherit;
  font-size: 16px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-group input,
.form-group select {
  min-height: 56px;
}

.form-group textarea {
  min-height: 190px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--orange);

  box-shadow:
    0 0 0 3px
    rgba(244, 122, 0, 0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.contact-preference {
  margin: 0;
  padding: 0;

  border: 0;
}

.contact-preference legend {
  margin-bottom: 12px;
}

.radio-options {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 12px;
}

.radio-option {
  position: relative;
  cursor: pointer;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option span {
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #333;
  background: #f5f5f5;

  border:
    1px solid
    #d7d7d7;

  border-radius: 3px;

  font-weight: 700;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.radio-option input:checked + span {
  color: #111;
  background: var(--orange);
  border-color: var(--orange);
}

.radio-option input:focus-visible + span {
  outline:
    3px solid
    rgba(244, 122, 0, 0.28);

  outline-offset: 2px;
}


/* ==========================================
   FILE UPLOAD
========================================== */

.file-upload {
  position: relative;

  min-height: 130px;

  overflow: hidden;

  background: #f7f7f7;

  border:
    2px dashed
    #c8c8c8;

  border-radius: 4px;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.file-upload:hover {
  background: #fff7ee;
  border-color: var(--orange);
}

.file-upload input {
  position: absolute;
  inset: 0;
  z-index: 2;

  width: 100%;
  height: 100%;

  padding: 0;

  opacity: 0;
  cursor: pointer;
}

.file-upload-display {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 20px;

  text-align: left;
}

.file-upload-display i {
  color: var(--orange);
  font-size: 34px;
}

.file-upload-display div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.file-upload-display strong {
  color: #222;
  font-size: 16px;
}

.file-upload-display span {
  color: #777;
  font-size: 13px;
}

.form-help {
  color: #777;
  line-height: 1.6;
}


/* ==========================================
   FORM SUBMISSION
========================================== */

.form-submit-area {
  margin-top: 35px;
  padding-top: 30px;

  border-top:
    1px solid
    #e2e2e2;
}

.form-submit-button {
  min-width: 280px;
  gap: 12px;

  border: 0;
  cursor: pointer;
}

.form-submit-area p {
  max-width: 650px;
  margin: 16px 0 0;

  color: #777;

  font-size: 13px;
  line-height: 1.6;
}


/* ==========================================
   SIDEBAR
========================================== */

.contact-sidebar {
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 34px;

  border-radius: 4px;

  box-shadow:
    0 15px 40px
    rgba(0, 0, 0, 0.1);
}

.contact-card-dark {
  color: #fff;
  background: #151515;

  border-top:
    5px solid
    var(--orange);
}

.contact-card-label {
  display: block;
  margin-bottom: 9px;

  color: var(--orange);

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0 0 17px;

  color: #fff;

  font-size: 30px;
  line-height: 1.2;
}

.contact-card-dark > p {
  margin: 0 0 28px;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  line-height: 1.75;
}

.contact-detail {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 14px;
  padding: 16px;

  color: #fff;
  background: #0c0c0c;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  border-radius: 3px;

  text-decoration: none;
}

a.contact-detail {
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

a.contact-detail:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.contact-detail-icon {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color: var(--orange);

  border:
    1px solid
    var(--orange);

  border-radius: 50%;
}

.contact-detail > span:last-child {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail small {
  color:
    rgba(
      255,
      255,
      255,
      0.56
    );

  font-size: 12px;
}

.contact-detail strong {
  overflow-wrap: anywhere;

  color: #fff;

  font-size: 15px;
}


/* ==========================================
   WHAT HAPPENS NEXT
========================================== */

.contact-expectations-card {
  background: #fff;

  border-top:
    5px solid
    var(--orange);
}

.contact-steps {
  margin: 18px 0 0;
  padding: 0;

  list-style: none;
}

.contact-steps li {
  display: grid;

  grid-template-columns:
    46px 1fr;

  gap: 15px;

  padding: 20px 0;

  border-bottom:
    1px solid
    #e5e5e5;
}

.contact-steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-steps li > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: #111;
  background: var(--orange);

  border-radius: 50%;

  font-size: 12px;
  font-weight: 800;
}

.contact-steps strong {
  color: #222;
  font-size: 16px;
}

.contact-steps p {
  margin: 5px 0 0;

  color: #686868;

  font-size: 14px;
  line-height: 1.65;
}


/* ==========================================
   RESPONSE PROMISE
========================================== */

.contact-response-notice {
  padding: 25px;

  display: flex;
  align-items: flex-start;
  gap: 17px;

  color: #fff;
  background: var(--orange);

  border-radius: 4px;
}

.contact-response-notice i {
  margin-top: 3px;
  color: #111;
  font-size: 26px;
}

.contact-response-notice strong {
  color: #111;
  font-size: 16px;
}

.contact-response-notice p {
  margin: 6px 0 0;

  color:
    rgba(
      0,
      0,
      0,
      0.76
    );

  font-size: 14px;
  line-height: 1.6;
}


/* ==========================================
   SERVICE AREA
========================================== */

.contact-area-section {
  padding: 90px 0;

  color: #fff;
  background: #202326;
}

.contact-area-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(400px, 0.8fr);

  align-items: center;
  gap: 80px;
}

.contact-area-layout h2 {
  margin: 0;

  color: #fff;

  font-size:
    clamp(
      38px,
      4vw,
      58px
    );

  line-height: 1.08;
  text-transform: uppercase;
}

.contact-area-layout .orange-rule {
  width: 110px;
  height: 5px;

  margin: 24px 0 26px;

  background: var(--orange);
}

.contact-area-layout > div:first-child p {
  max-width: 720px;
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.7
    );

  font-size: 17px;
  line-height: 1.8;
}

.contact-area-points {
  display: grid;
  gap: 16px;
}

.contact-area-points > div {
  padding: 22px;

  display: flex;
  align-items: center;
  gap: 18px;

  background: #101010;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  border-radius: 4px;
}

.contact-area-points i {
  flex: 0 0 50px;

  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  color: var(--orange);

  border:
    1px solid
    var(--orange);

  border-radius: 50%;

  font-size: 20px;
}

.contact-area-points span {
  display: flex;
  flex-direction: column;
  gap: 4px;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font-size: 14px;
}

.contact-area-points strong {
  color: #fff;
  font-size: 17px;
}


/* ==========================================
   FINAL CTA
========================================== */

.contact-final-cta {
  position: relative;
  min-height: 500px;

  display: flex;
  align-items: center;

  overflow: hidden;

  color: #fff;
  background-color: #111;

  background-image:
    url("/images/contactcta.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-final-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    rgba(
      0,
      0,
      0,
      0.8
    );
}

.contact-final-inner {
  position: relative;
  z-index: 2;

  max-width: 950px;

  padding-top: 90px;
  padding-bottom: 90px;

  text-align: center;
}

.contact-final-inner h2 {
  margin: 9px 0 20px;

  color: #fff;

  font-size:
    clamp(
      40px,
      5vw,
      68px
    );

  line-height: 1.07;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.contact-final-inner p {
  max-width: 720px;
  margin: 0 auto 32px;

  color:
    rgba(
      255,
      255,
      255,
      0.8
    );

  font-size: 18px;
  line-height: 1.75;
}

.contact-final-inner .button {
  gap: 10px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

  .contact-layout,
  .contact-area-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .contact-response-notice {
    grid-column: 1 / -1;
  }

}


/* ==========================================
   SMALL TABLET
========================================== */

@media (max-width: 780px) {

  .contact-hero {
    min-height: 520px;
  }

  .contact-hero-overlay {
    background:
      rgba(
        0,
        0,
        0,
        0.78
      );
  }

  .contact-hero h1 {
    font-size:
      clamp(
        45px,
        11vw,
        68px
      );
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-response-notice {
    grid-column: auto;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .contact-hero {
    min-height: 475px;
  }

  .contact-hero-inner {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .contact-hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-main-section {
    padding: 75px 0;
  }

  .quote-form {
    padding: 30px 21px;
  }

  .radio-options {
    grid-template-columns: 1fr;
  }

  .form-submit-button {
    width: 100%;
    min-width: 0;
  }

  .contact-card {
    padding: 29px 22px;
  }

  .contact-area-section {
    padding: 75px 0;
  }

  .contact-area-layout {
    gap: 45px;
  }

  .contact-area-points > div {
    align-items: flex-start;
  }

  .contact-final-cta {
    min-height: 460px;
  }

  .contact-final-inner {
    padding-top: 75px;
    padding-bottom: 75px;
  }

}