/* ==========================================================================
   Sections — one block per band of the page: hero, process, quote, footer.
   Anything reused across sections belongs in components.css instead.
   ========================================================================== */

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.hero__inner {
  position: relative;
  padding: clamp(36px, 6vh, 80px) var(--gutter) clamp(50px, 8vh, 96px);
}

.hero__eyebrow {
  margin-bottom: clamp(20px, 3vh, 30px);
}

.hero__title {
  margin: 0;
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: var(--lh-display);
  text-transform: uppercase;
}

/* Each half of the headline sits on its own line */
.hero__title-line {
  display: block;
}

.hero__grid {
  margin-top: clamp(34px, 5vh, 60px);
}

.hero__lead {
  margin: 0;
  max-width: var(--measure-lead);
  color: var(--color-on-accent-strong);
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
}

.hero__actions {
  margin-top: clamp(24px, 4vh, 34px);
}

.hero__img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--blob-hero) var(--radius-md) var(--blob-hero) var(--radius-md);
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  color: var(--color-on-accent-strong);
  font-size: var(--fs-500);
  font-weight: var(--fw-semibold);
}


/* --- Process ------------------------------------------------------------ */

.process__inner {
  position: relative;
}

.process__title {
  margin: 0 0 clamp(32px, 5vh, 54px);
  font-size: var(--fs-h2-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-snug);
  text-transform: uppercase;
}

.step {
  border-top: var(--stroke) solid var(--color-on-accent);
  padding-top: var(--space-md);
}

.step__num {
  font-size: var(--fs-numeral-lg);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tightest);
  line-height: var(--lh-numeral);
}

.step__title {
  margin: var(--space-sm) 0 var(--space-2xs);
  font-size: var(--fs-800);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
}

.step__text {
  margin: 0;
  max-width: var(--measure-step);
  color: var(--color-on-accent-muted);
  font-size: var(--fs-500);
}


/* --- Reviews ------------------------------------------------------------
   Rating panel on the left, a vertical stack of review cards on the right.
   The panel is the weight of the section on purpose: Google returns at most
   five reviews and may return one, and a lone card next to a full-height
   panel still reads deliberate.

   index.html carries the cards as authored copy; js/reviews.js replaces them
   with the live payload. Everything here has to hold up for both. */

.reviews__title {
  margin: 0;
  font-size: var(--fs-h2-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

.reviews__title-line {
  display: block;
  color: var(--color-text-strong);
}

.rating {
  margin-top: clamp(24px, 4vh, 36px);
}

.rating__score {
  margin: 0;
  color: var(--color-accent);
  font-size: var(--fs-numeral-lg);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tightest);
  line-height: var(--lh-numeral);
}

/* The glyphs are decorative — the real number lives in the aria-label, since
   "★★★★★" read aloud is noise. */
.rating__stars {
  margin: var(--space-2xs) 0 0;
  color: var(--color-accent);
  font-size: var(--fs-900);
  letter-spacing: 0.14em;
}

.rating__count {
  margin: var(--space-2xs) 0 0;
  color: var(--color-text-soft);
  font-size: var(--fs-500);
}

.reviews__actions {
  align-items: center;
  margin-top: var(--space-lg);
}

/* Required Google attribution, worded as a link to the profile */
.reviews__link {
  color: var(--color-text-muted);
  font-size: var(--fs-500);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.reviews__link:hover {
  color: var(--color-accent);
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-grid);
}

.review {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--color-surface);
}

.review__head {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

/* Initial-letter tile, or the reviewer's Google photo cropped into the same
   circle when the payload carries one. */
.review__avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--review-avatar-size);
  height: var(--review-avatar-size);
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--fs-800);
  font-weight: var(--fw-bold);
}

img.review__avatar {
  object-fit: cover;
}

.review__author {
  margin: 0;
  color: var(--color-text-strong);
  font-size: var(--fs-600);
  font-weight: var(--fw-semibold);
}

/* Links to the reviewer's Google attribution URI, which the terms require */
.review__author a {
  color: inherit;
  text-decoration: none;
}

.review__author a:hover {
  color: var(--color-accent);
}

.review__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin: 0;
  color: var(--color-text-subtle);
  font-size: var(--fs-400);
}

.review__stars {
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

/* pre-line keeps the reviewer's own paragraph breaks — the text is shown as
   Google returned it, never rewritten. */
.review__text {
  margin: 0;
  max-width: var(--measure-text);
  color: var(--color-text-muted);
  font-size: var(--fs-500);
  line-height: var(--lh-body);
  white-space: pre-line;
}

/* Added by js/reviews.js only when the text really overflows, and only
   together with the toggle button — so nothing is ever folded away with no
   way to open it, and with JS off the full text simply stands. */
.review__text--clamped {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--review-clamp-lines);
}

.review__more {
  margin-top: var(--space-2xs);
  border: none;
  padding: 0;
  background: none;
  color: var(--color-accent);
  font-size: var(--fs-400);
  font-weight: var(--fw-bold);
  cursor: pointer;
}

.review__more:hover {
  color: var(--color-link-hover);
}


/* --- Quote -------------------------------------------------------------- */

.quote__title {
  margin: 0;
  font-size: var(--fs-h2-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

.quote__title-line {
  display: block;
  color: var(--color-text-strong);
}

.quote__text {
  margin: 22px 0 0;
  max-width: var(--measure-quote);
  color: var(--color-text-soft);
  font-size: var(--fs-600);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--fs-500);
}

.contact-list__label {
  display: inline-block;
  min-width: 3.5em;
  color: var(--color-text-faint);
}


/* --- Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--color-accent-rule);
  padding: clamp(40px, 6vh, 70px) var(--gutter) var(--space-md);
  color: var(--color-text-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(28px, 3.4vw, 52px);
  padding-bottom: clamp(28px, 4vh, 44px);
  border-bottom: 1px solid var(--color-rule-soft);
}

.site-footer__about {
  min-width: 200px;
}

.site-footer__tagline {
  margin: var(--space-sm) 0 0;
  max-width: var(--measure-footer);
  color: var(--color-text-subtle);
  font-size: var(--fs-500);
  line-height: var(--lh-body);
}

.footer-col__label {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-faint);
  font-size: var(--fs-200);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  font-size: var(--fs-500);
}

.footer-col__link {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-col__link:hover {
  color: var(--color-accent);
}

.footer-col__link--accent {
  color: var(--color-accent);
}

/* Accent chip; the icon inherits the link colour via currentColor. */
.footer-col__link--social {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: var(--space-xs);
  align-self: flex-start;
  padding: var(--space-2xs) var(--space-xs);
  border: 1px solid var(--color-accent-rule);
  border-radius: var(--radius-pill);
  background: rgb(var(--color-accent-rgb) / 0.1);
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-col__link--social:hover {
  border-color: var(--color-accent);
  background: rgb(var(--color-accent-rgb) / 0.2);
}

.footer-col__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: 22px;
  color: var(--color-text-faint);
  font-size: var(--fs-400);
}
