/* ═══════════════════════════════════════════════════════════════
   Maine Street — Contractor Public Page
   Premium redesign: hero photo, stats strip, polished cards
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --pine:          #0f2318;
  --pine-mid:      #1a3a2a;
  --pine-light:    #2d5c47;
  --pine-pale:     #4a7a5e;
  --cream:         #f8f3eb;
  --cream-dark:    #ede8df;
  --sand:          #d5cdc3;
  --bark:          #6b6157;
  --ink:           #1a1a1a;
  --ink-soft:      #3d3d3d;
  --white:         #ffffff;
  --gold:          #b8902a;
  --green-tint:    #eef5f0;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.16), 0 4px 16px rgba(0,0,0,.08);

  --max-w: 1080px;
  --nav-h: 68px;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.page-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section labels ─────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pine-pale);
  margin-bottom: 10px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--pine);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}
.section-sub {
  font-size: 17px;
  color: var(--bark);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════════════════ */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 32px;
  background: transparent;
  transition: background .25s, box-shadow .25s;
}
.page-nav--scrolled {
  background: var(--pine);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.page-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.page-nav__brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.page-nav__links {
  display: flex;
  gap: 24px;
}
.page-nav__links a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.page-nav__links a:hover { color: #fff; }
.page-nav__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all .15s;
  white-space: nowrap;
}
.page-nav__cta-btn:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;

  /* Photo + gradient layered background */
  background-image:
    var(--hero-bg, none),
    var(--hero-gradient);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  /* Stronger at top (nav contrast) and bottom (text readability) */
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 12, .55) 0%,
    rgba(8, 20, 12, .35) 40%,
    rgba(8, 20, 12, .70) 75%,
    rgba(8, 20, 12, .85) 100%
  );
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* Trust pills */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .02em;
}
.trust-pill--alert {
  background: rgba(185, 144, 0, .25);
  border-color: rgba(185, 144, 0, .4);
  color: #f5d572;
}
.trust-pill__check { color: #6dd98e; font-size: 12px; }

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  max-width: 800px;
}

.hero-tagline {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 640px;
  font-weight: 300;
}

.hero-area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.hero-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--pine);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  transition: all .15s;
  box-shadow: var(--shadow-md);
}
.hero-btn-phone:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.hero-btn-phone__icon {
  width: 40px;
  height: 40px;
  background: var(--pine);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-btn-phone__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bark);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-btn-phone__number {
  display: block;
  font-size: 20px;
  color: var(--pine);
  line-height: 1;
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all .15s;
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}
.hero-sub-cta {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--pine);
  padding: 0 32px;
}
.stats-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 64px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: 16px 0;
}
.stat-item a { color: inherit; }
.stat-item a:hover { color: #fff; }
.stat-item--phone { color: rgba(255,255,255,.9); font-weight: 600; }
.stat-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-right: 2px;
}
.stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.15);
  margin: 0 20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--cream);
  padding: 88px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pine-mid), var(--pine-light));
  opacity: 0;
  transition: opacity .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}
.service-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--pine);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}
.service-card__desc {
  font-size: 14px;
  color: var(--bark);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--white);
  padding: 88px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

/* Photo card */
.about-photo-card {
  background: var(--pine);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.about-photo-initials {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 3px solid rgba(255,255,255,.2);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.about-photo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.about-photo-trade {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.about-photo-years {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

/* Content */
.about-content-col { padding-top: 8px; }
.about-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.certs-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--green-tint);
  border-left: 4px solid var(--pine-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.certs-block__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.certs-block__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--pine-pale);
  margin-bottom: 4px;
}
.certs-block__value { font-size: 15px; color: var(--ink-soft); }
.about-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-tint);
  border: 1px solid #c8ddd0;
  color: var(--pine-mid);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}
.about-trust-item span { color: var(--pine-light); }

