/* ==============================================================================
   HOME PAGE — PAGE-SPECIFIC STYLES (Layer 3)
   ==============================================================================

   This file contains ONLY styles unique to the Home page or used very
   sparingly elsewhere. Foundation styles (tokens, reset, typography,
   container, buttons) come from foundation.css. Header & footer styles
   come from their own theme files.

   WORDPRESS PLACEMENT
   -------------------
   wp-content/themes/synergy/assets/css/pages/home.css

   ENQUEUE (in functions.php) — only on the home page:

       if ( is_front_page() ) {
           wp_enqueue_style(
               'synergy-home',
               get_template_directory_uri() . '/assets/css/pages/home.css',
               array( 'synergy-foundation' ),
               filemtime( get_template_directory() . '/assets/css/pages/home.css' )
           );
       }

   WHAT'S IN HERE (in order)
   -------------------------
   1. Hero rotating-image slider
   2. Service tile slider (4-up auto-scrolling)
   3. Breadcrumb
   4. Section base styles (.section-alt, .section-header, eyebrow, lede)
   5. Feature grid (Solutions cards)
   6. Process steps
   7. Why-grid (Why Synergy)
   8. Stats ribbon
   9. Callout
   10. Reviews
   11. CTA banner
   12. FAQ accordion
   13. Insights cards
   14. Coverage cards
   15. Accreditation logo strip (large hero version — NOT the small footer one)
   16. Intro video
   17. Tables (specs / compare) — used by Home but also other pages
   18. Page-specific responsive overrides

   Many of these (.section-*, .feature-card, .faq-list, .breadcrumb,
   .cta-banner, .why-grid, .stats-ribbon, .stat-num) are used on other
   pages too — they're candidates for promotion to Layer 2 once we've
   converted 3-4 pages and can confirm the canonical version.

   ============================================================================== */


/* ==============================================================================
   1. HERO ROTATING SLIDER
   ==============================================================================
   Full-width hero with 5 cross-fading background images and centred text
   overlay. JavaScript in home.js rotates the .active class every 4 seconds.
*/
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 600px;
  display: flex;
  align-items: flex-end;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: relative;
  width: 100%;
  padding: 0 0 60px;
  z-index: 2;
  color: #fff;
  text-align: center;
}
.hero-overlay h1 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  font-weight: 600;
}
.hero-overlay h1 em {
  font-style: italic;
  color: #fff;
  opacity: 0.92;
}
.hero-lede {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  max-width: 760px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-lede strong {
  color: #fff;
  font-weight: 700;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .hero-slider { height: 540px; }
  .hero-overlay { padding-bottom: 40px; }
  .hero-overlay h1 { font-size: 1.6rem; }
  .hero-lede { font-size: 0.95rem; }
}


/* ==============================================================================
   2. SERVICE TILE SLIDER
   ==============================================================================
   Auto-advancing 4-up product tile slider directly under the hero.
   JavaScript in home.js handles next/prev buttons, autoplay, and
   responsive tile counts (4 desktop / 2 tablet / 1 mobile).
*/
.service-slider {
  position: relative;
  padding: 32px 0 48px;
  background: #fff;
}
.service-slider-viewport {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  overflow: hidden;
}
.service-slider-track {
  display: flex;
  gap: 18px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.service-tile {
  flex: 0 0 calc((100% - 54px) / 4);   /* 4 tiles, 3 gaps of 18px */
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.service-tile-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 18px;
  color: #fff;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  line-height: 1.3;
}
.service-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  z-index: 5;
  opacity: 0.75;
}
.service-slider-btn:hover {
  background: rgba(0,0,0,0.7);
  opacity: 1;
}
.service-slider-prev { left: 10px; }
.service-slider-next { right: 10px; }
@media (max-width: 980px) {
  .service-slider-viewport { padding: 0 48px; }
  .service-tile { flex: 0 0 calc((100% - 18px) / 2); } /* 2 tiles on tablet */
}
@media (max-width: 600px) {
  .service-slider-viewport { padding: 0 40px; }
  .service-tile { flex: 0 0 100%; aspect-ratio: 4 / 5; } /* 1 tile on mobile */
  .service-slider-btn { width: 34px; height: 34px; font-size: 1.2rem; }
  .service-slider-prev { left: 4px; }
  .service-slider-next { right: 4px; }
}


/* ==============================================================================
   3. BREADCRUMB
   ==============================================================================
   Used on every internal page (17 pages). Promote to Layer 2 once we've
   converted more pages.
*/
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 0.85rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li {
  color: var(--muted);
}
.breadcrumb [aria-current="page"] {
  color: var(--brand-primary-dark);
  font-weight: 600;
}


/* ==============================================================================
   4. SECTION BASE STYLES
   ==============================================================================
   These shape every content section's vertical rhythm and the centred
   header pattern. Used on 6+ pages already — Layer 2 candidate.
*/
section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-soft);
}
.section-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary-dark);
  margin-bottom: 12px;
}
.section-lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 8px;
}


