/* ==========================================================================
   Edglow - About / Contact page layout
   Full-width bands on desktop, clean single column on mobile.
   ========================================================================== */

.edg-page {
  --edg-p-deep:  #0A2E2A;
  --edg-p-green: #123F39;
  --edg-p-text:  #223A35;
  --edg-p-muted: #4A5A55;
  --edg-p-gold:  #B88C59;
  --edg-p-cream: #F8F5EF;
  --edg-p-alt:   #F1EBE1;
  --edg-p-line:  rgba(10, 46, 42, .12);
  --edg-p-wide:  1240px;

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  color: var(--edg-p-text);
  overflow-x: clip;
}

.edg-page * { box-sizing: border-box; }

.edg-page__hero,
.edg-page__band,
.edg-page__cta {
  padding-inline: clamp(20px, 4vw, 48px);
}

.edg-page__hero > *,
.edg-page__band > *,
.edg-page__cta > * {
  max-width: var(--edg-p-wide);
  margin-inline: auto;
}

/* ---------------------------------------------------------------- hero --- */

.edg-page__hero {
  padding-block: clamp(48px, 5.5vw, 86px) clamp(34px, 4vw, 58px);
  text-align: center;
}

.edg-page__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--edg-p-gold);
}

.edg-page__title {
  margin: 0 0 20px;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.024em;
  color: var(--edg-p-deep);
}

.edg-page__lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  font-weight: 450;
  line-height: 1.8;
  color: var(--edg-p-muted);
}

.edg-page__lead--sm { font-size: 16.5px; }
.edg-page__lead strong { color: var(--edg-p-deep); font-weight: 600; }

/* --------------------------------------------------------------- bands --- */

.edg-page__band {
  padding-block: clamp(44px, 4.6vw, 76px);
  border-top: 1px solid var(--edg-p-line);
}

.edg-page__band--alt { background: var(--edg-p-alt); }

.edg-page__h2 {
  margin: 0 0 clamp(24px, 2.4vw, 38px);
  font-family: inherit;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--edg-p-deep);
  text-align: center;
}

.edg-page__h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 16px auto 0;
  background: var(--edg-p-gold);
  opacity: .6;
}

.edg-page__note {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--edg-p-muted);
  text-align: center;
}

/* The note under the numbered steps shares the steps' exact box, so its
   text starts on the same line as the step text. Forced, because the band
   wrapper also sets a width on every direct child. */
.edg-page__band .edg-steps,
.edg-page__band .edg-steps + .edg-page__note {
  width: 100% !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.edg-page__band .edg-steps + .edg-page__note {
  margin-top: 30px !important;
  padding-top: 22px;
  padding-left: 52px;
  border-top: 1px solid var(--edg-p-line);
  text-align: left;
}

.edg-page__note a,
.edg-page__lead a {
  color: var(--edg-p-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------------- values --- */

.edg-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.edg-value {
  padding: clamp(22px, 2vw, 30px);
  background: #FFFDFA;
  border: 1px solid var(--edg-p-line);
  border-radius: 4px;
}

.edg-value__title {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--edg-p-deep);
}

.edg-value__copy {
  margin: 0;
  font-size: 15.5px;
  font-weight: 450;
  line-height: 1.7;
  color: var(--edg-p-muted);
}

/* ---------------------------------------------------------- categories --- */

.edg-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.edg-cat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(22px, 2vw, 30px);
  background: #FFFDFA;
  border: 1px solid var(--edg-p-line);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}

.edg-cat:hover { border-color: var(--edg-p-gold); transform: translateY(-3px); }

.edg-cat__name {
  font-size: 19px;
  font-weight: 600;
  color: var(--edg-p-deep);
}

.edg-cat__copy {
  font-size: 15px;
  font-weight: 450;
  line-height: 1.65;
  color: var(--edg-p-muted);
}

.edg-cat__more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--edg-p-green);
}

/* --------------------------------------------------------------- steps --- */

.edg-steps {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: edg;
}

.edg-steps li {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 0 52px;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.75;
  color: var(--edg-p-muted);
}

.edg-steps li::before {
  counter-increment: edg;
  content: counter(edg);
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--edg-p-gold);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--edg-p-green);
}

.edg-steps strong { color: var(--edg-p-deep); font-weight: 600; }

/* ----------------------------------------------------------------- cta --- */

.edg-page__cta {
  padding-block: clamp(46px, 5vw, 80px);
  background: var(--edg-p-alt);
  border-top: 1px solid var(--edg-p-line);
  text-align: center;
}

