/* =========================================================================
   Spec F: conversion + impact pass.
   New components only, layered on top of main.css/heroes.css/loop.css.
   Loaded sitewide via templates/layout.html so the homepage proof section,
   the contact/quote form polish and the shared button/field refinements
   are all available wherever they're used. Existing component files
   (main.css, services.css, catalog.css, loop.css) are left as they are;
   nothing here restructures them.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Homepage: testimonial hero pull-quote + designed proof grid
   ------------------------------------------------------------------------- */
.testimonials .section-title { margin-bottom: var(--space-5); }

.testimonial-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.testimonial-hero__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.testimonial-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-hero__quote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.1rem;
}
.testimonial-hero__quote p {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-white);
  letter-spacing: 0.005em;
}
.testimonial-hero__quote footer { margin-top: var(--space-3); }
.testimonial-hero__quote cite {
  font-style: normal;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  color: var(--color-accent);
  display: block;
}
.testimonial-hero__context { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 860px) {
  .testimonial-hero { grid-template-columns: 1fr; }
}

.testimonial-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: var(--space-3);
}
.testimonial-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
}
.testimonial-tile__quote {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
}
.testimonial-tile__name {
  margin-top: var(--space-2);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
.testimonial-grid-new .testimonial-tile:nth-child(6),
.testimonial-grid-new .testimonial-tile:nth-child(11) {
  grid-column: span 2;
}
.testimonial-tile--photo {
  grid-column: span 2;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 220px;
}
.testimonial-tile--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* "Read full review", expands in place, no link away */
.testimonial-tile__more { flex: 1; }
.testimonial-tile__more summary { cursor: pointer; list-style: none; }
.testimonial-tile__more summary::-webkit-details-marker { display: none; }
.testimonial-tile__more:not([open]) .testimonial-tile__quote {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-tile__more summary::after {
  content: "Read full review";
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.testimonial-tile__more[open] summary::after { content: "Show less"; }
.testimonial-tile__more summary:hover::after,
.testimonial-tile__more summary:focus-visible::after { border-color: var(--color-accent); }
.testimonial-tile__more summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .testimonial-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .testimonial-grid-new { grid-template-columns: 1fr; }
  .testimonial-grid-new .testimonial-tile:nth-child(6),
  .testimonial-grid-new .testimonial-tile:nth-child(11),
  .testimonial-tile--photo {
    grid-column: span 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-tile__more summary::after { transition: none; }
}

/* Credibility line + platform links */
.proof-credibility {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.proof-credibility__line { font-size: 1rem; color: rgba(255, 255, 255, 0.85); max-width: 46ch; }
.proof-credibility__line a { color: var(--color-accent); font-weight: 600; }
.proof-credibility__line a:hover, .proof-credibility__line a:focus-visible { text-decoration: underline; }
.proof-social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.proof-social__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.proof-social__item svg { width: 16px; height: 16px; }
.proof-social__item:hover, .proof-social__item:focus-visible {
  border-color: var(--color-accent);
  background: rgba(57, 181, 74, 0.12);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .proof-credibility { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-social__item { transition: none; }
}

/* -------------------------------------------------------------------------
   Sitewide form field polish (contact + quote share these so the two feel
   like one system).
   ------------------------------------------------------------------------- */
.field { gap: 0.55rem; margin-bottom: var(--space-4); }
.field label { font-size: 0.85rem; letter-spacing: 0.06em; }
.field input,
.field textarea,
.field select {
  padding: 1rem 1.1rem;
  font-size: 1rem;
  border-width: 1.5px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.15);
}
@media (prefers-reduced-motion: reduce) {
  .field input, .field textarea, .field select { transition: none; }
}

.btn-lg { padding: 1.05rem 2.25rem; font-size: 1.02rem; }

/* -------------------------------------------------------------------------
   Contact page: two clear paths above the fold (build a quote vs reach a
   human), and a little more air around the info/form pair.
   ------------------------------------------------------------------------- */
.contact-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.contact-path {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-path:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-path h2 { font-size: 1.35rem; text-transform: uppercase; margin: 0.4rem 0 0.6rem; }
.contact-path p { color: var(--color-text-muted); flex: 1; }
.contact-path .btn { align-self: flex-start; margin-top: var(--space-3); }
.contact-path__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: var(--space-3); }
.contact-path--primary {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
}
.contact-path--primary p { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 760px) {
  .contact-paths { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-path { transition: none; }
}

.contact-form-card { padding: var(--space-5); }
.info-list dt { display: flex; align-items: center; gap: 0.55rem; }
.info-list__icon { color: var(--color-accent); flex-shrink: 0; display: inline-flex; }
.info-list__icon svg { width: 18px; height: 18px; }
.info-list > div { padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.info-list > div:last-child { border-bottom: none; padding-bottom: 0; }

/* -------------------------------------------------------------------------
   Homepage quote-band close, reworked into the sitewide loop component's
   photo variant instead of the flat CTA band (see loop.css / loop.mjs).
   No new CSS needed here beyond what loop.css already defines; this
   comment documents where the markup lives (content/home.html).
   ------------------------------------------------------------------------- */
