/* ── 08–12 · Why, Free tools, Where we work, Reviews, FAQ ── */

/* Sections parked until their content exists. Section previews (/section/…) still show them. */
[data-hidden-until-ready] { display: none; }
.section-preview [data-hidden-until-ready] { display: block; }

/* 08 · Why MakeSitePlan: dark photo, heading left, 4 white cards right */
.why { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--msp-section-y); color: var(--msp-on-dark-muted); background: var(--msp-secondary); }
.why__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 17 25 / .94) 0%, rgb(8 17 25 / .8) 45%, rgb(8 17 25 / .55) 100%); }
.why__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 104px); }
.why__title { margin-top: 20px; font-size: var(--msp-fs-h2-alt); line-height: 1.06; color: #fff; }
.why__lead { max-width: 44ch; margin: 22px 0 32px; font-size: var(--msp-fs-lead); line-height: 1.6; color: rgb(255 255 255 / .82); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.why__grid > li:nth-child(even) { margin-top: 40px; margin-bottom: -40px; } /* staggered layout; margin so it doesn't fight the reveal transform */
.why-card { padding: 28px; border-radius: var(--msp-radius-lg); background: #fff; color: var(--msp-text); }
.why-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--msp-primary); color: var(--msp-secondary); }
.why-card__icon .icon { width: 25px; height: 25px; }
.why-card h3 { margin-top: 22px; font-size: 22px; line-height: 1.2; }
.why-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

/* 09 · Free tools */
.tools { padding-block: var(--msp-section-y); background: #fff; }
.tools__title { max-width: 16ch; margin-top: 20px; font-size: var(--msp-fs-h2-alt); line-height: 1.06; }
.tools__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.tool-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--msp-divider); border-radius: var(--msp-radius-lg); transition: border-color .3s, box-shadow .3s; }
.tool-card:hover { border-color: rgb(8 17 25 / .18); box-shadow: 0 28px 50px -34px rgb(8 17 25 / .4); }
.tool-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--msp-secondary); color: var(--msp-primary); }
.tool-card__icon .icon { width: 25px; height: 25px; }
.tool-card h3 { margin-top: 22px; font-size: 22px; line-height: 1.2; }
.tool-card p { margin: 10px 0 24px; font-size: 15.5px; line-height: 1.6; }
.tool-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 500; color: var(--msp-accent); }
.tool-card__link .icon { width: 17px; height: 17px; }

