/* RED CO — front page sections. Tokens come from global.css. */

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }

/* ---------------------------------------------------------------- Hero */
.hero { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero__grid {
  display: grid; align-items: center; gap: 56px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  padding-block: 96px 112px;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }

.hero__panel {
  display: flex; flex-direction: column; gap: 4px; padding: 40px;
  background: var(--navy); color: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lift);
}
.hero__panel-title {
  padding-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-on-navy);
}
.hero__panel a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff; text-decoration: none; font-size: 20px; font-weight: 600;
}
.hero__panel a:last-child { border-bottom: 0; }
.hero__panel a:hover { color: #fff; }
.hero__arrow { color: var(--red-on-navy); transition: transform .2s ease; }
.hero__panel a:hover .hero__arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .hero__grid { padding-block: 56px 72px; gap: 40px; }
  .hero__lead { font-size: 17px; }
  .hero__panel { padding: 28px; }
  .hero__panel a { font-size: 18px; }
}

/* ------------------------------------------------------------ Services */
.services { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.card {
  display: flex; flex-direction: column; gap: 18px; padding: 36px 32px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card p { color: var(--muted); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.card__icon svg { width: 28px; height: 28px; }
.card__head { display: flex; flex-direction: column; gap: 6px; }
.card__head h3 { font-size: 24px; line-height: 1.25; }
.card__eyebrow { font-size: 13px; font-weight: 600; color: var(--navy-2); }
.card__points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.card__points li { display: flex; gap: 10px; }
.card__points li::before { content: "—"; color: var(--red); font-weight: 700; }
.card__cta { margin-top: auto; font-weight: 600; color: var(--red); text-decoration: none; padding-block: 8px; }
.card__cta:hover { color: var(--red-dark); text-decoration: underline; }

.card--dark { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.card--dark p { color: var(--on-navy); }
.card--dark h3 { color: #fff; }
.card--dark .card__icon { background: rgba(255, 255, 255, .08); color: #fff; }
.card--dark .card__eyebrow { color: var(--red-on-navy); }
.card--dark .card__points li::before { color: var(--red-on-navy); }
.card--dark .card__cta, .card--dark .card__cta:hover { color: #fff; }

/* --------------------------------------------------------------- Stats */
.stats { background: var(--navy); color: #fff; }
.stats__grid {
  display: grid; gap: 32px; padding-block: 72px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.stats__item { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; border-left: 2px solid var(--red); }
.stats__item strong { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.stats__item span { color: var(--on-navy-muted); font-size: 15px; }

/* --------------------------------------------------------------- Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.step p { color: var(--muted); font-size: 15px; }
.step__num {
  width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.step__num--first { background: var(--red); }

/* ----------------------------------------------------------------- Why */
.why { display: grid; gap: 56px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.why__copy { display: flex; flex-direction: column; gap: 16px; }
.why__copy p { color: var(--muted); font-size: 17px; }
.why__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.reason { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--bg); border-radius: var(--radius-md); }
.reason__icon { color: var(--red); }
.reason__icon svg { width: 26px; height: 26px; }
.reason h3 { font-size: 17px; }
.reason p { font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------- Contact */
.contact { display: grid; gap: 56px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.contact__copy > p { color: var(--muted); font-size: 17px; }
.contact__list { margin: 0; padding: 8px 0 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact__icon svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- Form */
.contact-form {
  display: flex; flex-direction: column; gap: 18px; padding: 36px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(10, 47, 65, .08);
}
.contact-form__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid #C9CED4; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; border-color: var(--navy-2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red-dark); min-height: 0; }
.field__error:empty { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-form__status { font-size: 15px; }
.contact-form__status.is-success { color: #1F6B3A; font-weight: 600; }
.contact-form__status.is-error { color: var(--red-dark); }
.contact-form__noscript { padding: 14px 16px; background: var(--bg-alt); border-radius: var(--radius-sm); }

@media (max-width: 640px) {
  .contact-form { padding: 24px; }
}

/* Without JS the form cannot get its token; show only the <noscript> note. */
html:not(.has-js) .contact-form > :not(noscript) { display: none; }
