/* ==========================================================================
   DaybookPro — inner pages (About / Solutions / Contact)
   Extends assets/css/style.css — same tokens, same component language.
   Sections: 0 Page hero · 1 Stats · 2 Values · 3 Team · 4 Cards
   5 Solution blocks · 6 Contact · 7 FAQ · 8 Responsive
   ========================================================================== */

/* ---------- 0. Page hero -------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 34vw, 650px);
  padding-block: 64px;
  background-color: var(--navy);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  overflow: hidden;
}

/* Each page gets its own hero image/crop so they don't all look identical */
.page-hero--about { background-image: url("../img/about-hero.png"); background-position: right center; }
.page-hero--solutions { background-image: url("../img/Solutions-hero.png"); background-position: right center; }
.page-hero--contact { background-image: url("../img/contact-hero.png"); background-position: right center; }
.page-hero--testimonials { background-image: url("../img/cta-truck.png"); background-position: right center; }
/* Roadmap doesn't use a photo — a decorative route-line SVG is rendered
   into .page-hero__route instead (see hero-page/render.php) */
.page-hero--roadmap { background-image: none; }
.page-hero--roadmap::before { background: none; }
.page-hero__route { position: absolute; inset: 0; z-index: 0; opacity: .6; }
.page-hero__route svg { width: 100%; height: 100%; }

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy) 34%,
    rgba(1, 15, 32, .92) 48%,
    rgba(1, 15, 32, .55) 66%,
    rgba(1, 15, 32, .15) 88%
  );
}

.page-hero__inner { position: relative; z-index: 1; max-width: 640px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: #fff; }

.page-hero__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.015em;
  line-height: 1.16;
}

.page-hero__lead {
  margin-top: 18px;
  max-width: 54ch;
  font-size: clamp(.98rem, 1.02vw, 1.1rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .85);
}

/* ---------- shared section rhythm ----------------------------------------- */
.page-section { padding-block: clamp(52px, 5.5vw, 88px); }
.page-section--alt { background: var(--grey-bg); }

.page-section__head {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}
.page-section__head p {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.solutions-intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.solutions-intro p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.solutions-intro p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* ---------- 1. Stats ------------------------------------------------------ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--ink);
}
.stat-row .stat span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- 2. Values ------------------------------------------------------ */
.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.value-list--cards { grid-template-columns: repeat(3, 1fr); }
.value-item { display: flex; gap: 18px; }
.value-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
  flex: none;
  line-height: 1.3;
}
.value-item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.value-item p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- 3. Team --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-card { text-align: center; }
.team-card__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--ink-soft), var(--navy));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.team-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: 2px; }
.team-card span { font-size: .82rem; color: var(--ink-soft); }

/* ---------- 4. Cards -------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.card-grid--9 { grid-template-columns: repeat(3, 1fr); }
.info-card {
  display: block;
  padding: 26px 20px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  text-align: left;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.info-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: transparent;
}
.info-card .icon-badge { margin-bottom: 14px; }
.info-card h3 { font-size: .96rem; font-weight: 700; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grey-bg);
  color: var(--ink);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--accent { background: var(--pink); color: var(--red); }

/* ---------- 5. Solution blocks ---------------------------------------------- */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 56px;
}
.solution-block:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.solution-block.is-reverse .solution-block__copy { order: 2; }
.solution-block.is-reverse .solution-block__visual { order: 1; }

.solution-block__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.solution-block__copy h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
}
.solution-block__copy > p { margin-top: 14px; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }

.solution-list { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.solution-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.solution-list li svg { width: 16px; height: 16px; color: var(--red); margin-top: 4px; flex: none; }

.solution-block__visual {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card);
  background: linear-gradient(155deg, var(--navy) 0%, #132038 60%, var(--ink) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.solution-block__visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 20%, var(--red-tint-28), transparent 55%);
}
.solution-block__visual svg { width: 58%; height: auto; position: relative; z-index: 1; }
.solution-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Placeholder state — used until a real photo is supplied */
.solution-block__visual--placeholder { background: var(--grey-bg); }
.solution-block__visual--placeholder::before { display: none; }
.visual-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--ink-soft);
  border: 2px dashed var(--hairline);
  border-radius: var(--radius-card);
  justify-content: center;
}
.visual-placeholder svg { width: 34px; height: 34px; opacity: .7; }
.visual-placeholder span {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- 6. Contact ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: flex-start;
}

.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 34px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.contact-panel h2 { color: #fff; font-size: 1.2rem; }
.contact-panel > p { margin-top: 10px; font-size: .9rem; color: rgba(255, 255, 255, .65); }

.contact-panel__list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-panel__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-panel__list .icon-badge { background: var(--red-tint-16); color: var(--red); width: 42px; height: 42px; flex: none; }
.contact-panel__list .icon-badge svg { width: 18px; height: 18px; }
.contact-panel__list b { display: block; font-size: .9rem; }
.contact-panel__list span { font-size: .84rem; color: rgba(255, 255, 255, .62); }
.contact-panel__list span a { color: inherit; transition: color .15s var(--ease); }
.contact-panel__list span a:hover { color: #fff; }

.form-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px;
}
.form-card h2 { font-size: 1.15rem; }
.form-card__lead { margin-top: 6px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--hairline);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--grey-bg);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #abefc6;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  margin-top: 16px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex: none; }

