* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #F0EEE9;
  color: #0c0c0c;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  background: #0c0c0c;
  color: #F0EEE9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 10;
}

a {
  color: inherit;
  text-decoration: none;
}

.logo a {
  font-weight: 800;
  color: #F0EEE9; /* or #0c0c0c000 depending on nav background */
}

nav a:hover {
  opacity: 0.7;
}

nav a {
  font-weight: 500;
  color: #F0EEE9; /* match your nav */
}

.logo a {
  font-weight: 800;
  font-size: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  font-weight: 500;
  color: #F0EEE9;
}

/* PAGE */
.testimonials {
  padding: 120px 80px 80px;
}

.testimonials-header h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.testimonials-header p {
  opacity: 0.6;
  margin-bottom: 48px;
}

/* GRID */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}


.testimonial-card.expanded {
  max-height: 1000px;
}

/* HEADER */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quote-icon {
  width: 20px;
  height: 20px;
}

.card-header span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* META */
.card-meta p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* CONTENT */
.card-content {
  position: relative;
  max-height: 120px;
  overflow: hidden;
  margin: 24px 0;
  transition: max-height 0.5s ease;
}

/* subtle fade */
.card-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.testimonial-card.expanded .card-content {
  max-height: 1000px;
}

.testimonial-card.expanded .card-content::after {
  display: none;
}


/* LINKS */
.external-link {
  margin-top: auto;
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-decoration: underline;
}

.toggle-btn {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
}


/* TOGGLE */
.toggle-btn {
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
}

.toggle-btn:hover {
  opacity: 1;
}

.coming-soon {
  font-style: italic;
  margin-top: 16px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.toggle-btn {
  margin-top: 8px;
  margin-bottom: 24px;
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
}

.external-link {
  margin-top: auto;
  font-size: 0.9rem;
  text-decoration: underline;
}

.external-link:hover{
  opacity: 0.7;
}

/* ================= FOOTER ================= */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* =======================
   TABLET (iPad)
   ======================= */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 28px;
  }

  .testimonial-header {
    gap: 12px;
  }

  .testimonial-header h3 {
    font-size: 1.05rem;
  }

  .testimonial-header span {
    font-size: 0.9rem;
  }

  .card-content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .toggle-btn {
    font-size: 0.85rem;
  }

  .external-link {
    font-size: 0.85rem;
  }
}

/* =======================
   MOBILE
   ======================= */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 120px 20px 80px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
    border-radius: 24px;
  }

  .testimonial-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .testimonial-header h3 {
    font-size: 1rem;
  }

  .testimonial-header span {
    font-size: 0.85rem;
  }

  .card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .toggle-btn {
    margin-top: 6px;
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  .external-link {
    font-size: 0.85rem;
  }
}

/* =======================
   SMALL MOBILE
   ======================= */
@media (max-width: 480px) {
  .testimonial-card {
    padding: 20px;
  }

  .card-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {

  /* NAV */
  .navbar {
    padding: 0 24px;
  }

  nav {
    gap: 28px;
  }

  .logo a {
    font-size: 1.7rem;
  }
  }

  @media (max-width: 768px) {

  /* NAV */
  .navbar {
    padding: 0 20px;
    height: 56px;
  }

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .logo a {
    font-size: 1.4rem;
  }
}