@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 560 640;
  font-display: swap;
  src: url("../assets/fonts/fraunces-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 560 640;
  font-display: swap;
  src: url("../assets/fonts/fraunces-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: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/outfit-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/outfit-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-400-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-500-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 {
  --ink: #111111;
  --muted: #4d5563;
  --paper: #f7f9fc;
  --paper-2: #eef3f8;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --blue: #0000fe;
  --blue-deep: #0000c4;
  --mint: #a4ffe0;
  --shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header: 78px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #f4f7fb;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 251, 0.88)),
    url("../assets/hero.jpg");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ticket-range {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}
.narrow { width: min(760px, calc(100% - 32px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header);
  width: min(1140px, calc(100% - 32px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 52px;
  height: 64px;
  object-fit: contain;
}
.brand strong { display: block; font-size: 0.98rem; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 0.75rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--ink); }
.nav .btn-primary,
.nav .btn-primary:hover,
.nav a.btn-primary[aria-current="page"] {
  color: #fff;
}
.nav .btn-primary:hover { background: var(--blue-deep); }
.menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-secondary { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); width: 100%; }
.btn-ghost {
  border-color: var(--blue);
  color: var(--blue);
  width: 100%;
  background: white;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  padding: 42px 0 28px;
}
.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.98;
  margin-bottom: 18px;
}
.lede { font-size: 1.15rem; color: #2c313a; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pills li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo .shot,
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px 22px 72px 22px;
}
.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  background: rgba(0, 0, 254, 0.88);
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.stats {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 26px;
  margin: 18px 0 8px;
}
.stats p { color: var(--muted); font-size: 0.92rem; }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.2;
}

section { padding: 72px 0; scroll-margin-top: calc(var(--header) + 12px); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.clients { padding-top: 28px; }
.clients h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  max-width: 16ch;
}
.marquee { overflow: hidden; margin-top: 22px; isolation: isolate; }
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee-slow { animation-duration: 55s; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track ul,
.marquee-set {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee-track li,
.review {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.marquee-track li {
  min-width: 220px;
  padding: 16px 20px;
  border-top: 4px solid var(--blue);
}
.marquee-track li { font-weight: 600; }
.review { width: min(360px, 78vw); }
.map-block { margin-top: 28px; }
.map-frame {
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-consent {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px 24px;
  text-align: center;
  background: var(--paper);
}
.map-consent p {
  color: var(--muted);
  max-width: 42ch;
}
.map-consent .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.map-block .fine { margin-top: 10px; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 7px), 0, 0); }
}

.service-grid, .equip-grid, .review-grid, .product-grid {
  display: grid;
  gap: 14px;
}
.service-grid, .equip-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid, .product-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid { grid-template-columns: repeat(3, 1fr); }

.card, .service, .equip, .review, .product, .channel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.service > img,
.split-page > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-page > img { border-radius: 24px; }
.shot {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #e8eef6;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: contrast(1.05) saturate(0.94);
  transition: transform 0.7s ease, filter 0.7s ease;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(0, 0, 254, 0.12), transparent 46%),
    linear-gradient(transparent 70%, rgba(0, 0, 254, 0.18));
}
.service:hover .shot img,
.about:hover .shot img { transform: scale(1.12); }
.equip .shot,
.product .shot {
  height: 180px;
  background: #ffffff;
}
body[data-page="boutique"] .product .shot {
  background: #ffffff;
}
.equip .shot img,
.product .shot img {
  object-fit: contain;
  padding: 18px;
  transform: none;
  filter: none;
}
.equip .shot::after,
.product .shot::after { display: none; }
.equip:hover .shot img,
.product:hover .shot img { transform: translateY(-6px) scale(1.04); }
.about .shot,
.split-page .shot { height: auto; aspect-ratio: 4 / 3; border-radius: 24px; }
.hero-photo .shot { height: auto; aspect-ratio: 4 / 3; }
.hero-photo .shot img { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1.06); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.service div, .equip div, .product div, .review, .channel { padding: 16px 16px 18px; }
.service h3, .equip h3, .product h3, .channel h3 { font-size: 1.15rem; margin-bottom: 6px; }
.service p, .equip li, .review p, .channel p, .product p { color: var(--muted); font-size: 0.95rem; }
.equip ul { margin: 8px 0 0; padding-left: 18px; }
.kicker { color: var(--blue); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 18px;
  padding: 22px 24px 24px;
}
.steps h3 { font-size: 1.15rem; font-weight: 600; margin: 8px 0 6px; }
.steps p:last-child { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.4rem; margin: 8px 0; }
.equip h3 a, .product a, .text-link { color: var(--blue); font-weight: 600; }

.band { background: transparent; }
.estimator.is-single, .estimator-single { grid-template-columns: 1fr; }
.file-list { margin: 0; padding-left: 18px; color: var(--muted); }
.file-list:empty { display: none; }
.estimator-form, .ticket { border-radius: 22px; }
.estimator-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.mode-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-switch button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}
.mode-switch button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.field-help, .calc-note p, .ticket-legal, .fine { color: var(--muted); font-size: 0.9rem; }
.quote-amount {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 16px;
  background: var(--paper);
}
.quote-amount .ticket-range {
  display: block;
  margin: 8px 0 10px;
}
.quote-amount .ticket-unit {
  display: block;
  font-weight: 600;
  margin: 0 0 10px;
}
.quote-amount .fine { margin: 0; }
.dims, .split-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.split-fields { grid-template-columns: 1fr 1fr; }
.dims label, .stack { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.dims span { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 12px;
}
textarea { min-height: 160px; resize: vertical; }
.dims input { min-height: 46px; }
.options {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.options legend { font-weight: 600; margin-bottom: 4px; }
.options label { display: flex; gap: 8px; align-items: flex-start; font-weight: 450; }
.options input { width: auto; min-height: 0; margin-top: 4px; }
.pickup {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 450;
}
.pickup input { width: auto; min-height: 0; margin-top: 4px; }
.calc-note summary { cursor: pointer; font-weight: 600; }
.dropzone {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  min-height: 150px;
  border: 1.5px dashed rgba(22, 24, 29, 0.28);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  padding: 18px;
}
.dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dropzone.is-over { border-color: var(--blue); background: #e8eeff; }
.drop-title { font-weight: 650; }
.drop-sub, .stl-meta { color: var(--muted); font-size: 0.9rem; }
.file-name:empty { display: none; }

.ticket {
  position: sticky;
  top: calc(var(--header) + 16px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}
.ticket-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.ticket-range { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; margin: 10px 0; color: var(--blue); }
.ticket-center { color: var(--muted); }
.ticket-lines { margin: 18px 0; display: grid; gap: 8px; }
.ticket-lines div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.ticket-lines dt { color: var(--muted); }
.ticket-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ticket-warnings { margin: 0 0 12px; padding-left: 18px; color: var(--blue); }
.ticket-actions { display: grid; gap: 8px; }
.ticket-legal { margin-top: 12px; color: var(--muted); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ig-card {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #e8eef8;
  color: var(--ink);
  text-decoration: none;
}
.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}
.ig-card:hover img { transform: scale(1.1); }
.ig-card .cap {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ig-card:hover .cap,
.ig-card:focus-visible .cap { opacity: 1; }
.ig-status { color: var(--muted); margin-top: 12px; }
.ig-wp {
  display: block;
  width: 100%;
  min-height: 520px;
  height: 740px;
  border: 0;
  border-radius: 22px;
  background: transparent;
}
.ig-embed {
  height: 640px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.ig-embed iframe { width: 100%; height: 100%; border: 0; }
.ig-consent {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px 24px;
  text-align: center;
  background: var(--paper);
}
.ig-consent p {
  color: var(--muted);
  max-width: 42ch;
}
.ig-consent .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ig-follow { display: flex; gap: 16px; margin-top: 16px; }
.ig-follow a { color: var(--blue); font-weight: 600; }

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.about .shot,
.about img {
  width: 100%;
  border-radius: 24px;
}
.about h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin-bottom: 12px; }
.about p + p { margin-top: 12px; }

.review blockquote { margin: 0; }
.review footer { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.contact-card .eyebrow { color: var(--blue); }
.contact-card a { color: var(--blue); }
.contact-card p + p { margin-top: 12px; }
.contact-form { display: grid; gap: 12px; position: relative; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; margin: 0; color: var(--blue); font-weight: 600; }
.form-status.is-error { color: #9b1c1c; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 14px; }
.site-footer a { color: var(--muted); }
.site-footer nav { flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

.more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; text-decoration: none; }
.service:hover { transform: translateY(-4px); transition: transform 0.35s ease; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.crumbs a { color: var(--blue); text-decoration: none; }
.page-intro { padding-bottom: 12px; }
.page-intro h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin: 8px 0 14px;
  max-width: 18ch;
}
.page-intro .lede { max-width: 64ch; }
.page-intro .intro-copy {
  margin-top: 12px;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #2c313a;
  max-width: 64ch;
}
.service-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
.prose { display: grid; gap: 12px; max-width: 68ch; }
.prose p { color: var(--ink); }
.split-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related a {
  display: grid;
  gap: 4px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.3s ease;
}
.related a:hover { transform: translateY(-4px); }
.related span { color: var(--muted); font-size: 0.9rem; font-weight: 400; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.feature {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 18px;
  padding: 22px 24px 24px;
}
.feature h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
  margin-bottom: 12px;
}
.feature p + p { margin-top: 12px; }
.feature ul { margin: 14px 0 0; padding-left: 18px; }
.feature li + li { margin-top: 6px; }
.feature .btn { align-self: flex-start; margin-top: auto; }
.feature > :nth-last-child(2) { margin-bottom: 18px; }
.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature.feature-compact img {
  width: min(100%, 260px);
  max-height: 182px;
  align-self: flex-start;
}
.inline-shot {
  margin: 8px 0 4px;
  max-width: 560px;
}
.inline-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}
.inline-shot img.fit-full {
  display: block;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
.shot:has(> img.fit-full) {
  height: auto;
}
.shot:has(> img.fit-full) img {
  display: block;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}
.shot:has(> img.fit-full)::after { display: none; }
.service:hover .shot:has(> img.fit-full) img { transform: none; }
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 4px;
  max-width: 68ch;
}
.photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; margin: 28px 0 12px; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p + p { margin-top: 10px; }

.mobile-bar { display: none; }

@media (max-width: 1240px) {
  .site-header .wrap { gap: 12px; }
  .nav { gap: 10px; }
  .nav a { font-size: 0.86rem; }
  .nav .btn { min-height: 42px; padding: 0 14px; font-size: 0.86rem; }
}

@media (max-width: 1120px) {
  .menu { display: inline-flex; }
  .site-header { z-index: 40; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 24px;
    min-height: calc(100dvh - var(--header));
    max-height: calc(100dvh - var(--header));
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 4px;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn { margin-top: 12px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .hero-actions,
  body.nav-open .mobile-bar {
    visibility: hidden;
    pointer-events: none;
  }
  .hero, .estimator, .about, .contact-grid, .stats,
  .service-grid, .equip-grid, .review-grid, .product-grid, .related, .split-page {
    grid-template-columns: 1fr 1fr;
  }
  .hero, .estimator, .about, .contact-grid, .stats { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid.three, .steps, .photo-pair { grid-template-columns: 1fr; }
  .ticket { position: static; }
  section { padding: 52px 0; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wrap { width: min(1140px, calc(100% - 24px)); }
  .site-header { z-index: 40; }
  .brand img { width: 44px; height: 54px; }
  .brand small { display: none; }
  .hero { padding: 24px 0 8px; gap: 22px; }
  .hero h1 { font-size: 2.35rem; }
  .lede, .page-intro .intro-copy { font-size: 1.02rem; }
  .hero-actions .btn, .actions .btn, .channels .btn { width: 100%; }
  .stats { padding: 18px; gap: 14px; }
  .stats strong { font-size: 1.2rem; }
  .service-grid, .equip-grid, .review-grid, .product-grid, .dims, .split-fields, .related, .split-page, .feature-grid, .feature-grid.three,
  .service-grid.two-cols {
    grid-template-columns: 1fr;
  }
  .ig-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ig-card { min-height: 0; border-radius: 12px; }
  .ig-card .cap { font-size: 0.72rem; }
  .map-frame { height: 360px; }
  .ig-embed { height: 520px; }
  body { background-attachment: scroll; }
  .shot { height: 190px; }
  .mode-switch button { flex: 1 1 140px; }
  input, select, textarea { font-size: 16px; }
  .contact-card, .ticket, .estimator-form { border-radius: 16px; }
  .mobile-bar {
    display: flex;
    position: fixed;
    z-index: 25;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { flex: 1; }
  body.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo .shot img,
  .shot img,
  .ig-card img { transition: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.devis-page h1 { font-size: 1.7rem; }
.devis-shell { padding: 28px 0 64px; }
.devis-lock { max-width: 420px; margin-top: 18px; }
.devis-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}
@media (min-width: 900px) {
  .devis-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.devis-result { display: grid; gap: 14px; }
.devis-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.devis-totals .ticket-range { margin: 4px 0 0; }
.devis-totals .fine { grid-column: 1 / -1; }
.devis-lines {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 22px;
}
.devis-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.devis-lines > div:last-child { border-bottom: 0; }
.devis-lines dt {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
}
.devis-lines dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.devis-lines .is-total {
  border-top: 2px solid var(--ink);
  margin-top: 4px;
  padding-top: 14px;
}
.devis-detail .devis-lines,
.faq .devis-lines {
  border: 0;
  padding: 0 0 8px;
  border-radius: 0;
  background: transparent;
}
.devis-save-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.devis-name-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
}
.devis-name-dialog::backdrop {
  background: rgba(17, 17, 17, 0.45);
}
.devis-name-dialog .estimator-form {
  margin: 0;
}
.devis-name-dialog h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.devis-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}
.devis-import { cursor: pointer; }
.devis-archive { margin-top: 36px; }
.devis-archive td {
  font-variant-numeric: tabular-nums;
}
.devis-archive td:nth-child(2) {
  white-space: normal;
  font-weight: 600;
}
.devis-archive .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.85rem;
}
@media print {
  .no-print, .devis-name-dialog { display: none !important; }
}
.stock-table h2,
.stock-table h3 { font-size: 1.35rem; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; }
.stock-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.stock-table th,
.stock-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.stock-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stock-table tr:last-child td { border-bottom: 0; }
.stock-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.devis-lines .is-total dt, .devis-lines .is-total dd { color: var(--ink); }
.devis-lines .is-marge dt, .devis-lines .is-marge dd { color: var(--ink); }
.devis-lines .is-site dt, .devis-lines .is-site dd { color: var(--muted); font-weight: 500; }

@media print {
  .site-header, .hero-actions, .ticket-actions, .site-footer, .menu, [data-devis-lock], [data-devis-gate] { display: none !important; }
  body { background: white; }
  .ticket { color: black; background: white; border: 1px solid #ccc; }
}
