/* Shared mechanics for every design option. Looks live in c1/c2/c3/c4.css. Mobile first. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p, figure, blockquote { margin: 0; }
address { font-style: normal; }
.wrap { width: var(--container-width); max-width: var(--container); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--sp-3); top: var(--sp-3); background: #fff; color: #000; padding: var(--sp-1) var(--sp-3); z-index: 99; }
:focus-visible { outline: 3px solid #6FA8EC; outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1); min-height: 48px; padding: 0 var(--sp-4); font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }

/* header mechanics */
.nav { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.drawer { display: none; max-height: calc(100vh - 70px); overflow: auto; }
.drawer.open { display: block; }
.drawer ul { list-style: none; margin: 0; padding: var(--sp-1) 0; }
.drawer > .wrap > ul > li > a, .drawer summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; text-decoration: none; font-weight: 500; cursor: pointer; list-style: none; border-bottom: 1px solid rgba(127,127,127,.25); }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details ul a { display: block; padding: 10px 0 10px var(--sp-3); text-decoration: none; opacity: .8; }
.drawer .btn { width: 100%; margin-block: var(--sp-3); }
@media (min-width: 1140px) {
  .menu-btn, .drawer { display: none !important; }
  .nav { display: flex; align-items: center; gap: var(--sp-2); }
  .nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; text-decoration: none; font-weight: 500; }
  .dd { position: absolute; top: 100%; left: 0; min-width: 250px; padding: var(--sp-2); background: #fff; color: #1B1640; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(21,8,78,.4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
  .nav li:hover > .dd, .nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
  .dd a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #4f4b68; }
  .dd a:hover { background: #F7F3ED; color: #15084E; }
  .dd--two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-3); min-width: 520px; }
  .dd-h { margin: 4px 10px 6px; font-weight: 600; color: #15084E; }
}

/* review slider mechanics (manual, no autoplay) */
.slider { min-width: 0; max-width: 100%; }
.rv-track { transition: height .3s ease; display: flex; align-items: flex-start; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; }
.stars { display: inline-flex; gap: 2px; color: #F5B301; }
.stars svg { width: 16px; height: 16px; }
.rv blockquote { margin: var(--sp-2) 0 var(--sp-3); }
.rv figcaption { display: flex; align-items: center; gap: var(--sp-2); }
.rv figcaption strong { display: block; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; flex: none; }
.rv-ctrl { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-3); }
.rv-ctrl button { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; background: transparent; border: 1px solid currentColor; color: inherit; }

/* FAQ mechanics: every item starts closed; answers stay in the DOM */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: 48px; }
.faq .pm { width: 20px; height: 20px; flex: none; transition: transform .25s ease; }
.faq details[open] .pm { transform: rotate(45deg); }

.social { display: flex; gap: var(--sp-2); }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.trust ul { list-style: none; margin-block: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-6); }
.trust img { height: 64px; width: auto; }
.trust img.wide { height: 44px; }
@media (min-width: 900px) { .trust img { height: 78px; } .trust img.wide { height: 48px; } .trust ul { justify-content: space-between; } }

/* review tool: switch between the design options (removed once the client chooses) */
.review-switch { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 100; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20,20,24,.86); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,.25); font: 500 13px/1 system-ui, sans-serif; }
.review-switch a { color: #fff; text-decoration: none; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
.review-switch a[aria-current="page"] { background: #fff; color: #111; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