/* ---------- 7. FAQ ------------------------------------------------------------ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); padding-block: 20px; }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item__q svg { width: 18px; height: 18px; flex: none; color: var(--red); transition: transform .2s var(--ease); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .25s var(--ease); }
.faq-item__a-inner { padding-top: 12px; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }

/* ---------- 9. Testimonial detail pages ------------------------------------ */
.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 720px;
  margin-inline: auto;
}
.story-head__group { display: flex; align-items: center; gap: 20px; }
.story-head__logo { flex: none; max-width: 100%; height: auto; object-fit: contain; }
.story-head__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(150deg, var(--ink-soft), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  overflow: hidden;
}
.story-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-head h2 { font-size: 1.4rem; margin-bottom: 2px; }
.story-head span { font-size: .9rem; color: var(--ink-soft); }

.story-quote {
  position: relative;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 40px 44px;
  margin-bottom: 40px;
  max-width: 720px;
  margin-inline: auto;
}
.story-quote__mark {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  line-height: 1;
  margin-bottom: -6px;
}
.story-quote p { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, .92); margin-bottom: 16px; }
.story-quote p.story-quote__lede { font-size: 1.3rem; font-weight: 700; line-height: 1.5; color: #fff; }
.story-quote p.story-quote__closing { font-style: italic; }

/* Stacked eyebrow + heading, centered — used by blocks like Story Quote
   where the eyebrow and heading need to read as two clearly separate
   lines, unlike .roadmap-section__head which is a flex row for a
   pill-next-to-heading layout instead. */
.stacked-head { text-align: center; margin-bottom: 32px; }
.stacked-head .eyebrow { display: block; margin-bottom: 14px; }
.stacked-head h2 { margin: 0; }

/* Fixed 3-column card grid, used where a flexible auto-fit grid would
   produce an uneven row count (e.g. 6 items fitting 5-then-1 instead of
   a clean 3x2) at wide viewport widths. */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3col { grid-template-columns: 1fr; }
}

.story-body { max-width: 720px; margin-inline: auto; }
.story-body p { color: var(--ink-soft); font-size: .98rem; line-height: 1.75; margin-bottom: 18px; }
.story-body .placeholder-note {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--red);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}
.story-back svg { width: 16px; height: 10px; transform: scaleX(-1); }
.story-back:hover { color: var(--red); }


/* ---------- 10. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .page-hero { background-size: cover; padding-block: 48px; }
  .page-hero::before {
    background: linear-gradient(90deg, rgba(1,15,32,.97) 0%, rgba(1,15,32,.88) 55%, rgba(1,15,32,.5) 100%);
  }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
}

@media (max-width: 860px) {
  .story-quote { padding: 28px 26px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .value-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-block { grid-template-columns: 1fr; padding-block: 40px; gap: 28px; }
  .solution-block.is-reverse .solution-block__copy { order: 1; }
  .solution-block.is-reverse .solution-block__visual { order: 2; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Roadmap blocks (dbp/roadmap-section, dbp/roadmap-timeline) -- */
.roadmap-section { padding-block: 40px; }
.roadmap-section + .roadmap-section { border-top: 1px solid var(--hairline); }

.roadmap-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.roadmap-section__head h2 { margin: 0; }
.roadmap-section__head p {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: .94rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-pill--shipped { background: color-mix(in srgb, #1a9c5c 15%, white); color: #178c53; }
.status-pill--progress { background: var(--pink); color: var(--red); }
.status-pill--planned { background: var(--grey-bg); color: var(--ink-soft); border: 1px solid var(--hairline); }
.status-pill--horizon { background: color-mix(in srgb, var(--navy) 10%, white); color: var(--navy); }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.roadmap-card__text {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
}

.roadmap-card__status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.roadmap-card__status .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.roadmap-card__status .dot--shipped { background: #1a9c5c; }
.roadmap-card__status .dot--progress { background: var(--red); }
.roadmap-card__status .dot--planned { background: #9aa3ad; }
.roadmap-card__status .dot--horizon { background: var(--navy); }

/* "Horizon" cards get a dashed, more provisional-looking treatment, and
   their date shows as a standalone pill rather than the dot+text row the
   other three statuses use — both driven automatically by statusType, not
   a separate setting to configure. */
.roadmap-card--dashed {
  border-style: dashed;
  border-color: #d7dbe6;
  background: var(--grey-bg);
  box-shadow: none;
}
.roadmap-card--dashed:hover {
  border-color: var(--navy);
  box-shadow: none;
  transform: none;
}
.roadmap-card--dashed .icon-badge { background: color-mix(in srgb, var(--navy) 8%, white); color: var(--navy); }

.roadmap-card__pill {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 10%, white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}

/* ---------- Roadmap timeline (dbp/roadmap-timeline) ---------------------- */
.roadmap-timeline { position: relative; max-width: 820px; margin: 0 auto; }
.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--hairline);
}

.timeline-item { position: relative; display: flex; gap: 24px; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item__marker {
  position: relative;
  z-index: 1;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a9c5c;
  display: grid;
  place-items: center;
}
.timeline-item__marker svg { width: 18px; height: 18px; }

.timeline-item__card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}
.timeline-item__quarter {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--grey-bg);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
}
.timeline-item__card h3 { font-size: 1.02rem; margin: 0 0 8px; }
.timeline-item__card p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

@media (max-width: 560px) {
  .roadmap-timeline::before { left: 17px; }
  .timeline-item { gap: 16px; }
  .timeline-item__marker { width: 36px; height: 36px; }
  .timeline-item__marker svg { width: 15px; height: 15px; }
}
