/* ============================================
   Online Quran Classes - Responsive Styles
   Islamic aesthetic with modern design
   ============================================ */

:root {
  /* Color palette - Islamic inspired */
  --color-primary: #1a7f6b;
  --color-primary-dark: #0f5c4d;
  --color-primary-light: #2a9d85;
  --color-accent: #d4a853;
  --color-accent-soft: #e8c97a;
  
  --color-bg: #faf9f6;
  --color-bg-alt: #f0ede8;
  --color-surface: #ffffff;
  --color-text: #2d3436;
  --color-text-muted: #636e72;
  
  --color-border: #e8e4df;
  --shadow-sm: 0 2px 8px rgba(26, 127, 107, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 127, 107, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 127, 107, 0.15);
  
  --font-display: 'Amiri', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --header-height: 108px;
  --container-max: 1200px;
  --section-padding: 5rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, opacity 0.35s ease, transform 0.35s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-100%);
  /* Let taps pass through the hidden bar so the fixed compact button stays usable on mobile */
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.logo-img {
  height: 94px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(26, 127, 107, 0.42));
}

.logo-arabic {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.nav-menu a {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.compact-toggle {
  display: inline-flex;
  position: fixed;
  top: max(1.25rem, env(safe-area-inset-top, 0px));
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 127, 107, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 92, 77, 0.14);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 1100;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.compact-toggle span {
  width: 3px;
  height: 18px;
  background: var(--color-primary-dark);
  border-radius: 999px;
}

.compact-toggle:hover {
  box-shadow: 0 14px 32px rgba(15, 92, 77, 0.2);
}

.compact-toggle[aria-expanded="true"] {
  background: rgba(26, 127, 107, 0.1);
}

.header.scrolled .logo,
.header.scrolled .nav-menu:not(.active) {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Show compact nav: sibling selector + html class fallback (mobile / WebKit-safe) */
.header.scrolled + .compact-toggle,
html.scrolled-page .compact-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.compact-menu {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 220px;
  padding: 1rem 1.1rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 92, 77, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  z-index: 1090;
}

.compact-menu a {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.compact-menu a:hover {
  color: var(--color-primary);
}

.compact-menu.compact-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    var(--color-primary) 0%, 
    var(--color-primary-dark) 50%,
    #0d4a3f 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 168, 83, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42, 157, 133, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  animation: heroFadeUp 900ms ease-out 120ms both;
}

.hero-bismillah {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--color-accent-soft);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-ayah-wrap {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  max-width: 36rem;
}

.hero-ayah {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.9;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.hero-ayah-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.hero-ayah-translation {
  font-style: italic;
}

.hero-ayah-cite {
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-weight: 400;
  opacity: 0.95;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 520px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.4);
}

.btn-primary:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 168, 83, 0.45);
}

/* Scroll reveal utility — keyframe-based so above-the-fold items still animate
   (browsers often skip transitions when start/end states apply in one frame). */
@keyframes revealFadeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
}

.reveal.is-visible {
  animation-name: revealFadeIn;
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.reveal.is-visible.delay-1 {
  animation-delay: 70ms;
}
.reveal.is-visible.delay-2 {
  animation-delay: 140ms;
}
.reveal.is-visible.delay-3 {
  animation-delay: 210ms;
}
.reveal.is-visible.delay-4 {
  animation-delay: 280ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal.is-visible {
    animation: none;
  }
}

/* Hero keyframes */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-18px);
  }
}

.btn-full {
  width: 100%;
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

/* ============================================
   Courses Section
   ============================================ */

.courses {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.course-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(26, 127, 107, 0.2);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.course-icon {
  width: 56px;
  height: 56px;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.course-icon svg {
  width: 100%;
  height: 100%;
}

.course-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.course-arabic {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.course-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-features li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding-left: 1.25rem;
  position: relative;
}

.course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.step-connector {
  display: none;
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
  }
}

/* ============================================
   Features
   ============================================ */

.features {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  width: 2.5rem;
}

.feature-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

.feature h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ============================================
   Contact / Enroll Form
   ============================================ */

.contact {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.enroll-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-row-phone {
  grid-template-columns: 1fr 1.5fr;
}

.form-group-country {
  min-width: 0;
}

.form-group-phone {
  min-width: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.enroll-form .btn {
  margin-top: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 3rem 0;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand .logo-arabic {
  color: var(--color-accent-soft);
}

.footer-brand .logo-text {
  color: #fff;
}

.logo-img-footer {
  height: 108px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.footer-contact {
  margin: 0 0 1.25rem;
  font-style: normal;
}

.footer-contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  margin: 0;
}

.footer-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-contact-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 201, 122, 0.45);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-accent-soft);
  opacity: 0.95;
}

.footer-contact-icon svg {
  display: block;
}

/* Filled WhatsApp mark — scale slightly so visual weight matches stroke icons */
.footer-contact-icon--whatsapp .footer-icon-whatsapp {
  transform: scale(0.92);
  transform-origin: center;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.footer-contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-word;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 520px) {
  .footer-contact-list {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-link {
    width: 100%;
    max-width: 280px;
    justify-content: flex-start;
  }
}

/* ============================================
   Responsive - Tablet
   ============================================ */

@media (max-width: 992px) {
  :root {
    --section-padding: 4rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .course-card.featured {
    order: -1;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Responsive - Mobile
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
    --header-height: 88px;
  }

  .logo-img {
    height: 72px;
    max-width: 280px;
  }

  .logo-img-footer {
    height: 84px;
    max-width: 300px;
  }
  
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .header.scrolled .logo,
  .header.scrolled .nav-menu:not(.active):not(.compact-open) {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 2rem) 0 3rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }
  
  .enroll-form {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-bismillah {
    font-size: 1.25rem;
  }
  
  .course-card {
    padding: 1.5rem;
  }
}

/* ============================================
   Reviews page
   ============================================ */

.nav-menu a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

.reviews-page {
  padding-top: calc(var(--header-height) + 2rem);
}

.reviews-hero {
  padding: 3rem 0 2rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.reviews-hero-content {
  animation: heroFadeUp 900ms ease-out 120ms both;
}

.reviews-hero-sub {
  margin-bottom: 0;
}

.reviews-list {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.review-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.review-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reviews-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.reviews-cta {
  text-align: center;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
