/* JaluPrint · 3D tisk na míru */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-stretch: 100%; font-display: swap; src: url(../fonts/bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-stretch: 100%; font-display: swap; src: url(../fonts/bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #1238C4;
  --blue-press: #0E2EA6;
  --navy: #071A63;
  --on-blue: #FFFFFF;
  --on-blue-2: #CAD5FF;
  --on-blue-line: rgba(255, 255, 255, .18);
  --ground: #FAFAF7;
  --white: #FFFFFF;
  --ink: #0D1530;
  --muted: #4B5470;
  --line: #E4E6EC;
  --field: #F5F6F9;
  --tint: #EDF1FF;
  --sun: #FFC93C;
  --danger: #B42318;
  --success: #067647;
  --placeholder: #5F6785;

  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --text: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .08);
  --wrap: 1240px;
  --gutter: 32px;
  --header-h: 76px;
  --section-y: clamp(96px, 12vh, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); scrollbar-color: #C3C9D8 var(--ground); interpolate-size: allow-keywords; }
body { background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible { outline-color: var(--sun); }

.nowrap { white-space: nowrap; }
.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(--sun); color: var(--navy); font-weight: 600; padding: 10px 16px; border-radius: var(--radius-sm); transition: top 200ms var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.022em; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; cursor: pointer; user-select: none; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 200ms var(--ease-out); }
.btn-blue { background: var(--blue); color: var(--on-blue); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .btn-blue:hover { background: var(--blue-press); }
  .btn-white:hover { background: var(--tint); }
  .btn:hover .icon-arrow { transform: translateX(3px); }
}
.link-tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color 150ms ease; }
.link-tel .icon { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--on-blue); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; --mark-bg: var(--white); --mark-fg: var(--blue); }
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; list-style: none; margin-left: 8px; font-size: 15px; font-weight: 500; }
.nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--on-blue-2); transition: color 150ms ease, background-color 150ms ease; }
.header-sp { flex: 1; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 8px 4px; }
.header .btn-cta { background: var(--white); color: var(--blue); }
.header-call { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--on-blue); background: rgba(255, 255, 255, .1); }
  .header .btn-cta:hover { background: var(--tint); }
}
.header.is-scrolled { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0, 0, 0, .05); --mark-bg: var(--blue); --mark-fg: var(--white); }
@supports (backdrop-filter: blur(1px)) { .header.is-scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(14px); } }
.header.is-scrolled .nav a { color: var(--muted); }
.header.is-scrolled .nav a[aria-current="true"] { color: var(--ink); background: var(--field); }
.header.is-scrolled .btn-cta { background: var(--blue); color: var(--on-blue); }
.header.is-scrolled :focus-visible { outline-color: var(--blue); }
@media (hover: hover) and (pointer: fine) {
  .header.is-scrolled .nav a:hover { color: var(--ink); background: var(--field); }
  .header.is-scrolled .btn-cta:hover { background: var(--blue-press); }
}

/* ---------- hero ---------- */
.hero { background: var(--blue); color: var(--on-blue); overflow: hidden; display: flex; flex-direction: column; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.2vw, 88px); line-height: 0.97; letter-spacing: -0.026em; max-width: 10.5em; }
.hero .lede { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--on-blue-2); max-width: 31em; }

.quick { position: relative; margin-top: 40px; display: flex; gap: 8px; padding: 8px; max-width: 640px; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 6px rgba(0, 0, 0, .14), 0 16px 40px rgba(0, 0, 0, .2); transition: box-shadow 200ms ease; }
.quick:focus-within { box-shadow: 0 0 0 3px var(--sun), 0 16px 40px rgba(0, 0, 0, .2); }
.quick input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font-size: 17px; caret-color: var(--blue); }
.quick input::placeholder { color: var(--placeholder); }
.quick input:focus { outline: none; }
.hint { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 15px; color: var(--on-blue-2); }
.hint span { display: inline-flex; align-items: center; gap: 8px; }
.hint .icon { width: 18px; height: 18px; }
.hint a { color: var(--on-blue); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; transition: text-decoration-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .hint a:hover { text-decoration-color: var(--on-blue); } }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-photo .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); aspect-ratio: 4 / 5; box-shadow: 0 4px 10px rgba(0, 0, 0, .12), 0 24px 56px rgba(0, 0, 0, .22); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }

