/* ═══════════════════════════════════════════════════════
   trade.css  –  Deck&Co Trade & Hospitality page styles
   Page-specific only; base/header/footer in homepage.css
   ═══════════════════════════════════════════════════════ */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background: var(--forest-dark);
  overflow: hidden;
  background-image: url('../images/trade/hero.webp');
  background-size: cover;
  background-position: center;
}
.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%);
}
.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);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.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;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease);
}
.page-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}
.page-hero__breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.4;
}
.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;
}
.page-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
}
.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;
  margin-bottom: 32px;
}
.page-hero__cta {
  margin-top: 8px;
}

/* ── Benefits Section ── */
.benefits {
  padding: var(--section-pad) 0;
}
.benefits__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.benefits__header .eyebrow {
  margin-bottom: 16px;
}
.benefits__header .section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
}
.benefits__header .section-heading em {
  font-style: italic;
  color: var(--forest);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.benefit-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);
}
.benefit-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.benefit-card__icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.benefit-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.benefit-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ── Trusted By ── */
.trusted {
  padding: var(--section-pad-sm) 0;
  background: var(--sand-pale);
}
.trusted__inner {
  text-align: center;
}
.trusted__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.trusted__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trusted__pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal-soft);
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
}
.trusted__pill:hover {
  border-color: var(--forest);
  color: var(--forest);
}

/* ── How It Works / Process ── */
.process {
  padding: var(--section-pad) 0;
  background: var(--sand-pale);
}
.process__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.process__header .eyebrow {
  margin-bottom: 12px;
}
.process__header .section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
}
.process__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.process__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 14px);
  right: calc(16.66% + 14px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 clamp(12px, 2vw, 24px);
}
.process__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(58,78,57,0.2);
}
.process__step-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.process__step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 240px;
  margin: 0 auto;
}

/* ── Who Is Eligible ── */
.eligible {
  padding: var(--section-pad) 0;
}
.eligible__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.eligible__content .eyebrow {
  margin-bottom: 16px;
}
.eligible__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: 16px;
}
.eligible__heading em {
  font-style: italic;
  color: var(--forest);
}
.eligible__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 24px;
}
.eligible__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.eligible__list li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--charcoal-soft);
  font-weight: 300;
  padding-left: 28px;
  position: relative;
}
.eligible__list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--forest);
  position: absolute;
  left: 0;
  top: 13px;
  opacity: 0.6;
}
.eligible__callout {
  background: var(--card-bg);
  border-left: 3px solid var(--sand);
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 28px);
  border-radius: 0 4px 4px 0;
}
.eligible__callout p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal-soft);
}
.eligible__visual {
  position: relative;
}
.eligible__decorative {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand-pale);
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eligible__decorative-inner {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.eligible__decorative-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(58,78,57,0.2);
}
.eligible__decorative-icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}
.eligible__decorative-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.3;
}
.eligible__decorative-text em {
  font-style: italic;
  color: var(--forest);
}
.eligible__decorative-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}
.eligible__stat {
  text-align: center;
}
.eligible__stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
}
.eligible__stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ── FAQ Accordion ── */
.faq {
  padding: var(--section-pad) 0;
  background: var(--card-bg);
}
.faq__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.faq__header .eyebrow {
  margin-bottom: 16px;
}
.faq__header .section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
}
.faq__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child {
  border-top: 1px solid var(--border);
}
/* Boost specificity to beat WoodMart base.min.css :is(button) and Elementor kit */
.deckco-trade .faq__question {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: clamp(18px, 2.5vw, 28px) 0 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: var(--charcoal) !important;
  text-align: left !important;
  cursor: pointer;
  transition: color 0.3s var(--ease);
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  min-height: 0 !important;
}
.deckco-trade .faq__question:hover {
  color: var(--forest) !important;
}
.faq__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--charcoal-soft);
  transition: all 0.3s var(--ease);
}
.faq__icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.faq__item.active .faq__icon {
  border-color: var(--forest);
  background: var(--forest);
}
.faq__item.active .faq__icon::before {
  background: #fff;
}
.faq__item.active .faq__icon::after {
  background: #fff;
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.deckco-trade .faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.faq__answer-inner {
  padding-bottom: clamp(18px, 2.5vw, 28px);
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal-soft);
  font-weight: 300;
  max-width: 680px;
}

/* ── Application Form Section ── */
.application {
  padding: var(--section-pad) 0;
  background: var(--sand-pale);
}
.application__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.application__intro .eyebrow {
  margin-bottom: 20px;
}
.application__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;
}
.application__heading em {
  font-style: italic;
  color: var(--forest);
}
.application__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
}
.application__promise-list {
  list-style: none;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.application__promise-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal-soft);
}
.application__promise-list li svg {
  width: 18px;
  height: 18px;
  color: var(--forest);
  flex-shrink: 0;
}
.application__image {
  margin-top: 32px;
}
.application__image .img-placeholder {
  aspect-ratio: 3/2;
}

