/* ============================================================
   HOME PAGE STYLES (Hero + Contact + Reviews)
   Palette: Luxury Silver × Gold × Yellow
   Modernized with glass, gradient strokes, and soft noise
   ============================================================ */

/* ---------- SOFT NOISE BACKDROP ---------- */
:root {
  --noise: radial-gradient(120% 120% at 0% 0%, rgba(0, 0, 0, .03) 0 60%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(120% 120% at 100% 100%, rgba(0, 0, 0, .03) 0 60%, rgba(0, 0, 0, 0) 60%);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding-block: clamp(60px, 9vw, 96px) clamp(40px, 7vw, 72px);
  display: grid;
  align-items: stretch;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: translateZ(0);
  background-image: var(--hero-img, url('../img/hero.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 18, 24, .55) 0%, rgba(16, 18, 24, .62) 40%, rgba(16, 18, 24, .66) 100%),
    radial-gradient(60% 60% at 20% 10%, rgba(233, 196, 87, .16), transparent 60%),
    radial-gradient(50% 50% at 90% 20%, rgba(255, 240, 168, .12), transparent 55%),
    var(--noise);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: 1.1fr .9fr;
  color: #fff;
}

@media (max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-copy h1 {
  color: #fff;
}

.hero .lead,
.hero .muted {
  color: rgba(255, 255, 255, .85);
}

.pill {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  border: 1px solid rgba(230, 235, 245, .5);
  border-radius: 999px;
  padding: .35rem .7rem;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  backdrop-filter: blur(2px);
}

.cta {
  display: flex;
  gap: .8rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
  margin-top: 12px;
}

.stat {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(239, 210, 106, .55);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 28px rgba(239, 210, 106, .14) inset;
}

.stat b {
  font-size: clamp(18px, 2.2vw, 22px);
  display: block;
}

.hero-card.card {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(230, 230, 235, .85);
  backdrop-filter: blur(6px);
}

.hero-card .muted {
  color: #444;
}

/* ============================================================
   CONTACT — Elevated glass card + gradient strokes + icons
   ============================================================ */
.contact-section .section-head h2 {
  margin-bottom: .25rem;
}

.contact-section .section-head p {
  margin-top: 0;
}

.contact-shell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: clamp(12px, 1.8vw, 18px);
  background: linear-gradient(180deg, #fff, #fffef8);
  border: 1px solid var(--silver-300, #d9dde5);
  box-shadow: 0 20px 44px rgba(12, 15, 20, .07);
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(239, 210, 106, .18), transparent 60%),
    radial-gradient(50% 60% at 85% 15%, rgba(239, 210, 106, .14), transparent 60%),
    conic-gradient(from 120deg at 50% 20%, rgba(255, 255, 255, .8), rgba(255, 255, 240, .6), rgba(255, 255, 255, .8)),
    var(--noise);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: 1.12fr .88fr;
}

@media (max-width:940px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .98));
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(12, 15, 20, .08);
  overflow: hidden;
  padding: clamp(14px, 2vw, 20px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(120deg, #e7edf7, #fff, #f2d27a 60%, #c19213);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .6;
}

.contact-aside {
  position: relative;
  background: linear-gradient(180deg, #fff, var(--silver-200, #eef1f6));
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(12, 15, 20, .06);
  padding: clamp(14px, 2vw, 20px);
}

.aside-head {
  margin-bottom: .5rem;
}

.contact-aside::after {
  content: "";
  position: absolute;
  inset: auto 16px 16px 16px;
  height: 1px;
  background: linear-gradient(90deg, #e9c457 0, rgba(233, 196, 87, 0) 60%);
  opacity: .4;
}

/* Progress */
.form-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 10px 10px 18px;
}

.form-progress .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9dde5;
  box-shadow: inset 0 0 0 1px #cdd3df;
}

.form-progress .dot.is-filled {
  background: #c89b1c;
  box-shadow: 0 0 0 2px rgba(200, 155, 28, .28);
}

.form-progress .bar {
  height: 2px;
  background: linear-gradient(90deg, #e9c457, rgba(233, 196, 87, 0));
  opacity: .55;
}

/* Rows */
.form-row {
  display: grid;
  gap: clamp(12px, 2vw, 18px);
  grid-template-columns: 1fr 1fr;
  margin: 0 var(--s1, 0) var(--s2, 16px);
}

.form-row+.form-row {
  margin-top: -6px;
}

.field.full {
  grid-column: 1 / -1;
}

@media (max-width:600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Fields */
.field {
  position: relative;
}

.field.with-icon .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #0b1220;
  fill: currentColor;
  opacity: .72;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 14px;
  background: #fff;
  padding: 1.05rem 1rem 1rem 2.55rem;
  /* icon space */
  font: inherit;
  color: var(--text, #0c0f14);
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, transform .08s ease;
  box-shadow: 0 8px 18px rgba(12, 15, 20, .04);
  transform: translateZ(0);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-500, #c89b1c);
  box-shadow: 0 0 0 3px rgba(239, 210, 106, .35), 0 8px 22px rgba(239, 210, 106, .12) inset;
  background: #fffdf2;
}

.field label {
  position: absolute;
  left: 44px;
  top: 12px;
  padding: 0 .25rem;
  color: var(--muted, #5b6472);
  background: #fff;
  border-radius: 6px;
  transition: transform .16s ease, color .2s ease, background-color .2s ease, left .2s ease;
  pointer-events: none;
}

.field input:focus+label,
.field textarea:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-16px) scale(.92);
  color: #6f5200;
  background: #fffef4;
  left: 40px;
}

.field .err {
  display: block;
  margin-top: 6px;
  font-size: .875rem;
  color: #b45309;
  min-height: 1em;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Actions + Bright Send Button */
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: .4rem;
}

/* Brighter luxe gradient + sheen */
.btn.btn-send {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e5b52e 0%, #ffd658 40%, #f1c13a 60%, #d39b17 100%);
  color: #10141c;
  border: 1px solid #e7c568;
  box-shadow: 0 16px 36px rgba(212, 160, 23, .34), inset 0 0 0 1px rgba(255, 255, 255, .45);
  letter-spacing: .2px;
  padding: .9rem 1.2rem;
  font-weight: 800;
}

.btn.btn-send:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 210, 106, .5), 0 14px 30px rgba(212, 160, 23, .36);
}

.btn.btn-send::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-120%) rotate(10deg);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}

.btn.btn-send:hover::before {
  transform: translateX(120%) rotate(10deg);
}

.btn.btn-send .spinner {
  --size: 18px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .22);
  border-top-color: rgba(0, 0, 0, .68);
  margin-left: .5rem;
  display: none;
  animation: spin 900ms linear infinite;
}

