/* ========================================
   CONTACT PAGE — Deck&Co
   Scoped under .deckco-contact
   ======================================== */

/* ---- PAGE HERO (Interior pages) ---- */

.deckco-contact .page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background: var(--forest-dark);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.deckco-contact .page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,59,43,0.88) 0%, rgba(26,26,26,0.72) 50%, rgba(44,59,43,0.65) 100%);
}

.deckco-contact .page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.3) 40px,
    rgba(255,255,255,0.3) 41px
  );
}

.deckco-contact .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.deckco-contact .page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.deckco-contact .page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease);
}

.deckco-contact .page-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.deckco-contact .page-hero__breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.4;
}

.deckco-contact .page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.deckco-contact .page-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
}

.deckco-contact .page-hero__subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

/* ========================================
   CONTACT CARDS
   ======================================== */

.deckco-contact .contact-cards {
  padding: var(--section-pad) 0 var(--section-pad-sm);
}

.deckco-contact .contact-cards__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.deckco-contact .contact-cards__header .eyebrow {
  margin-bottom: 16px;
}

.deckco-contact .contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.deckco-contact .contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: clamp(28px, 3vw, 44px);
  text-align: center;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.deckco-contact .contact-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.deckco-contact .contact-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--forest);
}

.deckco-contact .contact-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.deckco-contact .contact-card__detail {
  font-size: 15px;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 12px;
}

.deckco-contact .contact-card__detail a {
  color: var(--forest);
  transition: color 0.3s var(--ease);
}

.deckco-contact .contact-card__detail a:hover {
  color: var(--forest-dark);
}

.deckco-contact .contact-card__meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.deckco-contact .contact-card__divider {
  width: 32px;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: 16px auto;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.deckco-contact .contact-form-section {
  padding: 0 0 var(--section-pad);
}

.deckco-contact .contact-form__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.deckco-contact .contact-form__intro .eyebrow {
  margin-bottom: 20px;
}

.deckco-contact .contact-form__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.deckco-contact .contact-form__heading em {
  font-style: italic;
  color: var(--forest);
}

.deckco-contact .contact-form__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
}

.deckco-contact .contact-form__promise-list {
  list-style: none;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deckco-contact .contact-form__promise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal-soft);
}

.deckco-contact .contact-form__promise-list li svg {
  width: 18px;
  height: 18px;
  color: var(--forest);
  flex-shrink: 0;
}

/* Form Styles */
.deckco-contact .contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: clamp(28px, 3.5vw, 48px);
}

.deckco-contact .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deckco-contact .form__group {
  margin-bottom: 24px;
}

.deckco-contact .form__group--full {
  grid-column: span 2;
}

.deckco-contact .form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.deckco-contact .form__label span {
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  opacity: 0.7;
}

.deckco-contact .form__input,
.deckco-contact .form__select,
.deckco-contact .form__textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.deckco-contact .form__input::placeholder,
.deckco-contact .form__textarea::placeholder {
  color: #B8B8B8;
  font-weight: 300;
}

.deckco-contact .form__input:focus,
.deckco-contact .form__select:focus,
.deckco-contact .form__textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(58,78,57,0.08);
}

.deckco-contact .form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A7A7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
  cursor: pointer;
}

.deckco-contact .form__textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.deckco-contact .form__submit {
  width: 100%;
  margin-top: 8px;
}

.deckco-contact .form__note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ========================================
   CTA — PREFER TO TALK
   ======================================== */

.deckco-contact .contact-cta {
  padding: var(--section-pad-sm) 0;
  background: var(--sand-pale);
  position: relative;
  overflow: hidden;
}

.deckco-contact .contact-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.deckco-contact .contact-cta__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.deckco-contact .contact-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.15;
}

.deckco-contact .contact-cta__phone {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 16px;
  display: block;
  transition: color 0.3s var(--ease);
}

.deckco-contact .contact-cta__phone:hover {
  color: var(--forest-dark);
}

.deckco-contact .contact-cta__subtitle {
  font-size: 15px;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: 32px;
}

.deckco-contact .contact-cta__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.deckco-contact .contact-cta__hours svg {
  width: 16px;
  height: 16px;
  color: var(--forest);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .deckco-contact .contact-cards__grid {
    gap: 16px;
  }

  .deckco-contact .contact-card {
    padding: clamp(24px, 2.5vw, 36px);
  }

  .deckco-contact .contact-form__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Page Hero */
  .deckco-contact .page-hero {
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
  }

  .deckco-contact .page-hero__title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .deckco-contact .page-hero__subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Contact Cards — stack vertically, horizontal layout */
  .deckco-contact .contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deckco-contact .contact-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 24px;
  }

  .deckco-contact .contact-card__icon {
    width: 36px;
    height: 36px;
    margin: 0;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 2px;
  }

  .deckco-contact .contact-card__title {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .deckco-contact .contact-card__detail {
    margin-bottom: 0;
  }

  .deckco-contact .contact-card__divider {
    display: none;
  }

  .deckco-contact .contact-card__meta {
    grid-column: 2;
    font-size: 12px;
    margin-top: 4px;
  }

  /* Contact Form */
  .deckco-contact .contact-form__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .deckco-contact .contact-form__heading {
    font-size: clamp(24px, 6vw, 32px);
  }

  .deckco-contact .form__row {
    grid-template-columns: 1fr;
  }

  .deckco-contact .form__group--full {
    grid-column: auto;
  }

  .deckco-contact .contact-form {
    padding: clamp(20px, 4vw, 32px);
  }

  /* CTA */
  .deckco-contact .contact-cta__phone {
    font-size: clamp(28px, 7vw, 40px);
  }
}

@media (max-width: 480px) {
  .deckco-contact .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .deckco-contact .contact-card__icon {
    grid-row: auto;
    margin: 0 auto 12px;
  }

  .deckco-contact .contact-card__meta {
    grid-column: auto;
  }
}