/* ── Override WoodMart CF7 styles ── */
/* Exclude submit, radio inputs, and radio wrapper from input overrides */
.deckco-trade .wpcf7 .wpcf7-form-control:not([type="submit"]):not([type="radio"]):not(.wpcf7-radio),
.deckco-trade .wpcf7 input[type="text"],
.deckco-trade .wpcf7 input[type="email"],
.deckco-trade .wpcf7 input[type="tel"],
.deckco-trade .wpcf7 input[type="url"],
.deckco-trade .wpcf7 textarea {
  border-radius: 2px !important;
  border: 1px solid var(--border) !important;
  background: var(--warm-white) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  padding: 14px 18px !important;
  height: auto !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  width: 100% !important;
}
.deckco-trade .wpcf7 .wpcf7-form-control:not([type="submit"]):not([type="radio"]):not(.wpcf7-radio):focus {
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 3px rgba(58, 78, 57, 0.08) !important;
}
/* Reset the radio wrapper — it's a span.wpcf7-form-control but NOT an input */
.deckco-trade .wpcf7 .wpcf7-radio {
  display: block !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
}
.deckco-trade .wpcf7 .wpcf7-form p {
  margin: 0;
}
/* Hide empty <p> tags CF7 generates — keep only ones containing form controls */
.application__form-wrap .wpcf7-form > p:not([class]):not(:has(.wpcf7-form-control-wrap)):not(:has(.wpcf7-form-control)) {
  display: none;
}

/* ── CF7 Form Styling ── */
.application__form-wrap .wpcf7 {
  width: 100%;
}
.application__form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.application__form-wrap .cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.application__form-wrap .cf7-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
/* CF7 wraps fields in <p> — make it transparent to the grid */
.application__form-wrap .cf7-row > p {
  display: contents;
}
/* Hide CF7's <br> between fields */
.application__form-wrap .cf7-row br {
  display: none;
}
.application__form-wrap .cf7-section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px;
}
.application__form-wrap .wpcf7-form-control:not([type="submit"]):not([type="radio"]) {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.application__form-wrap .wpcf7-form-control:not([type="submit"]):not([type="radio"]):focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(58, 78, 57, 0.08);
}
.application__form-wrap .wpcf7-form-control::placeholder {
  color: var(--muted);
  font-weight: 300;
}
/* CF7 radio items: rendered as <span> not <label> */
.application__form-wrap .wpcf7-list-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px !important;
  font-size: 14px;
  color: var(--charcoal-soft);
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.3s;
}
.application__form-wrap .wpcf7-list-item:hover {
  border-color: var(--forest);
  background: rgba(58, 78, 57, 0.03);
}
.application__form-wrap .wpcf7-list-item input[type="radio"] {
  accent-color: var(--forest);
  margin: 0;
  flex-shrink: 0;
}
.application__form-wrap .wpcf7-list-item-label {
  cursor: pointer;
}
.application__form-wrap textarea.wpcf7-form-control {
  min-height: 100px;
  resize: vertical;
}
/* Submit button — boost specificity to beat WoodMart :is(button) and our own form-control override */
.deckco-trade .application__form-wrap .wpcf7-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 16px 36px !important;
  border-radius: 2px !important;
  background: var(--forest) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.4s;
  margin-top: 24px;
  width: 100% !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
  min-height: 0 !important;
}
.deckco-trade .application__form-wrap .wpcf7-submit:hover {
  background: var(--forest-dark) !important;
}
.application__form-wrap .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 2px;
}
.application__form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}

/* ── CTA Section ── */
.trade-cta {
  padding: var(--section-pad-sm) 0;
  background: var(--sand-pale);
  position: relative;
  overflow: hidden;
}
.trade-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.trade-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;
}
.trade-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.15;
}
.trade-cta__subtitle {
  font-size: 15px;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.trade-cta__phone {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 32px;
  display: block;
  transition: color 0.3s var(--ease);
}
.trade-cta__phone:hover {
  color: var(--forest-dark);
}
.trade-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ── Image Placeholders ── */
.img-placeholder {
  width: 100%;
  background: var(--sand-pale);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-placeholder__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .application__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eligible__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eligible__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
  }
  .page-hero__title {
    font-size: clamp(30px, 8vw, 44px);
  }
  .page-hero__subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process__timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process__timeline::before {
    display: none;
  }
  .process__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 0;
  }
  .process__number {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .process__step-text {
    margin: 0;
  }

  .eligible__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .eligible__visual {
    order: -1;
    max-width: 100%;
  }

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

  .trade-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .trade-cta__actions .btn {
    justify-content: center;
  }
  .trade-cta__phone {
    font-size: clamp(28px, 7vw, 40px);
  }

  .application__form-wrap .cf7-row,
  .application__form-wrap .cf7-row--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .benefit-card {
    padding: 24px 20px;
  }
}
