/*
Theme Name: VitaSec
Theme URI: https://vitasec.uk/
Author: VitaSec
Description: Bespoke theme for VitaSec: secretarial, billing, business support and design for healthcare professionals.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: vitasec
*/

/* VitaSec — site styles */
:root {
  --navy-900: #0a2238;
  --navy: #123e62;
  --blue: #0e559b;
  --blue-600: #1a68ad;
  --sky: #4db0ce;
  --sky-50: #f1f8fb;
  --sky-100: #e3f1f7;
  --paper: #f6f9fb;
  --ink: #0f2233;
  --muted: #586b7c;
  --line: #dbe5ec;
  --white: #fff;
  --grad: linear-gradient(90deg, #0e559b 0%, #4db0ce 100%);
  --grad-panel: linear-gradient(105deg, #10548c 0%, #2f6faa 50%, #5d97d1 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(10, 34, 56, .06), 0 12px 32px -12px rgba(10, 34, 56, .18);
  --shadow-lg: 0 30px 60px -24px rgba(10, 34, 56, .35);
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.task, .pill { position: relative; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.02; letter-spacing: -.005em; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.35rem); }
h3 { font-size: 1.55rem; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--sky-100); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 40em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.muted { color: var(--muted); font-size: .95rem; }

/* buttons & links */
.btn {
  --bg: var(--navy);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: #fff; text-decoration: none;
  font: 600 1rem/1 var(--body); letter-spacing: .01em;
  padding: 17px 24px; border-radius: 999px; border: 0; cursor: pointer;
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .25s ease; z-index: -1; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(14, 85, 155, .6); }
.btn:hover::before { opacity: 1; }
.btn .i-arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-sm { padding: 12px 18px; font-size: .93rem; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white::before { display: none; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-outline-light::before { display: none; }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link .i-arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .i-arrow { transform: translateX(3px); }
.inline-link { color: var(--blue); text-underline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
/* WordPress admin bar (shown when logged in) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; }
.brand-word { font: 600 1.9rem/1 var(--display); color: var(--navy); letter-spacing: -.005em; }
.brand-light .brand-word { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.site-nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle .bar { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease; }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 72px 0 96px; background: radial-gradient(1200px 500px at 85% -10%, var(--sky-100), transparent 60%), linear-gradient(180deg, #fff 0%, var(--paper) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 38px 0 0; padding: 0; color: var(--muted); font-size: .97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i-check { width: 20px; height: 20px; color: var(--sky); }

.hero-visual { position: relative; }
.panel { position: relative; aspect-ratio: 5 / 5.4; border-radius: 32px; background: var(--grad-panel); overflow: hidden; box-shadow: var(--shadow-lg); }
.panel::after { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 0%, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.panel-mark { position: absolute; width: 118%; height: auto; right: -34%; top: -6%; opacity: .16; }
.panel-label { position: absolute; left: 32px; top: 30px; margin: 0; color: rgba(255, 255, 255, .85); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .97); border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 24px 40px -18px rgba(5, 25, 45, .5); width: min(330px, 78%);
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
.float-card strong { display: block; font-weight: 600; color: var(--navy); line-height: 1.25; }
.float-card small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.fc-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-100); color: var(--blue); }
.fc-icon .i { width: 22px; height: 22px; }
.fc-status { margin-left: auto; flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0d7a5f; background: #e2f5ee; padding: 5px 9px; border-radius: 999px; }
.fc1 { left: 32px; top: 22%; animation-delay: .1s; }
.fc2 { right: 28px; top: 46%; animation-delay: .25s; }
.fc3 { left: 48px; bottom: 9%; animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* audience strip */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.audience-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.audience-label { flex: none; margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .93rem; color: var(--navy); }

/* sections */
.section { padding: 112px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.split-head > p { color: var(--muted); font-size: 1.1rem; }

/* services list (editorial rows) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a {
  display: grid; grid-template-columns: 64px 56px 1fr auto 52px; gap: 24px; align-items: center;
  padding: 30px 8px; text-decoration: none; position: relative; transition: background .25s ease, padding .25s ease;
}
.svc-row a::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc-row a:hover { background: var(--sky-50); padding-left: 20px; padding-right: 20px; }
.svc-row a:hover::before { transform: scaleX(1); }
.num { font: 600 1rem/1 var(--display); letter-spacing: .08em; color: var(--sky); }
.svc-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sky-100); color: var(--blue); }
.svc-icon .i { width: 26px; height: 26px; }
.svc-title { display: block; font: 600 2rem/1.05 var(--display); color: var(--navy); margin-bottom: 6px; }
.svc-short { display: block; color: var(--muted); max-width: 36em; }
.svc-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 260px; }
.svc-tags span { font-size: .8rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: #fff; white-space: nowrap; }
.svc-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--navy); transition: all .25s ease; }
.svc-arrow .i-arrow { width: 20px; height: 20px; }
.svc-row a:hover .svc-arrow { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(-35deg); }

/* planner */
.planner-sec { background: var(--navy-900); color: #dbe8f2; position: relative; overflow: hidden; }
.planner-sec::before { content: ''; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(77, 176, 206, .28), transparent 65%); pointer-events: none; }
.planner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; position: relative; }
.planner h2 { color: #fff; margin-bottom: 20px; }
.planner .eyebrow { color: var(--sky); }
.planner .dot { box-shadow: 0 0 0 4px rgba(77, 176, 206, .2); }
.planner-intro p { color: #a9bfd0; font-size: 1.1rem; }
.planner-box { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.task-grid { border: 0; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.task { cursor: pointer; }
.task input { position: absolute; opacity: 0; pointer-events: none; }
.task span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); color: #dbe8f2; font-size: .97rem; line-height: 1.3; transition: all .2s ease; }
.task .i-check { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .35); color: transparent; transition: all .2s ease; }
.task:hover span { border-color: rgba(255, 255, 255, .3); }
.task input:checked + span { background: rgba(77, 176, 206, .14); border-color: rgba(77, 176, 206, .6); color: #fff; }
.task input:checked + span .i-check { background: var(--sky); border-color: var(--sky); color: var(--navy-900); }
.task input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.planner-result { background: #fff; color: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pr-head { font: 600 1.5rem/1.15 var(--display); color: var(--navy); margin: 0; }
.pr-head [data-count] { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; background: var(--grad); color: #fff; margin-right: 4px; }
.pr-empty { color: var(--muted); margin: 0; }
.pr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pr-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--paper); animation: rise .35s ease both; }
.pr-list li[hidden] { display: none; }
.pr-list strong { display: block; color: var(--navy); }
.pr-list small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.pr-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sky-100); color: var(--blue); }
.pr-icon .i { width: 20px; height: 20px; }
.planner-result .btn { align-self: flex-start; margin-top: 6px; }

/* process */
.process { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px); opacity: .6; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 34px; box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font: 600 .95rem/1 var(--display); letter-spacing: .04em; margin-bottom: 22px; box-shadow: 0 0 0 8px var(--paper); position: relative; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* why */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.why-statement { position: sticky; top: 120px; }
.why-statement h2 { margin-bottom: 30px; }
.why-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-points li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.why-points li:hover { border-color: #b9d6e6; transform: translateY(-3px); box-shadow: var(--shadow); }
.why-points .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky-100); color: var(--blue); margin-bottom: 18px; }
.why-points h3 { font-size: 1.45rem; margin-bottom: 8px; }
.why-points p { color: var(--muted); font-size: .98rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--grad-panel); color: #fff; padding: 104px 0; }
.cta-mark { position: absolute; width: 560px; height: auto; right: -80px; top: 50%; transform: translateY(-50%); opacity: .14; }
.cta-inner { position: relative; max-width: var(--wrap); }
.cta-band h2 { color: #fff; max-width: 14em; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 34em; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* footer */
.site-footer { background: var(--navy-900); color: #a9bfd0; padding: 80px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag { font-family: var(--display); font-size: 1.15rem; color: #dbe8f2; letter-spacing: .02em; }
.footer-tag i { font-style: normal; color: var(--sky); padding: 0 4px; }
.footer-h { font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer ul a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-base p { margin: 0; }

/* inner pages */
.page-hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: radial-gradient(900px 420px at 90% -20%, var(--sky-100), transparent 60%), var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15em; margin-bottom: 22px; }
.page-hero-mark { position: absolute; width: 440px; height: auto; right: -70px; bottom: -120px; opacity: .1; }
.page-hero.nf { padding: 130px 0; }
.page-hero.nf .lede { margin-bottom: 30px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 34px 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; }
.jump a:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.jump .i { width: 20px; height: 20px; color: var(--blue); }

.svc-detail { padding: 100px 0; scroll-margin-top: 80px; }
.svc-detail.alt { background: var(--paper); }
.svc-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.svc-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-kicker .i { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--sky-100); color: var(--blue); }
.svc-detail h2 { margin-bottom: 20px; }
.svc-long { font-size: 1.15rem; color: var(--muted); }
.ideal { padding: 16px 18px; border-left: 3px solid var(--sky); background: var(--sky-50); border-radius: 0 12px 12px 0; margin: 26px 0 30px; }
.ideal strong { display: block; color: var(--navy); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.included { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.included::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }
.included h3 { margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.checks li:last-child { border-bottom: 0; }
.sub-label { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.sub-label .i { width: 18px; height: 18px; }
.checks + .sub-label { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.extra-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sky-50); color: var(--muted); font-size: .9rem; line-height: 1.5; }
.checks .i-check { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--sky-100); color: var(--blue); }

.faq-sec { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-grid h2 { margin-bottom: 16px; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 1.4rem/1.2 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: all .25s ease; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s ease; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { background: var(--navy); border-color: var(--navy); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: #fff; }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; }

.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.story h2 { margin-bottom: 24px; }
.story p { color: var(--muted); font-size: 1.1rem; }
.story-card { border-radius: 32px; background: var(--grad-panel); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; box-shadow: var(--shadow-lg); }
.story-mark { width: 52%; height: auto; margin-bottom: 18px; }
.story-word { font: 600 clamp(2.6rem, 5vw, 4rem)/1 var(--display); color: #fff; margin: 0 0 10px; }
.story-tag { font: 400 clamp(1rem, 1.6vw, 1.3rem)/1.2 var(--display); color: rgba(255, 255, 255, .9); letter-spacing: .03em; margin: 0; }
.values-sec { background: var(--paper); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.v-num { display: block; font: 600 .95rem/1 var(--display); color: var(--sky); letter-spacing: .08em; margin-bottom: 40px; }
.values h3 { font-size: 1.9rem; margin-bottom: 10px; }
.values p { color: var(--muted); font-size: .98rem; }

/* contact */
.contact-sec { background: #fff; padding-top: 80px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .93rem; color: var(--navy); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { color: var(--blue); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px var(--sky-100); }
.pill-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .95rem; transition: all .2s ease; }
.pill .i-check { width: 18px; height: 18px; padding: 2px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; }
.pill input:checked + span { border-color: var(--blue); background: var(--sky-50); color: var(--navy); }
.pill input:checked + span .i-check { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.contact-form .btn { justify-self: start; }
.form-note { padding: 14px 16px; border-radius: 12px; margin: 0; }
.form-note.ok { background: #e2f5ee; color: #0b5b47; }
.form-note.err, .form-error { background: #fdecec; color: #8a1f1f; padding: 14px 16px; border-radius: 12px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.contact-aside { display: grid; gap: 20px; position: sticky; top: 110px; }
.aside-card { border-radius: var(--radius); padding: 32px; background: var(--grad-panel); color: rgba(255, 255, 255, .85); }
.aside-card h2 { font-size: 1.9rem; color: #fff; margin-bottom: 12px; }
.big-link { color: #fff; font-size: 1.2rem; font-weight: 600; text-underline-offset: 4px; word-break: break-word; }
.aside-card .muted { color: rgba(255, 255, 255, .75); }
.aside-place { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 500; }
.audience-label { max-width: 190px; line-height: 1.5; }
.aside-card.plain { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.aside-card.plain h2 { color: var(--navy); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.mini-steps span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--blue); font-weight: 700; font-size: .85rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin: 40px 0 12px; }
.prose h2:first-of-type { margin-top: 10px; }
.prose p { color: var(--muted); }
.draft-note { background: #fff7e0; color: #6b5200 !important; border-radius: 12px; padding: 14px 16px; }

/* responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .panel { aspect-ratio: 5 / 4.4; }
  .planner { grid-template-columns: 1fr; gap: 36px; }
  .why-grid, .story-grid, .faq-grid, .svc-detail-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-statement { position: static; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row a { grid-template-columns: 48px 56px 1fr 52px; }
  .svc-tags { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; grid-template-columns: 1fr 1fr; }
  .story-card { max-width: 480px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 80px; flex-direction: column; align-items: stretch; gap: 18px;
    background: #fff; padding: 20px 28px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 34, 56, .25);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { justify-content: center; }
  .split-head { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .planner-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 72px; }
  .panel { aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; padding: 70px 18px 22px; }
  .panel-label { left: 22px; top: 28px; }
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; }
  .fc2 { width: 94%; align-self: flex-end; }
  .audience-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .svc-row a { grid-template-columns: 1fr 44px; gap: 14px; padding: 24px 4px; }
  .svc-row .num, .svc-row .svc-icon { display: none; }
  .svc-row a:hover { padding-left: 10px; padding-right: 10px; }
  .svc-title { font-size: 1.7rem; }
  .svc-arrow { width: 44px; height: 44px; }
  .why-points, .values, .field-row, .contact-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 24px; }
  .page-hero { padding: 64px 0 60px; }
  .svc-detail { padding: 72px 0; }
  .included { padding: 26px; }
  .cta-band { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
