

/* =========================================
   LCA COLLECTIONS - CONTACT PAGE
   File: contact.css
========================================= */

:root {
  --cp-navy: #09243b;
  --cp-navy-light: #163b59;
  --cp-gold: #d49a4b;
  --cp-ivory: #fbf7f2;
  --cp-text: #102c49;
  --cp-border: #c9d0d7;
}

.contact-page {
  background: var(--cp-ivory);
  color: var(--cp-text);
  overflow-x: clip;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page img {
  display: block;
  max-width: 100%;
}

.contact-page a {
  text-decoration: none;
}

.contact-page .container {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
}


/* =========================================
   HERO SECTION
========================================= */

.cp-hero {
  position: relative;
  isolation: isolate;

  min-height: 295px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-color: var(--cp-navy);

  background-image:
    linear-gradient(
      90deg,
      rgba(5, 29, 47, .98) 0%,
      rgba(5, 29, 47, .88) 34%,
      rgba(5, 29, 47, .15) 100%
    ),
    url("./images/contact-hero.jpg");

  background-position: center, center 55%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;

  color: white;
}

.cp-hero-inner {
  position: relative;
  z-index: 1;
}

.cp-hero-content {
  max-width: 650px;
  padding: 55px 0;
}

.cp-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--cp-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.cp-eyebrow span {
  display: block;
  width: 33px;
  height: 2px;
  flex-shrink: 0;

  background: var(--cp-gold);
}

.cp-hero h1 {
  margin: 10px 0 8px;

  color: #fff;
  font: 400 clamp(48px, 6vw, 74px) / 1.05 Georgia, serif;
  letter-spacing: -1.5px;
}

.cp-hero h1 em {
  color: #dca04e;
  font-weight: 400;
}

.cp-hero-description {
  margin: 10px 0 0;

  color: #fff;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
}

.cp-hero-line {
  width: 75px;
  height: 3px;
  margin-top: 22px;

  background: var(--cp-gold);
}


/* =========================================
   CONTACT INFORMATION
========================================= */

.cp-contact-info {
  padding: 22px 0 25px;
  background: var(--cp-ivory);
}

.cp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.cp-info-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  padding: 0 18px;

  text-align: center;
}

.cp-info-item:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 8px;
  right: 0;

  width: 1px;
  height: 130px;

  background: var(--cp-gold);
}

.cp-info-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  border: 2px solid var(--cp-gold);
  border-radius: 50%;

  background: var(--cp-navy);
  color: white;
}

.cp-info-icon svg {
  width: 38px;
  height: 38px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cp-info-item h2 {
  margin: 8px 0 0;

  color: var(--cp-navy);
  font: 400 21px / 1.25 Georgia, serif;
}

.cp-info-link {
  display: inline-block;
  margin-top: 7px;

  color: var(--cp-navy);
  font-size: clamp(15px, 1.8vw, 22px);
  line-height: 1.4;

  overflow-wrap: anywhere;
}

.cp-info-item p {
  margin: 5px 0 0;

  color: var(--cp-navy);
  font-size: 15px;
  line-height: 1.45;
}


/* =========================================
   MAIN CONTACT SECTION
========================================= */

.cp-main {
  position: relative;
  isolation: isolate;

  padding: 10px 0 55px;

  background-color: var(--cp-ivory);

  background-image:
    linear-gradient(
      130deg,
      rgba(251, 247, 242, .96) 0%,
      rgba(251, 247, 242, .91) 42%,
      rgba(251, 247, 242, .28) 100%
    ),
    url("./images/Corporate%20Handshake%20in%20Industry%20(1).png");

  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.cp-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 55px);
}


/* =========================================
   FORM CARD
========================================= */

.cp-form-card {
  position: relative;
  z-index: 1;

  min-width: 0;
  padding: 25px 30px 28px;

  border: 1px solid rgba(17, 39, 58, .08);
  border-radius: 18px;

  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 15px rgba(16, 35, 50, .10);
}

.cp-form-heading {
  margin-bottom: 24px;
}

.cp-heading-line {
  width: 100%;
  max-width: 350px;
  height: 1px;
  margin-bottom: 9px;

  background: linear-gradient(
    90deg,
    var(--cp-gold),
    transparent
  );
}