.assure { border-top: 1px solid var(--on-blue-line); }
.assure ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 26px; padding-bottom: 30px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; }
.assure .ic { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--on-blue); flex: none; }
.assure strong { display: block; font-weight: 600; font-size: 16px; }
.assure span { font-size: 15px; color: var(--on-blue-2); }

/* load: the copy rises in, then the photo prints itself layer by layer */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > :not(.quick) { animation: rise 600ms var(--ease-out) both; }
  .hero-copy > .lede { animation-delay: 60ms; }
  .hero-copy > .hint { animation-delay: 120ms; }
  .hero-photo img { animation: print-layers 1.5s steps(30, end) 250ms both; }
  .hero-photo .frame::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, transparent, rgba(255, 224, 150, .9) 18%, #fff 50%, rgba(255, 224, 150, .9) 82%, transparent) top / 100% 2px no-repeat,
      linear-gradient(to bottom, rgba(255, 201, 60, .3), transparent) top / 100% 22px no-repeat;
    animation: nozzle 1.5s steps(30, end) 250ms both;
  }
}
@keyframes rise { from { opacity: .35; transform: translateY(10px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes print-layers { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nozzle { 0% { transform: translateY(100%); opacity: 1; } 97% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; }
.section-head p { color: var(--muted); max-width: 27em; font-size: 18px; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* services */
.services-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.services-intro p { margin-top: 20px; color: var(--muted); max-width: 25em; font-size: 18px; }
.services-intro .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.services-intro .link-tel { color: var(--ink); text-decoration-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .services-intro .link-tel:hover { text-decoration-color: var(--ink); } }
.rows { list-style: none; }
.rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows li:first-child { border-top: 1px solid var(--line); }
.rows .ic { width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }
.rows .ic .icon { width: 22px; height: 22px; }
.rows h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.rows p { margin-top: 6px; color: var(--muted); max-width: 40em; }
.business { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: var(--tint); color: var(--navy); }
.business .icon { color: var(--blue); margin-top: 3px; }
.business a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(18, 56, 196, .35); white-space: nowrap; }

/* gallery */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, clamp(220px, 30vh, 300px)); gap: 16px; margin-top: 52px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--field); isolation: isolate; }
.tile:first-child { grid-row: span 2; }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); }
.tile figcaption .icon { color: var(--blue); width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.035); } }

/* capabilities */
.caps-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 80px; align-items: center; }
.caps-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.6; background: var(--field); }
.caps-photo picture, .caps-photo img { width: 100%; height: 100%; }
.caps-photo img { object-fit: cover; }
.caps .lead { margin-top: 20px; color: var(--muted); max-width: 30em; font-size: 18px; }
.caps-list { list-style: none; margin-top: 32px; }
.caps-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.caps-list li:first-child { border-top: 1px solid var(--line); }
.caps-list .icon { color: var(--blue); width: 22px; height: 22px; margin-top: 2px; }
.caps-list strong { display: block; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.caps-list span { color: var(--muted); }

/* process */
.process { background: var(--navy); color: var(--on-blue); }
.process .section-head p { color: var(--on-blue-2); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 72px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 30px; }
.steps li::before, .steps li::after { content: ""; position: absolute; top: 0; left: 0; right: -40px; height: 2px; }
.steps li::before { background: rgba(255, 255, 255, .14); }
.steps li::after { background: var(--on-blue-2); transform-origin: left; }
.steps li:last-child::before, .steps li:last-child::after { right: 0; }
.step-no { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; color: var(--on-blue); font-variant-numeric: tabular-nums; }
.step-no::before { content: counter(step); }
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-top: 22px; }
.steps p { margin-top: 10px; color: var(--on-blue-2); }
.steps.reveal-steps li::after { transform: scaleX(0); }
.steps.reveal-steps.is-in li::after { transform: scaleX(1); transition: transform 700ms var(--ease-in-out); }
.steps.reveal-steps.is-in li:nth-child(2)::after { transition-delay: 450ms; }
.steps.reveal-steps.is-in li:nth-child(3)::after { transition-delay: 900ms; }
.steps.reveal-steps.is-in li:nth-child(4)::after { transition-delay: 1350ms; }
.process-cta { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--on-blue-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.process-cta p { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; line-height: 1.2; }
.process-cta .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.process-cta .link-tel { color: var(--on-blue); text-decoration-color: rgba(255, 255, 255, .4); }
@media (hover: hover) and (pointer: fine) { .process-cta .link-tel:hover { text-decoration-color: var(--on-blue); } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-intro p { margin-top: 20px; color: var(--muted); max-width: 22em; font-size: 18px; }
.faq-intro .link-tel { margin-top: 24px; color: var(--blue); text-decoration-color: rgba(18, 56, 196, .35); }
@media (hover: hover) and (pointer: fine) { .faq-intro .link-tel:hover { text-decoration-color: var(--blue); } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; border-radius: 6px; transition: color 150ms ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--field); color: var(--blue); transition: transform 250ms var(--ease-out), background-color 150ms ease; }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--tint); }
.faq-list details p { padding: 0 52px 24px 0; color: var(--muted); max-width: 46em; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--blue); } .faq-list summary:hover .plus { background: var(--tint); } }

