:root {
  --op-red: #ed1c24;
  --op-navy: #303949;
  --op-deep: #031b42;
  --op-muted: #667085;
  --op-soft: #f7f8fa;
  --op-line: #e5e7eb;
}

.primary-nav a.is-active {
  color: var(--op-red);
  font-weight: 700;
}

.interior-main {
  color: var(--op-navy);
}

.page-hero,
.page-section,
.page-cta,
.auth-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.page-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 72px;
  padding: 76px 48px;
  background: #fafafa;
}

.page-kicker,
.section-label {
  display: inline-block;
  color: var(--op-red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-hero h1,
.auth-art h1 {
  max-width: 720px;
  margin: 20px 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.page-hero h1 span,
.auth-art h1 span {
  color: var(--op-red);
}

.page-hero-copy > p,
.auth-art > p {
  max-width: 650px;
  color: var(--op-muted);
  font-size: 20px;
  line-height: 1.65;
}

.page-hero-art {
  display: grid;
  place-items: center;
}

.page-hero-art img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.page-section {
  padding: 96px 48px;
}

.page-section h2,
.page-cta h2,
.contact-details h2,
.booking-aside h2,
.quote-benefits h2 {
  margin: 14px 0 20px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 100px;
}

.prose-stack p,
.quote-benefits > p {
  color: var(--op-muted);
  font-size: 18px;
  line-height: 1.75;
}

.prose-stack p + p {
  margin-top: 20px;
}

.soft-section {
  background: var(--op-soft);
}

.centered-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.value-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--op-line);
  background: #fff;
}

.value-card strong {
  color: var(--op-red);
  font-size: 13px;
  letter-spacing: .12em;
}

.value-card h3,
.support-list h3,
.timeline-grid h3 {
  margin: 52px 0 12px;
  font-size: 23px;
}

.value-card p,
.support-list p,
.timeline-grid p {
  color: var(--op-muted);
  line-height: 1.65;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 96px;
  padding: 52px 64px;
  border-radius: 28px;
  background: var(--op-deep);
  color: #fff;
}

.page-cta h2 {
  margin-bottom: 0;
}

.inline-actions {
  display: flex;
  gap: 14px;
}

.primary-button,
.secondary-button,
.feature-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid var(--op-red);
  background: var(--op-red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button {
  border-color: #fff;
  background: transparent;
}

.feature-form {
  padding: 36px;
  border: 1px solid var(--op-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(48, 57, 73, .1);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading h2 {
  margin: 10px 0 8px;
  font-size: 32px;
}

.form-heading p,
.form-switch {
  color: var(--op-muted);
}

.feature-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--op-navy);
  font-size: 14px;
  font-weight: 700;
}

.feature-form input,
.feature-form select,
.feature-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d9dee7;
  border-radius: 10px;
  background: #f9fafb;
  color: var(--op-navy);
  font: inherit;
  font-weight: 400;
}

.feature-form textarea {
  resize: vertical;
}

.feature-form input:focus,
.feature-form select:focus,
.feature-form textarea:focus {
  outline: 3px solid rgba(237, 28, 36, .12);
  border-color: var(--op-red);
}

.feature-form > button {
  width: 100%;
  border-radius: 0;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.two-column {
  grid-template-columns: repeat(2, 1fr);
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.form-status {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 4px solid var(--op-red);
  background: #fff1f1;
  color: #8c1d22;
  line-height: 1.55;
}

.tracking-panel-section {
  padding-top: 0;
}

.tracking-form {
  max-width: 900px;
  margin: -42px auto 0;
  position: relative;
}

.tracking-entry > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.tracking-entry input {
  border-radius: 0;
}

.tracking-entry button {
  min-width: 180px;
}

.timeline-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
}

.timeline-grid li {
  padding: 28px;
  border-top: 3px solid var(--op-red);
  background: var(--op-soft);
}

.timeline-grid li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--op-deep);
  color: #fff;
  font-weight: 800;
}

.timeline-grid h3 {
  margin-top: 26px;
}

.finder-layout,
.contact-layout,
.booking-layout,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.support-list {
  display: grid;
  gap: 20px;
}

.support-list article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--op-line);
}

.support-list img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.support-list h3 {
  margin: 0 0 6px;
}

.contact-details {
  position: sticky;
  top: 30px;
}

.contact-details > a,
.contact-details > div {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--op-line);
  color: var(--op-navy);
  text-decoration: none;
}

.contact-details small {
  color: var(--op-red);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .75fr);
  gap: 70px;
  align-items: center;
  min-height: 760px;
  padding: 72px 48px 110px;
}

.auth-art img {
  width: 100%;
  max-height: 330px;
  margin-bottom: 36px;
  object-fit: contain;
}

.auth-shell-login .auth-art img {
  max-width: 560px;
  border-radius: 20px;
  object-fit: cover;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.form-switch {
  margin-top: 22px;
  text-align: center;
}

.form-switch a,
.form-options a {
  color: var(--op-red);
  font-weight: 700;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.booking-layout,
.quote-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
}

.booking-aside,
.quote-benefits {
  padding: 36px;
  background: var(--op-soft);
}

.booking-aside img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.booking-aside ul,
.quote-benefits ul {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.booking-aside li,
.quote-benefits li {
  padding-left: 28px;
  position: relative;
}

.booking-aside li::before,
.quote-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--op-red);
  font-weight: 900;
}

@media (max-width: 900px) {
  .page-hero,
  .split-section,
  .finder-layout,
  .contact-layout,
  .booking-layout,
  .quote-layout,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .page-hero {
    gap: 30px;
    padding: 54px 30px;
  }

  .page-hero-art {
    order: -1;
  }

  .page-hero-art img {
    max-height: 280px;
  }

  .split-section {
    gap: 32px;
  }

  .value-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-details {
    position: static;
  }

  .auth-shell {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .page-section,
  .page-cta,
  .auth-shell {
    width: calc(100% - 24px);
  }

  .page-hero {
    min-height: auto;
    padding: 38px 20px 48px;
  }

  .page-hero h1,
  .auth-art h1 {
    font-size: 42px;
  }

  .page-hero-copy > p,
  .auth-art > p {
    font-size: 17px;
  }

  .page-section,
  .auth-shell {
    padding: 64px 18px;
  }

  .value-grid,
  .timeline-grid,
  .two-column,
  .three-column {
    grid-template-columns: 1fr;
  }

  .page-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 60px;
    padding: 34px 26px;
  }

  .inline-actions {
    width: 100%;
    flex-direction: column;
  }

  .feature-form {
    padding: 24px 18px;
  }

  .tracking-entry > div {
    grid-template-columns: 1fr;
  }

  .tracking-entry button {
    min-height: 52px;
  }

  .support-list article {
    grid-template-columns: 58px 1fr;
    padding-inline: 0;
  }

  .support-list img {
    width: 52px;
    height: 52px;
  }

  .auth-art img {
    max-height: 220px;
  }
}