.cp-form-heading h2 {
  margin: 0;

  color: var(--cp-navy);
  font: 400 clamp(30px, 3.8vw, 44px) / 1.12 Georgia, serif;
  letter-spacing: -.6px;
}

.cp-form-heading p {
  margin: 8px 0 0;

  color: var(--cp-navy);
  font-size: 16px;
  line-height: 1.5;
}


/* =========================================
   FORM FIELDS
========================================= */

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.cp-field {
  min-width: 0;
}

.cp-field input,
.cp-field select,
.cp-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;

  border: 1px solid var(--cp-border);
  border-radius: 8px;

  background: rgba(255, 255, 255, .8);
  color: var(--cp-navy);

  font-family: inherit;
  font-size: 16px;

  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cp-field input,
.cp-field select {
  min-height: 51px;
  padding: 0 14px;
}

.cp-field select {
  cursor: pointer;
  appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2309243b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 14px center;

  padding-right: 42px;
}

.cp-field select:invalid {
  color: #6e829b;
}

.cp-field textarea {
  min-height: 132px;
  padding: 14px;

  resize: vertical;
  line-height: 1.5;
}

.cp-field input::placeholder,
.cp-field textarea::placeholder {
  color: #6e829b;
  opacity: 1;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
  border-color: var(--cp-gold);
  box-shadow: 0 0 0 3px rgba(212, 154, 75, .14);
}


/* =========================================
   SEND MESSAGE BUTTON
========================================= */

.cp-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  width: 100%;
  min-height: 55px;
  padding: 12px 20px;

  border: 0;
  border-radius: 9px;

  background: var(--cp-navy);
  color: #fff;

  font-family: inherit;
  font-size: 21px;

  cursor: pointer;

  transition: background .2s ease, transform .2s ease;
}

.cp-submit-button span {
  color: #e2a04b;
  font-size: 32px;
  line-height: 1;
}

.cp-submit-button:hover {
  background: var(--cp-navy-light);
}

.cp-submit-button:active {
  transform: translateY(1px);
}


/* =========================================
   COMMITMENT SECTION
========================================= */

.cp-commitment {
  position: relative;
  z-index: 1;

  min-width: 0;
  padding: 30px 0;
}

.cp-commitment-eyebrow {
  gap: 10px;
}

.cp-commitment-eyebrow span {
  width: 28px;
}

.cp-commitment h2 {
  margin: 15px 0 22px;

  color: var(--cp-navy);
  font: 400 clamp(30px, 3.8vw, 43px) / 1.12 Georgia, serif;
  letter-spacing: -.5px;
}

.cp-commitment h2 em {
  color: var(--cp-gold);
  font-weight: 400;
}

.cp-commitment-description {
  max-width: 430px;
  margin: 0;

  color: var(--cp-navy);
  font-size: 16px;
  line-height: 1.6;
}

.cp-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin: 18px 0 0;
  padding: 0;

  list-style: none;
}

.cp-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--cp-navy);
  font-size: 16px;
  line-height: 1.5;
}

.cp-benefits li span {
  flex-shrink: 0;

  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: var(--cp-gold);
  color: white;

  font-size: 15px;
  font-weight: 700;
}


/* =========================================
   BOTTOM CTA BANNER
========================================= */

.cp-cta {
  padding: 0 0 25px;
  background: var(--cp-ivory);
}

.cp-cta-inner {
  display: flex;
  align-items: center;
  gap: 30px;

  min-height: 130px;
  padding: 22px 30px;

  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      rgba(6, 31, 49, .99),
      rgba(6, 31, 49, .88)
    ),
    url("./images/contact-cta.jpg") center / cover no-repeat;

  color: white;
}

.cp-cta-icon {
  flex-shrink: 0;

  width: 150px;
  min-height: 78px;

  display: grid;
  place-items: center;

  border-right: 1px solid var(--cp-gold);
  padding-right: 25px;
}

.cp-cta-icon svg {
  width: 85px;
  height: 85px;

  fill: none;
  stroke: #e5a044;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cp-cta-content {
  flex: 1;
  min-width: 0;
}

.cp-cta-content h2 {
  margin: 0;

  color: white;
  font: 400 clamp(22px, 2.8vw, 32px) / 1.2 Georgia, serif;
}

.cp-cta-content p {
  margin: 5px 0 0;

  color: #f4f4f4;
  font-size: 16px;
  line-height: 1.5;
}