.btn.btn-send.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  margin-top: .6rem;
}

/* Toast */
.toast {
  position: fixed;
  right: clamp(12px, 2.2vw, 20px);
  bottom: clamp(12px, 2.2vw, 20px);
  background: linear-gradient(135deg, #d4a017, #f0c83a);
  color: #0c0f14;
  border: 1px solid #e0b646;
  border-radius: 12px;
  padding: .8rem 1rem;
  box-shadow: 0 14px 32px rgba(212, 160, 23, .28), 0 0 0 3px rgba(239, 210, 106, .18) inset;
  z-index: 2000;
  transform: translateY(18px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.toast[hidden] {
  display: block;
  visibility: hidden;
}

.toast:not([hidden]) {
  transform: translateY(0);
  opacity: 1;
}

/* ----- Collaborate Graph styles ----- */
.collab-card {
  background: linear-gradient(180deg, #fff, #fffef8);
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 20px);
  box-shadow: 0 16px 36px rgba(12, 15, 20, .06);
}

.collab-graph {
  position: relative;
  height: 260px;
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, #fff9e6 140%),
    radial-gradient(80% 80% at 10% 0%, rgba(239, 210, 106, .12), transparent 60%);
}

.collab-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.collab-graph .grid line {
  stroke: rgba(12, 15, 20, .06);
  shape-rendering: crispEdges;
}

.collab-graph .axis text {
  fill: #646b78;
  font-size: 12px;
}

.collab-graph .axis path,
.collab-graph .axis line {
  stroke: rgba(12, 15, 20, .08);
}

.collab-graph .area {
  fill: url(#goldFade);
  opacity: .9;
  filter: drop-shadow(0 8px 18px rgba(200, 155, 28, .18));
}

.collab-graph .line {
  fill: none;
  stroke: #c89b1c;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 6px rgba(200, 155, 28, .35));
}

.collab-graph .dot {
  fill: #fff;
  stroke: #c19213;
  stroke-width: 2;
}

.collab-graph .tooltip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -120%);
  background: #10141c;
  color: #fff;
  font-size: 12px;
  padding: .35rem .5rem;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(12, 15, 20, .18), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  white-space: nowrap;
}

.collab-graph .tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #10141c;
}

/* ============================================================
   REVIEWS — Always-visible premium card + 5s crossfade carousel
   ============================================================ */
.reviews-section .section-head h2 {
  margin-bottom: .25rem;
}

.reviews-section .section-head p {
  margin-top: 0;
}

.reviews-carousel {
  --slides: 5;
  --per: 5s;
  /* one person every 5 seconds */
  --cycle: calc(var(--slides) * var(--per));
  --card-w: min(920px, 100%);
  position: relative;
  margin-top: 8px;
}

/* Keep area stable and centered */
.reviews-track {
  position: relative;
  min-height: clamp(260px, 32vh, 360px);
  display: grid;
  place-items: center;
}

.review {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--s3, 18px);
  opacity: 0;
  animation: reviewCycle var(--cycle) linear infinite;
  will-change: opacity, transform;
}

