/* ============================================================
   TOTES OF LOVE - Custom boxes (/corporate)
   Sits on top of theme.css, so the page shares the main site's
   nav, hero, buttons, FAQ, form fields and footer. Only what the
   main page doesn't have lives here. Tote Track (track.html)
   still uses corporate.css and style.css.
   ============================================================ */

/* ---------- Hero ---------- */
.hero-split {
  align-items: center;
  background:
    radial-gradient(60% 70% at 82% 38%, rgba(194, 48, 95, .34) 0%, rgba(194, 48, 95, 0) 70%),
    radial-gradient(50% 60% at 6% 100%, rgba(142, 39, 71, .5) 0%, rgba(142, 39, 71, 0) 70%),
    linear-gradient(160deg, var(--plum) 0%, var(--dusk) 100%);
}
.hero-split .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: calc(var(--nav-h) + 48px) clamp(56px, 7vw, 96px);
}
.hero-split h1 { max-width: 12ch; }
.hero-media { margin: 0; justify-self: end; width: 100%; max-width: 540px; }
.hero-media .mask {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .7), 0 0 0 1px rgba(250, 246, 238, .12);
}
.hero-media figcaption {
  margin-top: 14px;
  font: italic 500 1.05rem / 1.35 var(--font-accent);
  color: rgba(250, 246, 238, .72);
}

/* ---------- What we customize ---------- */
.cx { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.cx .lede { margin-bottom: 8px; }
.cx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: 48px; }
.cx-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 2.6vw, 36px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cx-card:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -28px rgba(58, 24, 38, .45); }
.cx-card .num { display: block; font: 500 2.6rem / 1 var(--font-accent); color: var(--rose); opacity: .6; margin-bottom: 16px; }
.cx-card h3 { font: 500 1.35rem / 1.25 var(--font-display); color: var(--ink); margin-bottom: 10px; }
.cx-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Example box ---------- */
.ex { background: var(--cream-2); }
.ex-title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.ex .text-link { align-self: center; }

/* ---------- Quote band ---------- */
.band-quote {
  height: auto;
  min-height: min(46vh, 400px);
  padding-block: clamp(56px, 8vw, 110px);
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(194, 48, 95, .45) 0%, rgba(194, 48, 95, 0) 70%),
    linear-gradient(160deg, var(--plum) 0%, var(--dusk) 100%);
}
.band-quote::after { display: none; }

/* ---------- Pricing ---------- */
.pricing { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.pricing-inner > * { min-width: 0; }
.pricing-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pricing .lede { margin-bottom: 30px; }
.pricing .lede strong { color: var(--ink); font-weight: 600; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.price-table { width: 100%; min-width: 400px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th { font: 500 11px / 1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); background: var(--cream-2); }
.price-table tbody th { font: 500 15.5px var(--font-body); color: var(--ink); }
.price-table td { font-size: 14px; color: var(--taupe); }
.price-table td.price { font: 500 1.5rem / 1 var(--font-display); color: var(--rose); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tr.is-best { background: rgba(201, 168, 76, .1); }
.pricing-aside { margin-top: 18px; font-size: 14px; color: var(--taupe); }
.pricing-aside a { color: var(--rose); }

.calc { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 2.6vw, 34px); }
.calc-title { font: 500 1.35rem / 1.25 var(--font-display); color: var(--ink); margin-bottom: 20px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.calc-row label { font: 500 15px var(--font-body); color: var(--ink); }
.calc-input { width: 120px; height: 46px; }
.calc-out { border-top: 1px solid var(--line); padding-top: 18px; min-height: 120px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.calc-out a { color: var(--rose); }
.calc-line { display: flex; justify-content: space-between; gap: 14px; }
.calc-line--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font: 500 1.35rem / 1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-note { color: var(--taupe); font-size: 14px; font-style: italic; }
.calc-fine { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--taupe); }

/* ---------- Inquiry ---------- */
.inquiry { padding-block: var(--section-y); background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.inquiry-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.inquiry-intro { position: sticky; top: calc(var(--nav-h) + 24px); }
.inquiry-intro .h2 { max-width: 14ch; }
.inquiry-intro .lede a { color: var(--rose); }
.inquiry-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3.2vw, 44px); box-shadow: 0 30px 60px -44px rgba(58, 24, 38, .5); }
.inquiry .form { gap: 16px; }
.field label span[aria-hidden] { color: var(--rose); }
.form-error { display: none; padding: 12px 14px; border-radius: 8px; background: #FBEBE9; color: #8A2A22; font-size: 13.5px; line-height: 1.45; }
.form-error.visible { display: block; }
.form-fine { margin-top: 2px; font-size: 12.5px; color: var(--taupe); text-align: center; }
.form-fine a { color: var(--rose); }
.btn-block { width: 100%; }

.form-success { text-align: center; padding: clamp(12px, 3vw, 32px) 0; }
.form-success h3 { font: 500 clamp(1.7rem, 3vw, 2.3rem) / 1.15 var(--font-display); color: var(--ink); margin: 18px 0 10px; text-wrap: balance; }
.form-success p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 12px; }
.form-success .form-fine { color: var(--taupe); }
.success-check { width: 52px; height: 52px; border-radius: 50%; background: var(--rose); color: #fff; display: inline-grid; place-items: center; }
.success-check .icon { width: 24px; height: 24px; stroke-width: 2.4; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-split { min-height: 0; }
  .hero-split .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-block: calc(var(--nav-h) + 24px) 56px; }
  .hero-split h1 { max-width: 14ch; }
  .hero-media { justify-self: center; max-width: 440px; }
  .cx-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .pricing-inner, .inquiry-inner { grid-template-columns: 1fr; }
  .calc, .inquiry-intro { position: static; }
  .inquiry-intro .h2 { max-width: none; }
}