/* ==============================================================================
   5. FEATURE GRID (Solutions cards)
   ==============================================================================
   Image-on-top card grid. Used on 6 pages — Layer 2 candidate.
*/
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(167,190,57,0.45);
}
.feature-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-card:hover .feature-img img {
  transform: scale(1.05);
}
.feature-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feature-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
  flex: 1;
}
.feature-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feature-link::after {
  content: '→';
  transition: transform 0.25s ease;
}
.feature-link:hover::after {
  transform: translateX(4px);
}


/* ==============================================================================
   6. PROCESS STEPS
   ==============================================================================
   Numbered steps in a horizontal grid. Used on 7 pages — Layer 2 candidate.
*/
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
.process-step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.process-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(167,190,57,0.35);
}
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}


/* ==============================================================================
   7. WHY GRID (Why Synergy)
   ==============================================================================
   Numbered cards. Used on 11 pages — strong Layer 2 candidate.
*/
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-item {
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.why-item .why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.why-item h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}


/* ==============================================================================
   8. STATS RIBBON
   ==============================================================================
   Full-width green bar with installation counters. Used on 6 pages.
*/
.stats-ribbon {
  background: var(--brand-gradient);
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.stats-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(255,255,255,0.1), transparent),
    radial-gradient(600px 200px at 80% 100%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  position: relative;
}
.stat {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat:last-child {
  border-right: 0;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}


/* ==============================================================================
   9. CALLOUT
   ==============================================================================
   Inset highlight box, used in pricing section.
*/
.callout {
  background: var(--bg-panel);
  border-left: 4px solid var(--brand-primary);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 32px 0;
}


/* ==============================================================================
   10. REVIEWS
   ==============================================================================
   Star rating + testimonial cards. NOTE: in production, the 3 hardcoded
   <article class="review-card"> blocks should be replaced with the
   TrustIndex Google Reviews widget (see HTML comment in home-content.html).
   These styles remain for the rating summary block.
*/
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  text-align: center;
}
.rating-stars {
  color: #f0b400;
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.rating-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.review-card .rating-stars {
  font-size: 1rem;
  margin-bottom: 12px;
  display: block;
}
.review-card blockquote {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.review-card cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.review-card cite span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}


/* ==============================================================================
   11. CTA BANNER
   ==============================================================================
   Green gradient closing call-to-action. Used on 5 pages — Layer 2 candidate.
*/
.cta-banner {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 32px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,0.12), transparent),
    radial-gradient(500px 300px at 10% 90%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p {
  opacity: 0.95;
  max-width: 680px;
  margin: 0 auto 24px;
}


/* ==============================================================================
   12. FAQ ACCORDION
   ==============================================================================
   Uses the native <details>/<summary> element. Used on 18 pages — strong
   Layer 2 candidate.
*/
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
details.faq[open] {
  border-color: rgba(167,190,57,0.45);
  box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
details.faq[open] summary::after {
  transform: rotate(45deg);
}
details.faq .faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
details.faq .faq-answer p {
  margin: 0 0 12px;
}
details.faq .faq-answer p:last-child {
  margin-bottom: 0;
}


/* ==============================================================================
   13. INSIGHTS CARDS (blog grid)
   ==============================================================================
   The 3 cards on the home page will be replaced by a dynamic WordPress
   Blog Module in production. These styles remain so the dynamic output
   can use them.
*/
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insight-card:hover .insight-img img {
  transform: scale(1.05);
}
.insight-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.insight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.insight-card p {
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}


/* ==============================================================================
   14. COVERAGE CARDS
   ==============================================================================
   Branch address cards in the "Where we install" section.
*/
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.coverage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.coverage-card h3 {
  color: var(--brand-primary-dark);
  margin-bottom: 6px;
}
.coverage-card .coverage-address {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.coverage-card .coverage-cities {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.coverage-card a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}


/* ==============================================================================
   15. ACCREDITATION LOGO STRIP (large, hero version)
   ==============================================================================
   This is the white card with full-colour logos inside the intro section.
   It's DIFFERENT from .footer-accreditations (the smaller, white-silhouette
   strip in the footer) — those styles live in footer.css.
*/
.accreditations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 48px;
  margin: 36px auto 0;
  padding: 28px 24px;
  max-width: 1000px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.accreditation-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: grayscale(0.15);
  flex-shrink: 0;
}
.accreditation-logo:hover {
  transform: translateY(-2px);
  filter: grayscale(0);
}
.accreditation-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}
.accreditation-logo--tesla img { max-height: 48px; }
.accreditation-logo--sigenergy img { max-height: 56px; }
.accreditation-logo--eca img { max-height: 64px; }
@media (max-width: 600px) {
  .accreditations { gap: 24px 32px; padding: 22px 16px; }
  .accreditation-logo img { max-height: 44px; }
  .accreditation-logo--tesla img { max-height: 36px; }
  .accreditation-logo--sigenergy img { max-height: 40px; }
  .accreditation-logo--eca img { max-height: 48px; }
}


/* ==============================================================================
   16. INTRO VIDEO
   ==============================================================================
*/
.intro-video {
  margin: 48px auto 0;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.intro-video video {
  display: block;
  width: 100%;
  height: auto;
}
.intro-video figcaption {
  padding: 12px 16px;
  background: var(--bg-soft);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}


/* ==============================================================================
   17. TABLES (specs / compare)
   ==============================================================================
   Used by Home occasionally and by product pages heavily.
   Likely Layer 2 candidate.
*/
table.specs,
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.specs th,
table.specs td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.specs th {
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  width: 34%;
}
table.compare th,
table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.compare thead th {
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}
table.compare tbody tr:nth-child(even) td {
  background: var(--bg-panel);
}


/* ==============================================================================
   18. PAGE-SPECIFIC RESPONSIVE OVERRIDES
   ==============================================================================
   Foundation handles general responsiveness. These tweaks apply only to
   home-specific components.
*/
@media (max-width: 1100px) {
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 16px;
  }
  .stat:last-child { border-bottom: 0; }
  .cta-banner { padding: 40px 28px; }
}

@media (max-width: 500px) {
  section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
}

/* ==============================================================================
   CLIENT REVIEWS & TESTIMONIALS SECTION
   Added 2026-05-27 — static replacement for TrustIndex widget.
   ============================================================================== */

.reviews-aggregate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 40px;
  text-align: center;
}

.reviews-aggregate-stars {
  font-size: 2rem;
  color: #f5b800;
  letter-spacing: 4px;
}

.reviews-aggregate-rating {
  font-size: 1.3rem;
  color: #1a2429;
}

.reviews-aggregate-rating strong {
  font-size: 2rem;
  color: #a7be39;
}

.reviews-aggregate-count {
  color: #4a5568;
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f5b800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-style: italic;
  color: #1a2429;
  line-height: 1.55;
  margin: 0 0 20px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.review-author {
  color: #1a2429;
  font-size: 1rem;
}

.review-tag {
  display: inline-block;
  background: #a7be39;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 3px;
  align-self: flex-start;
}

.review-date {
  color: #888;
  font-size: 0.85rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 30px;
  color: #4a5568;
}

.reviews-cta a {
  color: #a7be39;
  font-weight: 700;
  text-decoration: none;
}

.reviews-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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