/* Stagger so each appears for exactly 5s */
.review:nth-child(1) {
  animation-delay: calc(0 * var(--per));
}

.review:nth-child(2) {
  animation-delay: calc(1 * var(--per));
}

.review:nth-child(3) {
  animation-delay: calc(2 * var(--per));
}

.review:nth-child(4) {
  animation-delay: calc(3 * var(--per));
}

.review:nth-child(5) {
  animation-delay: calc(4 * var(--per));
}

/* Premium card styling */
.review-card {
  width: var(--card-w);
  background: linear-gradient(180deg, #ffffff, #fffef8) padding-box;
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 18px;
  box-shadow:
    0 14px 30px rgba(12, 15, 20, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .45);
  padding: clamp(18px, 2.4vw, 28px);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, #e7edf7, #fff, #f2d27a 60%, #c19213);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .32;
}

.review-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(239, 210, 106, .16), transparent 60%);
  pointer-events: none;
}

/* Left accent bar */
.review-card>*:first-child {
  position: relative;
}

.review-card>*:first-child::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -6px;
  bottom: -6px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d675, #c89b1c);
  filter: drop-shadow(0 6px 14px rgba(200, 155, 28, .35));
}

.review-head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: .65rem;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--silver-300, #d9dde5);
  background: #fff9e6;
  box-shadow: 0 4px 10px rgba(12, 15, 20, .06);
}

.review-meta {
  line-height: 1.2;
}

.review-name {
  font-weight: 800;
  letter-spacing: .2px;
}

.review-course {
  display: inline-block;
  margin-top: 4px;
  font-size: .875rem;
  color: #6f5200;
  background: linear-gradient(180deg, #fff, #fff9e6);
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 999px;
  padding: 4px 10px;
}

.stars {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--gold-500, #c89b1c);
  filter: drop-shadow(0 2px 4px rgba(200, 155, 28, .25));
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: .95;
}

.stars .star-muted {
  opacity: .25;
  filter: none;
}

.review-card blockquote {
  margin: .25rem 0 0;
  position: relative;
}

.review-card blockquote::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -6px;
  font-size: 42px;
  line-height: 1;
  color: rgba(200, 155, 28, .25);
  font-weight: 800;
  pointer-events: none;
}

.review-card blockquote p {
  margin: 0;
  color: var(--text, #0c0f14);
  font-size: clamp(16px, 1.3vw, 18px);
}

/* Animated progress bar for current slide */
.reviews-carousel::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: min(320px, 60%);
  height: 2px;
  background: linear-gradient(90deg, rgba(233, 196, 87, .0), rgba(233, 196, 87, 1), rgba(233, 196, 87, .0));
  border-radius: 2px;
  animation: progressMove var(--per) linear infinite;
  opacity: .7;
}

/* Crossfade: 1s fade-in, ~3s hold, 1s fade-out = 5s total per slide */
@keyframes reviewCycle {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(.985);
  }

  4% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  24% {
    opacity: 0;
    transform: translateY(-6px) scale(.985);
  }

  100% {
    opacity: 0;
  }
}

