/* ==========================================================================
   FAQ — one question panel, left heading, right card
   Used by every page that carries a .faq / .faq-list block.
   ========================================================================== */

.faq-wrap{max-width:1160px!important}
.faq-block{scroll-margin-top:96px}

/* the section that carries the panel gets the warm page tone, so the white
   card reads as a card instead of white-on-white */
.section:has(.faq-block){background:var(--bg)}

.faq-block{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);
  gap:clamp(32px,3.8vw,60px);
  align-items:start;
}

/* ---------- Left column ---------- */
.faq-side{
  max-width:44ch;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
/* order: label, headline, lede, drawing, link */
.faq-side .faq-lede{order:1}
.faq-side .faq-art{order:2}
.faq-side .faq-more{order:3;margin-top:26px}

/* quiet grey label above the headline */
.faq-side .eyebrow,
.faq-side .h1-anchor{
  font-family:var(--font-body);
  font-size:11.5px!important;
  font-weight:600;
  letter-spacing:.17em!important;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-bottom:20px;
  text-align:left!important;
}
.faq-side .h1-anchor{
  display:inline-block;
  border-bottom:0;
  padding-bottom:0;
}

/* headline: heavy sans, oversized, tight leading — the reference block */
.faq-side .section-title:not(.eyebrow),
.faq-side h2{
  font-family:var(--font-body);
  font-weight:800;
  text-align:left!important;
  margin:0 0 18px;
  font-size:clamp(34px,3.85vw,50px);
  line-height:1.04;
  letter-spacing:-.035em;
  color:#111;
  text-wrap:balance;
}
.faq-side .faq-lede,
.faq-side .section-sub,
.faq-side > p{
  order:1;
  text-align:left;
  margin:0;
  max-width:30ch;
  font-size:17px;
  font-weight:400;
  line-height:1.55;
  color:#8C867E;
  text-wrap:pretty;
}
.faq-side .faq-more{text-align:left!important}
.faq-side .faq-more>div{margin-top:0!important;text-align:left!important}

.faq-block-solo{grid-template-columns:minmax(0,1fr);max-width:800px;margin:0 auto}

/* the two speech bubbles: filled shapes, soft shadow, no strokes */
.faq-art{
  display:block;
  width:min(100%,392px);
  height:auto;
  margin-top:clamp(26px,3.4vw,44px);
  overflow:visible;
}
.faq-bub{filter:drop-shadow(0 12px 20px rgba(36,36,36,.10))}
.faq-bub-b{filter:drop-shadow(0 12px 22px rgba(110,150,215,.22))}

/* ---------- Right card ---------- */
.faq-panel{
  background:var(--white);
  border:1px solid rgba(230,225,216,.9);
  border-radius:20px;
  box-shadow:0 1px 2px rgba(36,36,36,.03),0 16px 42px rgba(36,36,36,.055);
  padding:6px clamp(16px,1.8vw,26px);
}

.faq-panel .faq-item,
.faq-panel .faq-list .faq-item{border:0;border-bottom:0;position:relative}
/* divider starts where the question text starts, not at the card edge */
.faq-panel .faq-item + .faq-item::before{
  content:'';
  position:absolute;
  left:60px;
  right:0;
  top:0;
  height:1px;
  background:var(--line);
  pointer-events:none;
}

.faq-panel .faq-item summary{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 18px;
  align-items:center;
  gap:18px;
  padding:17px 2px;
  font-family:var(--font-body);
  font-size:15.5px;
  font-weight:600;
  line-height:1.45;
  color:var(--ink);
  transition:color .18s;
  cursor:pointer;
  list-style:none;
  text-align:left;
}
.faq-panel .faq-item summary::-webkit-details-marker{display:none}
.faq-panel .faq-item summary h3{font-family:var(--font-body);font-size:inherit;font-weight:600;line-height:inherit;margin:0}

/* icon chip */
.faq-panel .faq-item summary::before{
  content:'';
  width:40px;
  height:40px;
  border-radius:50%;
  background-color:#F4F1EA;
  background-image:var(--faq-icon,var(--faq-i-info));
  background-repeat:no-repeat;
  background-position:center;
  background-size:17px 17px;
  transition:background-color .2s;
}
.faq-panel .faq-item summary:hover{color:var(--accent-dark)}
.faq-panel .faq-item[open] summary::before,
.faq-panel .faq-item summary:hover::before{background-color:#EDE8DE}

/* chevron */
.faq-panel .faq-item summary::after{
  content:'';
  width:18px;
  height:18px;
  background-image:var(--faq-chevron);
  background-repeat:no-repeat;
  background-position:center;
  background-size:13px 13px;
  font-size:0;
  transition:transform .25s ease;
}
.faq-panel .faq-item[open] summary::after{transform:rotate(180deg)}

/* answer */
.faq-panel .faq-item p{
  margin:0;
  padding:0 44px 20px 60px;
  max-width:none;
  font-size:15px;
  line-height:1.72;
  color:var(--ink-soft);
}
.faq-panel .faq-item[open] > p{animation:faqIn .22s ease-out both}
@keyframes faqIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

.faq-panel .faq-item summary:focus-visible{
  outline:2px solid rgba(167,123,85,.45);
  outline-offset:-3px;
  border-radius:10px;
}

/* ---------- Icons (data-i) ---------- */
:root{
  --faq-i-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.2' r='3.6'/%3E%3Cpath d='M5.2 20c.7-3.7 3.4-5.8 6.8-5.8s6.1 2.1 6.8 5.8'/%3E%3C/svg%3E");
  --faq-i-face:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.4'/%3E%3Cpath d='M9 10.2v.6M15 10.2v.6M9.2 14.4c1.7 1.5 4 1.5 5.6 0'/%3E%3C/svg%3E");
  --faq-i-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.4' y='10.4' width='13.2' height='9.6' rx='2.2'/%3E%3Cpath d='M8.6 10.4V8a3.4 3.4 0 016.8 0v2.4'/%3E%3C/svg%3E");
  --faq-i-price:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12.6l-7.4 7.4a2 2 0 01-2.8 0L4 14.2V4h10.2l5.8 5.8a2 2 0 010 2.8z'/%3E%3Ccircle cx='8.4' cy='8.4' r='1.3'/%3E%3C/svg%3E");
  --faq-i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.4'/%3E%3Cpath d='M12 7.4V12l3.2 2'/%3E%3C/svg%3E");
  --faq-i-file:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 3.6h7.3l4.3 4.3v12.5H6.2z'/%3E%3Cpath d='M13.4 3.6v4.4h4.4'/%3E%3C/svg%3E");
  --faq-i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.6s6-6 6-10.1A6 6 0 006 10.5c0 4.1 6 10.1 6 10.1z'/%3E%3Ccircle cx='12' cy='10.4' r='2.2'/%3E%3C/svg%3E");
  --faq-i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.4'/%3E%3Cpath d='M12 11.2v5.2M12 8.1v.7'/%3E%3C/svg%3E");
  --faq-i-album:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.8' y='5' width='16.4' height='12.4' rx='2.2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='M4.6 16l4.6-4 3.4 3 2.6-2.2 3.8 3.2'/%3E%3C/svg%3E");
  --faq-i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6l7 2.6v5.4c0 4.3-3 7-7 8.8-4-1.8-7-4.5-7-8.8V6.2z'/%3E%3Cpath d='M9 12l2.2 2.2L15.4 10'/%3E%3C/svg%3E");
  --faq-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9A29A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
}
.faq-item[data-i="user"]{--faq-icon:var(--faq-i-user)}
.faq-item[data-i="face"]{--faq-icon:var(--faq-i-face)}
.faq-item[data-i="lock"]{--faq-icon:var(--faq-i-lock)}
.faq-item[data-i="price"]{--faq-icon:var(--faq-i-price)}
.faq-item[data-i="clock"]{--faq-icon:var(--faq-i-clock)}
.faq-item[data-i="file"]{--faq-icon:var(--faq-i-file)}
.faq-item[data-i="pin"]{--faq-icon:var(--faq-i-pin)}
.faq-item[data-i="album"]{--faq-icon:var(--faq-i-album)}
.faq-item[data-i="shield"]{--faq-icon:var(--faq-i-shield)}

/* ---------- Narrow screens ---------- */
@media (max-width:880px){
  .faq-block{grid-template-columns:minmax(0,1fr);gap:26px}
  .faq-block-solo{grid-template-columns:minmax(0,1fr);max-width:800px;margin:0 auto}

.faq-art{display:none}
  .faq-side{max-width:none}
  .faq-side .section-sub,.faq-side>p{max-width:44ch}
  .faq-panel{margin-inline:-4px;border-radius:16px;padding:4px 14px}
  .faq-panel .faq-item summary{
    grid-template-columns:34px minmax(0,1fr) 16px;
    gap:14px;
    padding:16px 2px;
    font-size:15px;
  }
  .faq-panel .faq-item summary::before{width:34px;height:34px;background-size:15px 15px}
  .faq-panel .faq-item summary::after{width:16px;height:16px;background-size:12px 12px}
  .faq-panel .faq-item p{padding:0 8px 18px 50px;font-size:14.5px;line-height:1.7}
  .faq-panel .faq-item + .faq-item::before{left:50px}
}

@media (prefers-reduced-motion:reduce){
  .faq-panel .faq-item summary::after{transition:none}
  .faq-panel .faq-item[open] > p{animation:none}
}

/* ---------- Standalone FAQ page: contact block under the card ---------- */
.faq-block-solo .faq-after{margin-top:0}
.faq-after{margin-top:34px;text-align:center}
.faq-after p{margin:0 0 16px;font-family:var(--font-title);font-size:19px;color:var(--ink)}