/* 10 · Where we work: tile-grid map */
.loc { padding-block: var(--msp-section-y); background: var(--msp-surface); }
.loc__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.loc__title { margin-top: 20px; font-size: var(--msp-fs-h2-alt); line-height: 1.06; }
.loc__lead { max-width: 46ch; margin-top: 22px; font-size: var(--msp-fs-lead); line-height: 1.6; }
.loc__label { margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--msp-muted); }
.loc__popular ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.loc__popular a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--msp-divider); border-radius: var(--msp-radius-pill); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--msp-secondary); transition: background-color .25s, border-color .25s; }
.loc__popular a:hover { background: var(--msp-primary); border-color: var(--msp-primary); }
.loc__ca { display: flex; gap: 12px; margin: 26px 0 30px; padding: 14px 16px; border-radius: var(--msp-radius-sm); background: #fff; font-size: 14.5px; line-height: 1.55; }
.loc__ca .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--msp-accent); }
.loc__ca strong { font-weight: 600; color: var(--msp-secondary); }
.loc__ca a { color: var(--msp-accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.loc-map { padding: clamp(18px, 2.5vw, 32px); border-radius: var(--msp-radius-lg); background: #fff; }
.loc-map__grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 6px; }
.loc-map__grid li { grid-column: var(--c); grid-row: var(--r); }
.loc-tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: var(--msp-surface-2); font-size: clamp(10px, .9vw, 14px); font-weight: 600; color: var(--msp-secondary); transition: background-color .25s, transform .25s var(--msp-ease-out); }
.loc-tile:hover, .loc-tile:focus-visible { background: var(--msp-primary); transform: scale(1.08); }
.loc-tile.is-unavailable { background: repeating-linear-gradient(135deg, #fff 0 4px, #E5E9EC 4px 8px); color: var(--msp-muted); outline: 1px dashed #B8C1C8; outline-offset: -1px; }
.loc-tile.is-unavailable:hover { background: repeating-linear-gradient(135deg, #fff 0 4px, #E5E9EC 4px 8px); }
.loc-map__key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13.5px; color: var(--msp-muted); }
.loc-map__swatch { display: inline-block; width: 14px; height: 14px; margin-right: -8px; border-radius: 4px; background: var(--msp-surface-2); }
.loc-map__swatch.is-unavailable { background: repeating-linear-gradient(135deg, #fff 0 3px, #D8DEE2 3px 6px); outline: 1px dashed #B8C1C8; }

/* 11 · Reviews (placeholder content until real reviews exist) */
.rev { padding-block: var(--msp-section-y); background: var(--msp-secondary); color: var(--msp-on-dark-muted); overflow: hidden; }
.rev__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rev__title { margin-top: 20px; font-size: var(--msp-fs-h2-alt); line-height: 1.06; color: #fff; }
.rev__nav { display: flex; gap: 10px; }
.rev__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgb(255 255 255 / .22); border-radius: 50%; color: #fff; transition: background-color .3s, color .3s; }
.rev__btn:hover { background: var(--msp-primary); border-color: var(--msp-primary); color: var(--msp-secondary); }
.rev__btn[data-rev-prev] .icon { transform: rotate(180deg); }
.rev__placeholder { margin-top: 18px; display: inline-block; padding: 6px 12px; border-radius: var(--msp-radius-pill); background: rgb(255 196 0 / .16); color: #FFD25C; font-size: 13px; font-weight: 500; }
.rev__track { display: flex; gap: 20px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rev__track::-webkit-scrollbar { display: none; }
.rev-card { flex: 0 0 min(440px, 86%); scroll-snap-align: start; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--msp-on-dark-line); border-radius: var(--msp-radius-lg); background: rgb(255 255 255 / .04); }
.rev-card__stars { color: var(--msp-primary); letter-spacing: .15em; }
.rev-card blockquote { margin: 18px 0 28px; font-size: 19px; line-height: 1.55; color: #fff; }
.rev-card__who { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 14px; }
.rev-card__who strong { display: block; font-weight: 500; color: #fff; }
.rev-card__av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--msp-primary); color: var(--msp-secondary); font-weight: 600; }

/* 12 · FAQ */
.faq { padding-block: var(--msp-section-y); background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(40px, 6vw, 104px); }
.faq__head { position: sticky; top: calc(var(--msp-header-h) + 24px); }
.faq__title { max-width: 12ch; margin-top: 20px; font-size: var(--msp-fs-h2-alt); line-height: 1.06; }
.faq__lead { max-width: 38ch; margin: 22px 0 30px; font-size: var(--msp-fs-lead); line-height: 1.6; }
.faq__list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--msp-divider); border-radius: var(--msp-radius-md); background: #fff; transition: background-color .3s, border-color .3s; }
.faq-item[open] { background: var(--msp-surface); border-color: transparent; }
.faq-item summary { position: relative; display: block; padding: 22px 64px 22px 24px; font-size: 18px; font-weight: 400; line-height: 1.35; color: var(--msp-secondary); cursor: pointer; list-style: none; border-radius: var(--msp-radius-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--msp-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081119' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform .35s var(--msp-ease-out), background-color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--msp-primary); }
.faq-item p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; }

@media (max-width: 1023px) {
  .why__inner, .loc__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .tools__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .why__grid, .tools__grid { grid-template-columns: 1fr; }
  .why__grid > li:nth-child(even) { margin: 0; }
  .loc-map__grid { gap: 3px; }
  .loc-tile { border-radius: 5px; font-size: 9px; }
  .rev__head { flex-direction: column; align-items: flex-start; }
}