/* inquiry */
.inquiry-box { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-md); transition: box-shadow 400ms ease; }
.inquiry-box.is-highlighted { box-shadow: 0 0 0 3px var(--sun), var(--shadow-md); }
.inquiry-side { background: var(--navy); color: var(--on-blue); padding: 52px; display: flex; flex-direction: column; gap: 22px; }
.inquiry-side p { color: var(--on-blue-2); max-width: 26em; font-size: 18px; }
.contact { list-style: none; display: grid; gap: 6px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--on-blue-line); }
.contact a, .contact span { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.contact .icon { color: var(--on-blue-2); }
@media (hover: hover) and (pointer: fine) { .contact a:hover { text-decoration: underline; text-underline-offset: 4px; } }

.form { padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.field { display: grid; gap: 8px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field > label, .field legend { font-weight: 600; font-size: 15px; }
.field legend { margin-bottom: 10px; }
fieldset.field { border: 0; min-width: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); color: var(--ink); font-size: 16px; line-height: 1.45; transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
textarea.input { min-height: 148px; resize: vertical; }
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(18, 56, 196, .16); }
.field.has-error .input { border-color: var(--danger); background: #FFF8F7; }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.error { display: none; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--danger); font-weight: 500; }
.error .icon { width: 16px; height: 16px; margin-top: 3px; }
.field.has-error .error { display: flex; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 500; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.chip span .icon { width: 16px; height: 16px; display: none; }
.chip input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--blue); font-weight: 600; }
.chip input:checked + span .icon { display: block; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: #C5CBDA; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.form-foot p { font-size: 14px; color: var(--muted); max-width: 30em; }
.form-foot p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #B8BFD0; }
.btn-submit { position: relative; min-width: 210px; }
.btn-submit .when-idle { display: inline-flex; align-items: center; gap: 10px; }
.btn-submit .when-busy { display: none; }
.btn-submit[aria-busy="true"] { pointer-events: none; background: var(--blue-press); }
.btn-submit[aria-busy="true"] .when-idle { display: none; }
.btn-submit[aria-busy="true"] .when-busy { display: inline-flex; align-items: center; gap: 10px; }
.spin { animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-alert { grid-column: 1 / -1; display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #FEF3F2; color: #7A271A; font-size: 15px; }
.form-alert .icon { color: var(--danger); margin-top: 2px; }
.form-alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-alert.is-visible { display: flex; }

.sent { display: none; padding: 52px; align-content: center; justify-items: start; gap: 14px; }
.sent-head { display: flex; align-items: center; gap: 14px; }
.sent-head .icon { width: 34px; height: 34px; color: var(--success); }
.sent h3 { font-family: var(--display); font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.sent p { color: var(--muted); max-width: 30em; }
.sent .btn { margin-top: 12px; }
.inquiry-box.is-sent .form { display: none; }
.inquiry-box.is-sent .sent { display: grid; }
@media (prefers-reduced-motion: no-preference) {
  .inquiry-box.is-sent .sent > * { animation: rise 500ms var(--ease-out) both; }
  .inquiry-box.is-sent .sent > *:nth-child(2) { animation-delay: 60ms; }
  .inquiry-box.is-sent .sent > *:nth-child(3) { animation-delay: 120ms; }
}

/* footer */
.footer { padding: 72px 0 40px; border-top: 1px solid var(--line); background: var(--white); --mark-bg: var(--blue); --mark-fg: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 24em; }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; transition: color 150ms ease; }
.footer ul .icon { color: var(--blue); width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .footer ul a:hover { color: var(--blue); } }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #C3C9D8; }
.footer-bottom.flush { margin-top: 0; }

/* mobile action bar */
.actionbar { display: none; }

/* ---------- one section per screen on desktop ---------- */
@media (min-width: 861px) and (min-height: 640px) {
  :root { --section-y: clamp(40px, 7vh, 104px); }
  .hero h1 { font-size: clamp(44px, min(6.2vw, 10vh), 88px); }
  .hero .lede { margin-top: clamp(16px, 2.8vh, 26px); }
  .quick { margin-top: clamp(24px, 4.4vh, 40px); }
  .hero-grid { padding-top: clamp(24px, 4.4vh, 40px); padding-bottom: clamp(32px, 7vh, 64px); }
  .assure ul { padding-top: clamp(18px, 2.9vh, 26px); padding-bottom: clamp(20px, 3.3vh, 30px); }
  h2 { font-size: clamp(34px, min(4.2vw, 6.2vh), 56px); }
  .mosaic { grid-template-rows: repeat(2, clamp(180px, 27vh, 300px)); margin-top: clamp(28px, 4.9vh, 44px); }
  .section-head p, .services-intro p, .caps .lead, .faq-intro p { font-size: clamp(17px, 2vh, 18px); }
  .rows li { padding-block: clamp(12px, 1.9vh, 26px); }
  .rows p, .business { line-height: 1.5; }
  .rows p { margin-top: clamp(3px, .6vh, 6px); }
  .business { margin-top: clamp(14px, 2vh, 24px); padding-block: clamp(12px, 1.8vh, 18px); }
  .caps-list li { padding-block: clamp(12px, 2vh, 18px); }
  .caps-list { margin-top: clamp(20px, 3.5vh, 32px); }
  .faq-list summary { padding-block: clamp(10px, 1.7vh, 21px); }
  .faq-list details p { padding-bottom: clamp(14px, 2.2vh, 24px); }
  .steps { margin-top: clamp(40px, 8vh, 72px); }
  .process-cta { margin-top: clamp(40px, 8vh, 72px); }
  .form { padding: clamp(28px, 4.4vh, 52px); gap: clamp(12px, 2vh, 22px) 20px; }
  .inquiry-side { padding: clamp(28px, 4.4vh, 52px); }
  textarea.input { min-height: clamp(80px, 11vh, 148px); }
  .field legend { margin-bottom: clamp(6px, 1.1vh, 10px); }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero-photo .frame { max-height: calc(100svh - var(--header-h) - 200px); min-height: 380px; margin-left: auto; }
  .section { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
  .caps-photo { max-height: calc(100svh - var(--header-h) - 2 * var(--section-y) + 40px); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid { gap: 40px; }
  .services-grid, .faq-grid, .caps-grid { gap: 48px; }
  .steps { gap: 28px; }
  .steps li::before, .steps li::after { right: -28px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --header-h: 64px; --section-y: 88px; }
  body { font-size: 16.5px; }
  .header .wrap { gap: 12px; }
  .header-tel { display: none; }
  .header-call { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .12); }
  .header.is-scrolled .header-call { background: var(--field); color: var(--blue); }
  .logo { font-size: 19px; }
  .logo svg { width: 30px; height: 30px; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 40px; gap: 36px; }
  .hero .lede { font-size: 18px; margin-top: 18px; }
  .quick { flex-direction: column; margin-top: 28px; }
  .quick input { flex: none; height: 52px; }
  .quick .btn { width: 100%; }
  .hero-photo { justify-self: stretch; max-width: none; }
  .hero-photo .frame { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: 50% 70%; }
  .assure ul { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; padding-bottom: 26px; }

  .section-head { flex-direction: column; align-items: start; gap: 16px; }
  .section-head p, .services-intro p, .caps .lead, .faq-intro p, .inquiry-side p { font-size: 17px; }
  .services-grid, .faq-grid, .caps-grid { grid-template-columns: 1fr; gap: 36px; }
  .rows li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .rows .ic { width: 44px; height: 44px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 170px 170px; gap: 10px; margin-top: 36px; }
  .tile:first-child { grid-column: span 2; grid-row: auto; }
  .tile figcaption { left: 10px; bottom: 10px; font-size: 14px; padding: 6px 10px 6px 8px; }
  .tile figcaption .icon { display: none; }

  .caps-photo { aspect-ratio: 4 / 3; order: 2; }

  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .steps li { padding: 4px 0 36px 72px; min-height: 64px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before, .steps li::after { top: 52px; bottom: 8px; left: 22px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .steps li:last-child::before, .steps li:last-child::after { display: none; }
  .steps.reveal-steps li::after { transform: scaleY(0); }
  .steps.reveal-steps.is-in li::after { transform: scaleY(1); }
  .step-no { position: absolute; left: 0; top: 0; width: 46px; text-align: center; font-size: 40px; }
  .steps h3 { margin-top: 0; }
  .process-cta { margin-top: 48px; flex-direction: column; align-items: flex-start; }
  .process-cta .actions { width: 100%; }
  .process-cta .btn { width: 100%; }

  .faq-list details p { padding-right: 0; }

  .inquiry-box { grid-template-columns: 1fr; }
  .inquiry-side { padding: 32px 22px; }
  .form { grid-template-columns: 1fr; padding: 28px 22px 32px; }
  .sent { padding: 36px 22px; }
  .btn-submit { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .actionbar { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 8px; border-radius: var(--radius); background: rgba(255, 255, 255, .92); box-shadow: 0 2px 6px rgba(0, 0, 0, .08), 0 14px 36px rgba(0, 0, 0, .18); transform: translateY(calc(100% + 24px)); transition: transform 320ms var(--ease-drawer); }
  @supports (backdrop-filter: blur(1px)) { .actionbar { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px); } }
  .actionbar.is-visible { transform: none; }
  .actionbar .btn { height: 48px; }
  .actionbar .btn-call { background: var(--field); color: var(--blue); padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .spin { animation: none; }
}

/* ---------- simple pages (privacy, 404) ---------- */
.page .header { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); --mark-bg: var(--blue); --mark-fg: var(--white); }
.page .header .btn-cta { background: var(--blue); color: var(--on-blue); }
.page .header-call { background: var(--field); color: var(--blue); }
.doc { max-width: 720px; padding-top: 72px; padding-bottom: 112px; }
.doc h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.025em; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 24px; margin-top: 48px; letter-spacing: -0.015em; }
.doc p, .doc ul { margin-top: 14px; color: var(--ink); }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 56, 196, .35); }
.notfound { min-height: calc(100svh - var(--header-h) - 120px); display: grid; align-content: center; justify-items: start; gap: 18px; padding-top: 72px; padding-bottom: 96px; }
.notfound .code { font-family: var(--display); font-weight: 700; font-size: clamp(88px, 16vw, 168px); line-height: .9; letter-spacing: -0.03em; color: var(--blue); }
.notfound h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; }
.notfound p { color: var(--muted); max-width: 32em; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--field); } }
.page .footer { padding-top: 40px; }
@media (max-width: 860px) { .page .footer { padding-bottom: 40px; } }
