/* ==========================================================
   Wefix — section compositions
   Each section has its own layout; shared tokens live in global.css
   ========================================================== */

/* ---------- Shared page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem); background: var(--surface); isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(37,150,208,0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(37,150,208,0.08), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background-image: radial-gradient(rgba(13,27,42,0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 1.1rem; }
.page-hero .lead { margin-bottom: 2rem; max-width: 52ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.page-hero__media { position: relative; }
.page-hero__media .media { aspect-ratio: 5 / 4; box-shadow: var(--shadow-3); }
.page-hero__media .media img { object-fit: cover; }
.page-hero__float {
  position: absolute; left: -2rem; bottom: 1.5rem; z-index: 2;
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem;
  background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-2);
  max-width: 260px;
}
.page-hero__float strong { display: block; font-size: 0.95rem; }
.page-hero__float span { font-size: var(--fs-sm); color: var(--muted); }

.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.6rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-deep); }

/* ---------- Homepage hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(1000px 620px at 78% 18%, rgba(37,150,208,0.22), transparent 62%),
    radial-gradient(700px 500px at 0% 90%, rgba(37,150,208,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: 0.6;
  background-image: radial-gradient(rgba(13,27,42,0.085) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 5rem); letter-spacing: -0.045em; line-height: 1; margin-bottom: 1.4rem; }
.hero__title .line { display: block; }
.hero__title .hl { color: var(--brand); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hero__stage { position: relative; aspect-ratio: 4 / 3.4; }
.hero__stage > .hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2);
}
.float-card strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.float-card span { font-size: var(--fs-xs); color: var(--muted); }
.float-card--a { left: -4%; top: 12%; }
.float-card--b { right: -2%; bottom: 14%; }
.float-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #e8eef4; position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,150,208,0.12), transparent 40%, transparent 60%, rgba(37,150,208,0.12)); pointer-events: none; }
.trust__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { display: flex; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem; border-left: 1px solid var(--navy-line); }
.trust__item:first-child { border-left: 0; }
.trust__item h2 { font-size: 1.02rem; color: #ffffff; margin-bottom: 0.25rem; }
.trust__item p { font-size: var(--fs-sm); color: #aebbc8; margin: 0; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(1rem, 2.2vw, 1.5rem); }
.svc {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  text-decoration: none; color: var(--ink);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); border-color: rgba(37,150,208,0.35); color: var(--ink); }
.svc__media { position: relative; overflow: hidden; background: var(--surface-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__body { padding: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.svc__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.svc__body p { color: var(--muted); margin: 0; }
.svc__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0; list-style: none; }
.svc__meta li { font-size: var(--fs-xs); font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 6px; background: var(--surface-2); color: var(--ink); }
.svc__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--brand-deep); }
.svc__more .btn__arrow { transition: transform var(--dur) var(--ease-out); }
.svc:hover .svc__more .btn__arrow { transform: translateX(6px); }

.svc--feature { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: #e8eef4; }
.svc--feature:hover { border-color: var(--brand); color: #e8eef4; }
.svc--feature .svc__media { flex: 1; min-height: 360px; background: radial-gradient(circle at 50% 40%, #1d3a55, var(--navy)); }
.svc--feature .svc__media img { object-fit: cover; }
.svc--feature h3 { color: #ffffff; }
.svc--feature p { color: #b8c4d0; }
.svc--feature .svc__meta li { background: rgba(255,255,255,0.08); color: #e8eef4; }
.svc--feature .svc__more { color: #7cc6ef; }
.svc--small { flex-direction: row; align-items: stretch; }
.svc--small .svc__media { width: 42%; min-height: 220px; }
.svc--small .svc__body { justify-content: center; }
.svc--small .svc__body h3 { font-size: 1.45rem; }

/* ---------- Category explorer (tabs) ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.tablist { display: flex; flex-direction: column; gap: 0.75rem; }
.tab {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  width: 100%; padding: 1.2rem 1.3rem; text-align: left; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.tab:hover { border-color: rgba(37,150,208,0.45); transform: translateX(4px); }
.tab__title { font-weight: 800; font-size: 1.1rem; display: block; }
.tab__desc { font-size: var(--fs-sm); color: var(--muted); display: block; }
.tab__num { font-size: var(--fs-sm); font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #ffffff; box-shadow: var(--shadow-2); transform: none; }
.tab[aria-selected="true"] .tab__desc { color: #b8c4d0; }
.tab[aria-selected="true"] .tab__num { color: #7cc6ef; }
.tab[aria-selected="true"] .icon-tile { background: rgba(37,150,208,0.2); color: #7cc6ef; }
.tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: -1px; top: 22%; bottom: 22%; width: 4px; border-radius: 4px; background: var(--brand);
}
.tabpanel { position: relative; min-height: 100%; }
.tabpanel__card { display: none; height: 100%; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.tabpanel__card.is-active { display: flex; animation: panel-in 0.6s var(--ease-out) both; }
.tabpanel__media { aspect-ratio: 16 / 11; background: var(--surface-2); }
.tabpanel__media img { width: 100%; height: 100%; object-fit: cover; }
.tabpanel__body { padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.tabpanel__body h3 { font-size: 1.6rem; margin: 0; }
.tabpanel__body p { color: var(--muted); margin: 0; }
.tabpanel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tabpanel__cols h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.6rem; }
.tabpanel__cols ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.97rem; }
.tabpanel__cols li::before { content: "→ "; color: var(--brand-deep); font-weight: 700; }
.tabpanel__body .link-arrow { margin-top: auto; }

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); counter-reset: st; }
.process__rail { position: absolute; top: 33px; left: 34px; width: calc(75% + 20px); height: 3px; background: var(--line-strong); border-radius: 3px; overflow: hidden; }
.process__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), #7cc6ef); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.process.is-live .process__fill { transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 68px; height: 68px; margin-bottom: 1.5rem; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand-deep);
  font-weight: 900; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--bg);
  transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
}
.step:hover .step__num { background: var(--brand); color: var(--on-brand); transform: scale(1.06); }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.step .icon { color: var(--brand-deep); margin-bottom: 0.7rem; width: 24px; height: 24px; }

/* ---------- Why Wefix split ---------- */
.why { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.why__media { position: relative; }
.why__media .media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-3); }
.why__media .media img { object-fit: cover; }
.why__quote {
  position: absolute; right: -1.5rem; bottom: -1.5rem; max-width: 240px; padding: 1.1rem 1.25rem;
  background: var(--brand); color: var(--on-brand); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  font-weight: 700; font-size: 0.98rem; line-height: 1.4;
}
.why__points { display: grid; gap: 0; margin-top: 1.5rem; }
.why__point { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.why__point:last-child { border-bottom: 1px solid var(--line); }
.why__point h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.why__point p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.why__point .icon-tile { width: 46px; height: 46px; }

/* ---------- Visual storytelling (navy, layered) ---------- */
.story { position: relative; overflow: hidden; isolation: isolate; }
.story::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(900px 500px at 20% 0%, rgba(37,150,208,0.25), transparent 60%), radial-gradient(700px 420px at 100% 100%, rgba(37,150,208,0.15), transparent 60%); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.story__layers { position: relative; min-height: 540px; }
.story__big { position: absolute; left: 0; top: 0; width: 84%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.story__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--navy); box-shadow: var(--shadow-3); }
.story__big img, .story__small img { width: 100%; height: 100%; object-fit: cover; }
.story__note {
  position: absolute; left: 6%; bottom: 6%; max-width: 280px; z-index: 2;
  padding: 1.2rem 1.3rem; border-radius: var(--r-md);
  background: rgba(13,27,42,0.78); border: 1px solid var(--navy-line); backdrop-filter: blur(10px);
  color: #e8eef4;
}
.story__note strong { display: block; color: #ffffff; margin-bottom: 0.25rem; }
.story__note p { margin: 0; font-size: 0.95rem; color: #b8c4d0; }
.story h2 { color: #ffffff; }
.story__list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.story__list li { display: flex; gap: 0.9rem; align-items: flex-start; color: #c9d3dd; }
.story__list li .icon { color: #7cc6ef; margin-top: 0.15rem; }

/* ---------- Repair detail rows (alternating) ---------- */
.rows { display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.row--flip .row__media { order: 2; }
.row__media { position: relative; }
.row__media .media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.row__media .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.row:hover .row__media .media img { transform: scale(1.04); }
.row__index { position: absolute; top: -1.2rem; left: -1.2rem; font-size: clamp(4rem, 9vw, 7rem); font-weight: 900; color: var(--brand-soft); letter-spacing: -0.06em; line-height: 1; z-index: -1; user-select: none; }
.row h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.row > div:last-child p { color: var(--muted); }
.row__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; padding: 1.3rem 0; border-block: 1px solid var(--line); }
.row__cols h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.6rem; }
.row__cols ul { list-style: none; display: grid; gap: 0.35rem; font-size: 0.96rem; }
.row__cols li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.6rem; border-radius: 50%; background: var(--brand); vertical-align: middle; }

/* ---------- Brands ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.brand-word {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0.7rem 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 800; letter-spacing: -0.01em; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur) var(--ease-out);
}
.brand-word:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-deep); box-shadow: var(--shadow-2); }
.brands-note { text-align: center; margin: 1.5rem auto 0; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel__track { display: flex; transition: transform 0.7s var(--ease-out); }
.carousel__slide { flex: 0 0 100%; padding: clamp(2rem, 5vw, 3.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.carousel__quote { font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 1.5rem; color: var(--ink); max-width: 46ch; }
.carousel__who { display: flex; align-items: center; gap: 0.9rem; }
.carousel__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand-deep); font-weight: 800; }
.carousel__who strong { display: block; }
.carousel__who span { font-size: var(--fs-sm); color: var(--muted); }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot { width: 10px; height: 10px; border-radius: var(--r-pill); border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: width var(--dur) var(--ease-out), background var(--dur-fast); }
.carousel__dot[aria-selected="true"] { width: 32px; background: var(--brand); }
.carousel__arrows { display: flex; gap: 0.6rem; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.carousel__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel__btn .icon { width: 20px; height: 20px; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 880px; margin-inline: auto; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out); }
.faq__item.is-open { border-color: rgba(37,150,208,0.45); box-shadow: var(--shadow-2); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-align: left; cursor: pointer; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform var(--dur) var(--ease-out), background var(--dur-fast), color var(--dur-fast); }
.faq__icon .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 1.4rem 1.4rem; margin: 0; color: var(--muted); }
.no-js .faq__panel { grid-template-rows: 1fr; }
.faq__item[hidden-js] { display: none; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--brand) 0%, #1f86bd 55%, #14608a 100%); color: var(--on-brand); border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 4.5rem); }
.final-cta::before, .final-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.final-cta::before { width: 520px; height: 520px; right: -140px; top: -220px; }
.final-cta::after { width: 360px; height: 360px; right: 40px; bottom: -200px; }
.final-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem; align-items: center; }
.final-cta h2 { color: var(--on-brand); font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 0.6rem; }
.final-cta p { color: var(--on-brand); font-size: 1.1rem; margin: 0; max-width: 46ch; }
.final-cta .btn--primary { background: var(--navy); color: #ffffff; box-shadow: none; }
.final-cta .btn--primary::before { background: #ffffff; }
.final-cta .btn--primary:hover { color: var(--navy); }
.final-cta .btn--ghost { border-color: rgba(11,22,32,0.4); color: var(--on-brand); }
.final-cta .btn--ghost::before { background: var(--on-brand); }
.final-cta .btn--ghost:hover { color: #fff; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Inner-page content blocks ---------- */
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.issue { position: relative; padding: 1.8rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur-fast); overflow: hidden; }
.issue:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(37,150,208,0.4); }
.issue::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--brand-soft); transition: transform var(--dur) var(--ease-out); }
.issue:hover::after { transform: scale(1.4); }
.issue > * { position: relative; z-index: 1; }
.issue h3 { font-size: 1.2rem; margin: 1rem 0 0.4rem; }
.issue p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.issues--feature .issue:first-child { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: #e8eef4; }
.issues--feature .issue:first-child h3 { color: #fff; }
.issues--feature .issue:first-child p { color: #b8c4d0; }
.issues--feature .issue:first-child::after { background: rgba(37,150,208,0.2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

.feature-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.feature-band > div { padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 1px solid var(--line); }
.feature-band > div:first-child { border-left: 0; }
.feature-band h3 { font-size: 1.2rem; margin: 0.9rem 0 0.4rem; }
.feature-band p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.timeline-v { display: grid; gap: 1.5rem; }
.timeline-v article { position: relative; padding-left: 2rem; border-left: 2px solid var(--line-strong); }
.timeline-v article::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline-v h3 { font-size: 1.1rem; }
.timeline-v p { margin: 0; color: var(--muted); }

.enquiry-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.enquiry-options a { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: transform var(--dur) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out); }
.enquiry-options a:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-2); color: var(--ink); }
.enquiry-options strong { font-size: 1.05rem; }
.enquiry-options span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Services page list ---------- */
.cat-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.cat-block:first-child { border-top: 0; padding-top: 0; }
.cat-block__head .media { aspect-ratio: 4 / 3; margin-bottom: 1.5rem; box-shadow: var(--shadow-2); }
.cat-block__head .media img { width: 100%; height: 100%; object-fit: cover; }
.cat-block__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.repair-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.repair-list a { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur) var(--ease-out); }
.repair-list a:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateX(4px); color: var(--ink); }
.repair-list a .btn__arrow { color: var(--brand-deep); }
.repair-list span.static { padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.repair-list span.static { display: block; }

/* ---------- Tablet "before you book" ---------- */
.checklist-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.checklist-card > div { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.checklist-card > div + div { background: var(--navy); color: #e8eef4; }
.checklist-card > div + div h3 { color: #fff; }
.checklist-card > div + div p { color: #b8c4d0; }

/* ---------- Booking wizard ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.wizard__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.wizard__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 2rem; }
.wizard__steps li { display: flex; flex-direction: column; gap: 0.5rem; }
.wizard__steps li::after { content: ""; height: 4px; border-radius: 4px; background: var(--line-strong); transition: background var(--dur) var(--ease-soft); }
.wizard__steps li.is-done::after, .wizard__steps li.is-current::after { background: var(--brand); }
.wizard__steps span { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wizard__steps li.is-current span { color: var(--brand-deep); }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: panel-in 0.5s var(--ease-out) both; }
.wizard__step h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.4rem; }
.wizard__step > p { color: var(--muted); margin-bottom: 1.6rem; }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.wizard__step [hidden] {
    display: none !important;
}

.choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0.5rem; margin-bottom:1rem; }
.choice { position:relative; min-width:0; }
.choice input { position:absolute; opacity:0; pointer-events:none; }
.choice label { display:flex; flex-direction:column; align-items:flex-start; gap:0.5rem; height:100%; min-height:120px; padding:0.7rem 0.5rem; border-radius:var(--r-md); border:1.5px solid var(--line-strong); background:var(--surface); cursor:pointer; font-weight:700; font-size:0.85rem; }
.choice label:hover { border-color:rgba(37,150,208,0.6); }
.choice label small { font-weight:500; color:var(--muted); font-size:0.68rem; line-height:1.3; }
.choice input:checked + label { border-color:var(--brand); background:var(--brand-soft); box-shadow:0 0 0 3px rgba(37,150,208,0.2); }
.choice input:focus-visible + label { outline:3px solid var(--brand); outline-offset:3px; }

@media (max-width: 600px) {
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  .choice label { min-height: 110px; padding: 10px 7px; font-size: 13px; }
  .choice label small { font-size: 10px; line-height: 1.3; }
}

.review { display: grid; gap: 0.6rem; padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: var(--surface-2); margin-bottom: 1.2rem; }
.review div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.96rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; font-weight: 700; text-align: right; }

.wizard__aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.aside-card { background: var(--navy); color: #e8eef4; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.aside-card h3 { color: #fff; font-size: 1.25rem; }
.aside-card ol { list-style: none; display: grid; gap: 1rem; counter-reset: a; margin-top: 1rem; }
.aside-card ol li { position: relative; padding-left: 2.6rem; color: #c9d3dd; }
.aside-card ol li::before { counter-increment: a; content: counter(a); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(37,150,208,0.25); color: #7cc6ef; font-weight: 800; font-size: 0.85rem; }
.demo-note { display: flex; gap: 0.75rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--notice-soft); color: var(--notice-ink); font-size: var(--fs-sm); }

.success { text-align: center; padding: clamp(1.5rem, 4vw, 2.5rem) 0; display: none; }
.success.is-active { display: block; animation: panel-in 0.6s var(--ease-out) both; }
.success__mark { width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.success__mark .icon { width: 40px; height: 40px; stroke-width: 2.4; }
.success h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.success p { margin: 0.5rem auto 1.5rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.info-card:hover { transform: translateX(4px); box-shadow: var(--shadow-2); }
.info-card strong { display: block; margin-bottom: 0.15rem; }
.info-card span { color: var(--muted); font-size: 0.97rem; }
.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-2); }
.contact__form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact__form > p { color: var(--muted); }
.map-tile { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 220px; background: radial-gradient(circle at 60% 40%, #d7ecf8, var(--surface-2)); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); }
.map-tile::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(13,27,42,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(13,27,42,0.06) 1px, transparent 1px); background-size: 34px 34px; }
.map-tile > * { position: relative; }
.map-tile .map-pin { width: 44px; height: 44px; margin: 0 auto 0.6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: var(--shadow-2); }

/* ---------- Blog magazine ---------- */
.mag { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.mag-feature { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: #e8eef4; text-decoration: none; min-height: 520px; }
.mag-feature .media { position: absolute; inset: 0; border-radius: 0; }
.mag-feature .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mag-feature:hover .media img { transform: scale(1.04); }
.mag-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0) 25%, rgba(13,27,42,0.92) 100%); }
.mag-feature__body { position: relative; z-index: 1; margin-top: auto; padding: clamp(1.6rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; gap: 0.7rem; }
.mag-feature h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.mag-feature p { color: #c9d3dd; margin: 0; }
.mag-side { display: grid; gap: 1.25rem; }
.mag-card { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.mag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: var(--ink); }
.mag-card .media { border-radius: 0; min-height: 150px; }
.mag-card .media img { width: 100%; height: 100%; object-fit: cover; }
.mag-card__body { padding: 1.1rem 1.1rem 1.1rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.mag-card h3 { font-size: 1.08rem; margin: 0; }
.mag-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.article-meta { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.article-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.article-row .panel { padding: 0; overflow: hidden; }
.article-row .media { aspect-ratio: 16 / 10; border-radius: 0; }
.article-row .media img { width: 100%; height: 100%; object-fit: cover; }
.article-row .panel__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-row h3 { font-size: 1.15rem; margin: 0; }
.article-row p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.cat-pills button { padding: 0.5rem 1rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-strong); font: inherit; font-weight: 600; font-size: 0.92rem; color: var(--ink); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.cat-pills button:hover { border-color: var(--brand); }
.cat-pills button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Animation keyframes used by components ---------- */
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.story__small .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.step .icon { display: block; width: 24px; height: 24px; }
.mag-feature__body > .tag { align-self: flex-start; }

/* Booking: conditional device details, honeypot */
.device-details { margin-top: 0.25rem; animation: panel-in 0.4s var(--ease-out) both; }
.device-details__group { margin-top: 0.25rem; }
.device-other { margin-top: 0.75rem; margin-bottom: 0; }
.device-other[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hp label { display: block; }

/* About page: journey timeline and why-points */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); list-style: none; padding: 0; margin: 0; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: linear-gradient(90deg, var(--brand), #7cc6ef); border-radius: 3px; opacity: 0.6; }
.journey__item { position: relative; padding: 0 0.5rem; }
.journey__item::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 0 1.25rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px var(--brand-soft); position: relative; z-index: 1; }
.journey__year { display: block; font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; color: var(--brand-deep); line-height: 1; margin-bottom: 0.9rem; }
.journey__item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.journey__item p { color: var(--muted); margin: 0; }
.why-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.why-point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.why-point h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.why-point p { margin: 0; color: var(--muted); }