.edg-page__cta .edg-page__h2 { color: var(--edg-p-deep); }
.edg-page__cta .edg-page__lead { color: var(--edg-p-muted); }

.edg-page__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.edg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 38px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.edg-btn--solid { background: var(--edg-p-green); border: 1px solid var(--edg-p-green); color: #FFFFFF; }
.edg-btn--solid:hover { background: var(--edg-p-deep); border-color: var(--edg-p-deep); color: #FFFFFF; }

.edg-btn--ghost { background: transparent; border: 1px solid var(--edg-p-green); color: var(--edg-p-green); }
.edg-btn--ghost:hover { background: var(--edg-p-green); border-color: var(--edg-p-green); color: #FFFFFF; }

/* ====================================================== contact: reach --- */

.edg-reach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.edg-reach__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(24px, 2.2vw, 32px);
  background: #FFFDFA;
  border: 1px solid var(--edg-p-line);
  border-radius: 4px;
}

.edg-reach__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8A6432;
}

.edg-reach__value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--edg-p-deep);
  text-decoration: none;
  word-break: break-word;
}

a.edg-reach__value:hover { color: var(--edg-p-green); text-decoration: underline; }

.edg-reach__note {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.65;
  color: var(--edg-p-muted);
}

/* ======================================================= contact: form --- */

.edg-form {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(24px, 2.6vw, 40px);
  background: #FFFDFA;
  border: 1px solid var(--edg-p-line);
  border-radius: 4px;
}

.edg-form .edg-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.edg-form .edg-form__field { margin: 0; }
.edg-form .edg-form__field--full { grid-column: 1 / -1; }

.edg-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--edg-p-deep);
}

.edg-form input[type="text"],
.edg-form input[type="email"],
.edg-form input[type="tel"],
.edg-form select,
.edg-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(10, 46, 42, .18);
  border-radius: 3px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--edg-p-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.edg-form textarea { min-height: 150px; line-height: 1.7; resize: vertical; }

.edg-form input:focus,
.edg-form select:focus,
.edg-form textarea:focus {
  outline: none;
  border-color: var(--edg-p-green);
  box-shadow: 0 0 0 3px rgba(18, 63, 57, .09);
}

.edg-form ::placeholder { color: #93A19C; font-weight: 400; }

.edg-form .edg-form__submit { margin: 24px 0 0; }

.edg-form input[type="submit"],
.edg-form .wpcf7-submit {
  width: 100%;
  min-height: 56px;
  padding: 16px 34px;
  border: 1px solid var(--edg-p-green);
  border-radius: 2px;
  background: var(--edg-p-green);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease;
}

.edg-form input[type="submit"]:hover,
.edg-form .wpcf7-submit:hover { background: var(--edg-p-deep); border-color: var(--edg-p-deep); }

.edg-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #B3261E;
}

.edg-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--edg-p-line) !important;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: var(--edg-p-text);
}

.edg-form .wpcf7-spinner { margin-inline: 12px; }

/* ======================================================== contact: faq --- */

.edg-cfaq {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--edg-p-line);
}

.edg-cfaq__item { border-bottom: 1px solid var(--edg-p-line); }

.edg-cfaq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--edg-p-deep);
  cursor: pointer;
  list-style: none;
}

.edg-cfaq__q::-webkit-details-marker { display: none; }

.edg-cfaq__q::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4a44' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .25s ease;
}

.edg-cfaq__item[open] .edg-cfaq__q::after { transform: rotate(45deg); }

.edg-cfaq__a {
  padding: 0 2px 22px;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.75;
  color: var(--edg-p-muted);
}

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1024px) {
  .edg-values,
  .edg-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edg-reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .edg-values,
  .edg-cats,
  .edg-reach { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .edg-form .edg-form__grid { grid-template-columns: minmax(0, 1fr); }
  .edg-form { padding: 20px; }
  .edg-cfaq__q { font-size: 16px; }
  .edg-cfaq__a { font-size: 15.5px; }
  .edg-page__title { font-size: 30px; }
  .edg-page__lead { font-size: 16px; }
  .edg-steps li { padding-left: 44px; font-size: 15.5px; }
  .edg-steps li::before { width: 28px; height: 28px; }
  .edg-page__band .edg-steps + .edg-page__note { padding-left: 44px; }
  .edg-btn { width: 100%; }
}