@keyframes progressMove {
  0% {
    transform: translateX(-50%) scaleX(0);
  }

  100% {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Pause on hover/focus (keeps your existing interaction) */
.reviews-carousel:hover .review,
.reviews-carousel:focus-within .review {
  animation-play-state: paused;
}

.reviews-carousel:hover::after,
.reviews-carousel:focus-within::after {
  animation-play-state: paused;
}

@media (max-width:720px) {
  .review-head {
    grid-template-columns: 48px 1fr;
  }

  .review-avatar {
    width: 48px;
    height: 48px;
  }

  .reviews-track {
    min-height: clamp(300px, 42vh, 420px);
  }
}

/* Reduced-motion */
@media (prefers-reduced-motion:reduce) {
  .review {
    position: static;
    opacity: 1 !important;
    animation: none !important;
    pointer-events: auto;
  }

  .reviews-carousel::after {
    display: none;
  }
}

/* ---------- Contact list (append to home.css) ---------- */
.contact-list {
  list-style: none;
  margin: .6rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: .75rem .9rem;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fff, #fffef8);
  border: 1px solid var(--silver-300, #d9dde5);
  box-shadow: 0 8px 18px rgba(12, 15, 20, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease;
}

.contact-list li::before {
  /* subtle gradient stroke ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(120deg, #e7edf7, #fff, #f2d27a 60%, #c19213);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .25;
  pointer-events: none;
}

.contact-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(12, 15, 20, .08);
  border-color: color-mix(in srgb, var(--silver-300, #d9dde5) 60%, #e5c04d 40%);
}

.contact-list svg {
  width: 24px;
  height: 24px;
  color: #0b1220;
  fill: currentColor;
  opacity: .9;
  filter: drop-shadow(0 2px 5px rgba(200, 155, 28, .18));
}

.contact-list a,
.contact-list span {
  color: var(--text, #0c0f14);
  font-weight: 600;
  letter-spacing: .1px;
}

.contact-list a {
  text-decoration: none;
  background:
    linear-gradient(180deg, #fff, #fff9e6);
  border: 1px solid var(--silver-300, #d9dde5);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.contact-list a:hover {
  border-color: #e0c05a;
  box-shadow: 0 6px 16px rgba(239, 210, 106, .18);
  color: #6f5200;
}

.contact-list a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 210, 106, .35);
}

/* compact on small screens */
@media (max-width: 560px) {
  .contact-list li {
    padding: .65rem .75rem;
    grid-template-columns: 26px 1fr;
  }

  .contact-list svg {
    width: 22px;
    height: 22px;
  }
}


/* ---------- Contact Aside: Quick FAQ ---------- */
.quick-faq {
  margin-top: clamp(12px, 2vw, 18px);
  display: grid;
  gap: 10px;
}

.quick-faq details {
  position: relative;
  border: 1px solid var(--silver-300, #d9dde5);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fffef8);
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(12, 15, 20, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .18s ease;
}

.quick-faq details+details {
  margin-top: 6px;
}

.quick-faq details::before {
  /* subtle gold accent bar that shows when open */
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d675, #c89b1c);
  opacity: 0;
  transition: opacity .2s ease;
}

.quick-faq details:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(12, 15, 20, .08);
  border-color: color-mix(in srgb, var(--silver-300, #d9dde5) 65%, #e5c04d 35%);
}

.quick-faq details[open] {
  border-color: #e0c05a;
}

.quick-faq details[open]::before {
  opacity: .9;
}

.quick-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  color: var(--text, #0c0f14);
  outline: none;
  padding-right: 36px;
  /* space for chevron */
  position: relative;
}

.quick-faq summary::-webkit-details-marker {
  display: none;
}

.quick-faq summary::after {
  /* chevron */
  content: "";
  position: absolute;
  right: 12px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #c19213;
  border-bottom: 2px solid #c19213;
  transform: rotate(-45deg) translateY(-2px);
  transition: transform .25s ease;
}

.quick-faq details[open] summary::after {
  transform: rotate(45deg);
}

.quick-faq summary:focus-visible {
  box-shadow: var(--focus);
  border-radius: 8px;
}

.quick-faq p {
  margin: 8px 0 2px;
  color: var(--muted, #646b78);
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  overflow: hidden;
}

.quick-faq details[open] p {
  max-height: 240px;
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .quick-faq * {
    transition: none !important;
  }
}