/* ══════════════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--cream);
  padding: 88px 0;
}
.faq-header {
  margin-bottom: 44px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 760px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: box-shadow .15s;
}
.faq-item:has([aria-expanded="true"]) {
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--pine);
  cursor: pointer;
  text-align: left;
  transition: background .12s;
  line-height: 1.4;
}
.faq-question:hover { background: var(--cream); }
.faq-icon {
  font-size: 22px;
  color: var(--pine-pale);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
  font-family: var(--font-body);
}
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--cream-dark);
}
.faq-answer p {
  padding-top: 16px;
  font-size: 15px;
  color: var(--bark);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background: var(--pine);
  padding: 88px 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(45,92,71,.6) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section__overlay { display: none; }
.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--pine);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  font-family: var(--font-display);
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transition: all .15s;
  letter-spacing: -.01em;
}
.cta-phone-btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.cta-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 32px;
  border-radius: var(--radius-lg);
  transition: all .15s;
}
.cta-email-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.page-footer {
  background: var(--ink);
  padding: 24px 0;
}
.page-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-footer__inner span { font-size: 13px; color: rgba(255,255,255,.35); }
.page-footer__inner a { color: rgba(255,255,255,.5); }
.page-footer__inner a:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-card {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    padding: 24px 28px;
    position: static;
  }
  .about-photo-initials { width: 80px; height: 80px; font-size: 36px; margin: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .page-inner { padding: 0 20px; }
  .page-nav { padding: 0 20px; }
  .page-nav__links { display: none; }
  .hero-section { min-height: 100svh; padding-bottom: 60px; }
  .hero-section__inner { padding: 0 20px; }
  .hero-headline { font-size: clamp(34px, 9vw, 48px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-btn-phone { width: 100%; }
  .hero-btn-secondary { width: 100%; justify-content: center; }
  .stats-strip { padding: 0 20px; }
  .stats-strip__inner { gap: 0; overflow-x: auto; flex-wrap: nowrap; }
  .stat-divider { flex-shrink: 0; }
  .services-section,
  .about-section,
  .faq-section,
  .cta-section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-phone-btn, .cta-email-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 6px; }
  .trust-pill { font-size: 12px; padding: 5px 11px; }
}

/* ── REVIEWS SECTION ─────────────────────────────── */
.reviews-section { padding: 80px 0; background: var(--cream, #f5f0e8); }
.reviews-header { margin-bottom: 40px; }
.reviews-aggregate { display: flex; align-items: flex-start; gap: 24px; margin-top: 20px; }
.reviews-aggregate__score { font-family: var(--font-display, 'Playfair Display'); font-size: 64px; font-weight: 700; color: var(--pine, #0f2318); line-height: 1; }
.reviews-aggregate__count { font-size: 14px; color: #888; margin-top: 4px; }
.star-dist { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.star-dist__row { display: flex; align-items: center; gap: 8px; }
.star-dist__label { font-size: 12px; color: #888; width: 22px; text-align: right; flex-shrink: 0; }
.star-dist__bar { flex: 1; height: 8px; background: #e0d8cc; border-radius: 4px; overflow: hidden; max-width: 140px; }
.star-dist__fill { height: 100%; background: #f5a623; border-radius: 4px; transition: width .3s; }
.star-dist__count { font-size: 12px; color: #888; width: 18px; }

.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.review-card { background: #fff; border-radius: 14px; padding: 22px 24px; border: 1px solid #e8e0d8; }
.review-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 40px; height: 40px; background: var(--pine, #0f2318); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; font-family: var(--font-display, 'Playfair Display'); }
.review-card__name { font-size: 15px; font-weight: 600; color: #1c1c1c; }
.review-card__location { font-size: 13px; color: #888; }
.review-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.review-card__date { font-size: 13px; color: #aaa; }
.review-card__title { font-size: 15px; font-weight: 700; color: #1c1c1c; margin-bottom: 6px; }
.review-card__body { font-size: 15px; color: #444; line-height: 1.65; }
.review-reply { margin-top: 16px; background: #f5f0e8; border-radius: 10px; padding: 14px 16px; border-left: 3px solid var(--pine, #0f2318); }
.review-reply__label { font-size: 12px; font-weight: 700; color: var(--pine, #0f2318); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.review-reply__body { font-size: 14px; color: #444; line-height: 1.6; }

.reviews-empty { text-align: center; color: #888; font-size: 15px; padding: 32px 0; }

/* write review form */
.write-review-box { background: #fff; border-radius: 16px; padding: 32px 28px; border: 1px solid #e8e0d8; margin-top: 20px; }
.write-review-box__title { font-family: var(--font-display, 'Playfair Display'); font-size: 22px; color: #1c1c1c; margin-bottom: 6px; }
.write-review-box__sub { font-size: 14px; color: #888; margin-bottom: 24px; }
.review-form { display: flex; flex-direction: column; gap: 18px; }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.review-form .form-group label { font-size: 14px; font-weight: 600; color: #1c1c1c; }
.review-form input[type=text],
.review-form textarea { padding: 10px 14px; border: 1.5px solid #d5cdc3; border-radius: 8px; font-size: 15px; font-family: 'Inter', sans-serif; color: #1c1c1c; transition: border-color .15s; }
.review-form input[type=text]:focus,
.review-form textarea:focus { outline: none; border-color: var(--pine, #0f2318); }
.review-submit-btn { align-self: flex-start; background: var(--pine, #0f2318); color: #fff; border: none; padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background .15s; }
.review-submit-btn:hover { background: #1a3a2a; }

/* star picker */
.star-picker { display: flex; flex-direction: row-reverse; gap: 2px; width: fit-content; }
.star-picker input[type=radio] { display: none; }
.star-picker label { font-size: 32px; color: #ddd; cursor: pointer; transition: color .1s; line-height: 1; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #f5a623; }

/* stats strip rating */
.stat-item--rating .stat-rating-stars { color: #f5a623; font-size: 14px; }

/* stars component on page */
.stars { position: relative; display: inline-block; line-height: 1; }
.stars__empty { color: #e0d0c0; font-size: 16px; letter-spacing: 2px; }
.stars__filled { position: absolute; top: 0; left: 0; overflow: hidden; color: #f5a623; font-size: 16px; letter-spacing: 2px; white-space: nowrap; }
.stars--lg .stars__empty,
.stars--lg .stars__filled { font-size: 22px; }
.stars--sm .stars__empty,
.stars--sm .stars__filled { font-size: 13px; letter-spacing: 1px; }

@media (max-width: 640px) {
  .review-form__row { grid-template-columns: 1fr; }
  .reviews-aggregate { flex-direction: column; gap: 12px; }
  .reviews-aggregate__score { font-size: 48px; }
}