.cp-cta-button {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 13px 22px;

  border-radius: 30px;
  background: #dda451;
  color: var(--cp-navy);

  font-size: 15px;
  white-space: nowrap;

  transition: background .2s ease, transform .2s ease;
}

.cp-cta-button:hover {
  background: #edb86d;
  transform: translateY(-2px);
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1000px) {

  .cp-main-grid {
    gap: 28px;
  }

  .cp-form-card {
    padding: 25px 22px;
  }

  .cp-form-heading h2 {
    font-size: 34px;
  }

  .cp-commitment h2 {
    font-size: 34px;
  }

  .cp-cta-inner {
    gap: 20px;
    padding: 22px;
  }

  .cp-cta-icon {
    width: 110px;
    padding-right: 18px;
  }

  .cp-cta-icon svg {
    width: 70px;
    height: 70px;
  }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 760px) {

  .contact-page .container {
    width: min(100% - 32px, 600px);
  }


  /* Hero */

  .cp-hero {
    min-height: 320px;

    background-image:
      linear-gradient(
        90deg,
        rgba(5, 29, 47, .96),
        rgba(5, 29, 47, .65)
      ),
      url("./images/contact-hero.jpg");

    background-position: center, center;
    background-size: cover, cover;
  }

  .cp-hero-content {
    padding: 45px 0;
  }

  .cp-hero h1 {
    font-size: clamp(44px, 11vw, 60px);
  }

  .cp-hero-description {
    font-size: 16px;
  }


  /* Contact information */

  .cp-contact-info {
    padding: 30px 0;
  }

  .cp-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cp-info-item {
    padding: 0 0 24px;

    border-bottom: 1px solid rgba(212, 154, 75, .5);
  }

  .cp-info-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .cp-info-item:not(:last-child)::after {
    display: none;
  }

  .cp-info-icon {
    width: 58px;
    height: 58px;
  }

  .cp-info-icon svg {
    width: 34px;
    height: 34px;
  }

  .cp-info-link {
    font-size: 20px;
  }


  /* Main section */

  .cp-main {
    padding: 15px 0 35px;

    background-color: var(--cp-ivory);

    background-image:
      linear-gradient(
        180deg,
        rgba(251, 247, 242, .94),
        rgba(251, 247, 242, .84)
      ),
      url("./images/Corporate%20Handshake%20in%20Industry%20(1).png");

    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }

  .cp-main-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .cp-form-card {
    padding: 24px 20px;
    border-radius: 15px;
  }

  .cp-form-heading h2 {
    font-size: 32px;
  }

  .cp-form-heading p {
    font-size: 15px;
  }

  .cp-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .cp-field input,
  .cp-field select {
    min-height: 50px;
  }

  .cp-field textarea {
    min-height: 125px;
  }

  .cp-submit-button {
    font-size: 19px;
  }


  /* Commitment */

  .cp-commitment {
    padding: 20px 0 10px;
  }

  .cp-commitment h2 {
    font-size: 34px;
  }

  .cp-commitment-description {
    font-size: 15px;
  }


  /* CTA */

  .cp-cta {
    padding: 0 0 25px;
  }

  .cp-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    padding: 25px 22px;
    border-radius: 15px;
  }

  .cp-cta-icon {
    width: 100%;
    min-height: auto;

    display: flex;
    justify-content: flex-start;

    border-right: 0;
    border-bottom: 1px solid var(--cp-gold);

    padding: 0 0 15px;
  }

  .cp-cta-icon svg {
    width: 65px;
    height: 65px;
  }

  .cp-cta-content h2 {
    font-size: 26px;
  }

  .cp-cta-content p {
    font-size: 14px;
  }

  .cp-cta-button {
    padding: 12px 22px;
  }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 420px) {

  .contact-page .container {
    width: calc(100% - 28px);
  }

  .cp-hero h1 {
    font-size: 42px;
  }

  .cp-hero .cp-eyebrow {
    font-size: 11px;
  }

  .cp-hero .cp-eyebrow span {
    width: 22px;
  }

  .cp-form-card {
    padding: 22px 16px;
  }

  .cp-form-heading h2 {
    font-size: 29px;
  }

  .cp-commitment h2 {
    font-size: 30px;
  }

  .cp-cta-content h2 {
    font-size: 23px;
  }

  .cp-cta-inner {
    padding: 22px 18px;
  }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

}
