/* ====================================================
   Gwynn Logistics — Form Pages
   Get a Live Quote, Request a Shipment Review,
   Send a Message
   Matches approved design HTML files
   ==================================================== */

/* ---- Shared: Action Hero (same pattern as other pages) ---- */
.action-hero {
  min-height: 520px;
  background:
    radial-gradient(circle at top right, rgba(12,117,185,.28), transparent 36%),
    radial-gradient(circle at bottom left, rgba(215,25,32,.10), transparent 26%),
    linear-gradient(115deg, #071a2d 0%, #0d2d4d 58%, #123b62 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  padding: 82px var(--section-px) 78px;
  align-items: center;
  overflow: hidden;
}

.action-hero h1 {
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0 0 22px;
  max-width: 900px;
}

.action-hero .hero-intro {
  font-size: 21px;
  line-height: 1.52;
  color: #dceaf7;
  margin: 0;
  max-width: 820px;
}

.action-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action-pill {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #d9e8f7;
  font-size: 13px;
  font-weight: 800;
}

.action-hero-panel {
  background: rgba(255,255,255,.96);
  color: var(--color-text);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.30);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.45);
}

.action-hero-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--color-text);
}

.action-hero-panel > p {
  margin: 0;
  color: #40566d;
  font-size: 16px;
  line-height: 1.55;
}

.hero-check-list {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.hero-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: #30465d;
  font-size: 15px;
  line-height: 1.45;
}

.hero-check .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff3f4;
  color: var(--color-red);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

/* ---- Action Main: 2-col form layout ---- */
.action-main {
  padding: 76px var(--section-px);
  background:
    radial-gradient(circle at top right, rgba(12,117,185,.10), transparent 34%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 28px;
  align-items: start;
}

/* ---- Quote Form Shell (left column) ---- */
.quote-form-shell {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(8,27,47,.08);
}

.quote-form-top {
  background:
    radial-gradient(circle at top right, rgba(12,117,185,.18), transparent 38%),
    linear-gradient(135deg, #07192b 0%, #0d2d4d 100%);
  color: #ffffff;
  padding: 28px 30px;
}

.quote-kicker {
  color: #ffb7bc;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 10px;
}

.quote-form-top h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.6px;
}

.quote-form-top p {
  margin: 0;
  color: #d9e8f7;
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 760px;
}

.quote-form-body {
  padding: 30px;
}

.quote-form-body .form-field input,
.quote-form-body .form-field select,
.quote-form-body .form-field textarea,
.quote-form-body .wpcf7-form-control-wrap input,
.quote-form-body .wpcf7-form-control-wrap select,
.quote-form-body .wpcf7-form-control-wrap textarea {
  background: #f9fbfd;
}

.form-note,
.general-message-note {
  margin-top: 18px;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.55;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

/* CF7 submit button override for form pages */
.quote-form-body .wpcf7-submit {
  border-radius: 999px;
  padding: 14px 22px;
  width: auto;
  margin-top: 0;
}

.quote-form-alt {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
}

.quote-form-alt:hover { text-decoration: underline; }

/* ---- Support Card (right column) ---- */
.quote-support-card {
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(8,27,47,.08);
}

.quote-support-top {
  background: #ffffff;
  border-bottom: 1px solid #e8eef5;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}

.quote-support-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: #fff3f4;
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.quote-support-label {
  color: var(--color-text-light);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 6px;
}

.quote-support-top h2 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: -.5px;
}

.quote-support-top a.phone-link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.5px;
  margin-bottom: 7px;
}

.quote-support-top a.phone-link:hover { color: var(--color-red); }

.quote-support-top p {
  margin: 0;
  color: var(--color-text-mid);
  font-size: 14.5px;
  line-height: 1.45;
}

/* Extensions 2-col grid */
.quote-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quote-support-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #e8eef5;
  border-right: 1px solid #e8eef5;
  align-items: start;
  min-height: 112px;
}

.quote-support-row:nth-child(2n)   { border-right: 0; }
.quote-support-row:last-child      { border-bottom: 0; }
.quote-support-row:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

.quote-support-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff3f4;
  color: var(--color-red);
  border-radius: 999px;
  min-width: 54px;
  height: 32px;
  font-size: 13px;
  font-weight: 900;
}

.quote-support-row:nth-child(2) .quote-support-pill { background: #eef7fd; color: #0c75b9; }
.quote-support-row:nth-child(3) .quote-support-pill,
.quote-support-row:nth-child(4) .quote-support-pill,
.quote-support-row:nth-child(5) .quote-support-pill { background: #f1f4f8; color: #07192b; }

.quote-support-row h3 {
  margin: 0 0 4px;
  color: var(--color-text);
  font-size: 16.5px;
  line-height: 1.2;
}

.quote-support-row p {
  margin: 0;
  color: var(--color-text-mid);
  font-size: 14px;
  line-height: 1.45;
}

.quote-support-footer {
  padding: 18px 22px 22px;
  background: #f7f9fc;
  border-top: 1px solid #e8eef5;
}

.quote-support-footer p {
  margin: 0;
  color: var(--color-text-mid);
  font-size: 14px;
  line-height: 1.5;
}

.quote-support-footer a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 900;
}

.quote-support-footer a:hover { text-decoration: underline; }

/* ---- Alternate Actions (bottom 3 cards) ---- */
.alternate-actions {
  padding: 70px var(--section-px);
  background: #ffffff;
}

.alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.alt-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(8,27,47,.06);
  padding: 24px;
  min-height: 210px;
}

.alt-label {
  color: var(--color-red);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}

.alt-card h3 {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.15;
}

.alt-card p {
  margin: 0 0 18px;
  color: var(--color-text-mid);
  line-height: 1.55;
  font-size: 15px;
}

.alt-card a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
}

.alt-card a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .action-hero   { grid-template-columns: 1fr; }
  .action-hero h1 { font-size: 46px; }
  .action-main   { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .action-hero h1             { font-size: 38px; }
  .alt-grid                   { grid-template-columns: 1fr; }
  .quote-support-grid         { grid-template-columns: 1fr; }
  .quote-support-row,
  .quote-support-row:nth-child(2n) { border-right: 0; }
  .quote-support-row:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #e8eef5; }
}
