:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111820;
  --muted: #66717d;
  --line: #dce3ea;
  --line-strong: #c7d1db;
  --cyan: #25b7c7;
  --cyan-dark: #087b8b;
  --amber: #f0a43a;
  --green: #79b36a;
  --graphite: #202832;
  --hero-bg: #ffffff;
  --shadow: 0 20px 60px rgba(22, 32, 42, 0.11);
  --radius: 8px;
  --header-height: 72px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.6 var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.print-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--hero-bg);
  color: var(--ink);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.print-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.print-loader-inner {
  width: min(360px, 100%);
  text-align: center;
}

.printer-loader-art {
  width: 210px;
  height: 142px;
  margin: 0 auto 22px;
  perspective: 620px;
}

.printer-frame {
  position: relative;
  height: 100%;
  border: 2px solid rgba(17, 24, 32, 0.16);
  border-radius: var(--radius);
  transform: rotateX(58deg) rotateZ(-2deg);
  transform-style: preserve-3d;
}

.printer-frame::before,
.printer-frame::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 18px;
  width: 2px;
  background: rgba(17, 24, 32, 0.2);
}

.printer-frame::before {
  left: 20px;
}

.printer-frame::after {
  right: 20px;
}

.printer-rail {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 34px;
  height: 3px;
  background: rgba(17, 24, 32, 0.2);
}

.printer-head {
  position: absolute;
  top: 18px;
  left: 34px;
  width: 44px;
  height: 28px;
  border-radius: 6px;
  background: var(--cyan);
  box-shadow: 0 10px 24px rgba(37, 183, 199, 0.28);
  animation: printer-head-move 1700ms ease-in-out infinite alternate;
}

.printer-head::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -13px;
  width: 8px;
  height: 14px;
  border-radius: 0 0 4px 4px;
  background: #101820;
}

.printer-bed {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 24px;
  height: 18px;
  border-radius: 50%;
  background: rgba(17, 24, 32, 0.1);
}

.printed-part {
  position: absolute;
  left: 78px;
  bottom: 36px;
  width: 56px;
  height: 44px;
  border-radius: 12px 12px 6px 6px;
  background:
    linear-gradient(180deg, rgba(7, 112, 126, 0.18), rgba(7, 112, 126, 0.08)),
    repeating-linear-gradient(180deg, rgba(7, 112, 126, 0.55) 0 2px, rgba(7, 112, 126, 0.08) 2px 5px);
  transform-origin: bottom;
  animation: printed-part-grow 1700ms ease-in-out infinite alternate;
}

.print-loader-kicker {
  margin: 0 0 8px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-loader-percent {
  margin: 0;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.print-loader-track {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.1);
}

.print-loader-track span {
  display: block;
  width: var(--loader-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--cyan);
  transition: width 180ms ease;
}

@keyframes printer-head-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(96px);
  }
}

@keyframes printed-part-grow {
  from {
    transform: scaleY(0.32);
    opacity: 0.58;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.88);
  border-bottom: 1px solid rgba(220, 227, 234, 0.68);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 249, 251, 0.96);
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.08);
}

body[data-page="home"] .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

body[data-page="home"] .site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}

.nav {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #20232d;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-size: 16px;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(220, 227, 234, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .nav-menu {
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
  background: #fff;
}

body[data-page="home"] .nav-menu a {
  color: rgba(17, 24, 32, 0.74);
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .nav-menu a:hover,
body[data-page="home"] .nav-menu a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  color: #fff;
  background: var(--ink);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

body[data-page="home"] .nav-toggle {
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

body[data-page="home"] .nav-cta {
  color: var(--ink);
  border-color: rgba(17, 24, 32, 0.22);
  background: transparent;
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.72);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

body[data-page="home"] .brand-text {
  color: var(--ink);
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.72);
}

body[data-page="home"] .nav-toggle-line {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100svh - var(--header-height) - 34px));
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--hero-bg);
}

body[data-page="home"] .hero {
  min-height: 108svh;
}

.hero-shade,
.attractor-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.attractor-bg {
  z-index: 0;
  display: block;
  opacity: 1;
  mix-blend-mode: multiply;
  filter: contrast(1.08);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - clamp(320px, 42svh, 560px)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - clamp(320px, 42svh, 560px)), transparent 100%);
  pointer-events: none;
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.48), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 54%, #fff 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 122px 0 70px;
  color: var(--ink);
}

.hero .eyebrow {
  color: var(--cyan-dark);
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.7);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.3vw, 80px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(255, 255, 255, 0.72);
}

.page-hero h1 {
  text-shadow: none;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(17, 24, 32, 0.72);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.58;
  text-shadow: 0 12px 34px rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-primary {
  color: #071015;
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(37, 183, 199, 0.25);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(37, 183, 199, 0.32);
}

.button-light {
  color: var(--ink);
  border-color: rgba(17, 24, 32, 0.22);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary {
  border-color: var(--line-strong);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 520px;
  margin: 42px 0 0;
}

.hero-metrics div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(17, 24, 32, 0.62);
  font-size: 13px;
}

.section {
  padding: 46px 0;
}

.section-compact {
  padding: 30px 0;
}

.section-muted {
  background: #eef3f7;
}

.intro-grid,
.two-column,
.factors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy h2,
.section-heading h2,
.media-copy h2,
.cta-layout h2,
.page-hero h1,
.two-column h2,
.factors-layout h2,
.map-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-text,
.page-lead,
.cta-layout p,
.map-band p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.seo-copy {
  max-width: 980px;
}

.seo-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.seo-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.seo-copy p + p {
  margin-top: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid,
.material-grid,
.price-grid,
.portfolio-grid,
.service-detail-grid,
.process-row {
  display: grid;
  gap: 18px;
}

.service-grid > .breadcrumbs,
.material-grid > .breadcrumbs,
.price-grid > .breadcrumbs,
.portfolio-grid > .breadcrumbs,
.service-detail-grid > .breadcrumbs {
  grid-column: 1 / -1;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.detail-card,
.material-card,
.price-card,
.process-item,
.contact-panel,
.contact-form,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card,
.detail-card,
.material-card,
.price-card,
.process-item {
  padding: 28px;
}

.service-card,
.detail-card,
.price-card,
.portfolio-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.detail-card:hover,
.price-card:hover,
.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-number,
.price-label,
.portfolio-card span,
.process-item span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.process-item h3 {
  margin: 20px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.service-card p,
.detail-card p,
.material-card p,
.price-card p,
.process-item p,
.portfolio-card p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--cyan);
}

.media-section {
  background: #fff;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.steps-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  padding: 18px 0 18px 22px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}

.steps-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 900;
}

.feature-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image picture,
.feature-image img {
  display: block;
  width: 100%;
}

.feature-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pill-grid,
.file-list,
.factor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span,
.file-list span,
.factor-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--graphite);
  font-weight: 800;
}

.cta-band {
  padding: 34px 0;
  background: var(--graphite);
  color: #fff;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 52px 0 34px;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 46px;
  align-items: end;
}

.page-hero .eyebrow {
  color: var(--cyan-dark);
}

.service-detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-card h2,
.material-card h2,
.price-card h2,
.contact-panel h2,
.portfolio-card h2 {
  margin: 16px 0 12px;
  font-size: 26px;
  line-height: 1.12;
}

.clean-list,
.large-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.large-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.clean-list li::before,
.large-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--cyan-dark);
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.18;
}

.legal-content p {
  color: var(--muted);
}

.legal-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-row a,
.form-status a {
  color: var(--cyan-dark);
  font-weight: 900;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 800;
}

.warning-note {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(240, 164, 58, 0.42);
  border-radius: var(--radius);
  background: rgba(240, 164, 58, 0.08);
  color: var(--graphite);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cookie-banner p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--cyan-dark);
  font-weight: 900;
}

.cookie-option {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-right: 14px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.footer-link {
  display: block;
  margin: 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.footer-link:hover {
  color: #fff;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--bg);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
}

.not-found p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.file-list {
  align-content: start;
}

.process-row {
  grid-template-columns: repeat(3, 1fr);
}

.material-grid {
  grid-template-columns: repeat(3, 1fr);
}

.material-card small {
  display: block;
  margin-top: 22px;
  color: var(--cyan-dark);
  font-weight: 900;
}

.material-swatch {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.swatch-pla {
  background: #f2f5f8;
}

.swatch-petg {
  background: #5ec3ca;
}

.swatch-abs {
  background: #242b34;
}

.swatch-tpu {
  background: #79b36a;
}

.swatch-pa {
  background: #9ca6af;
}

.swatch-resin {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(37, 183, 199, 0.36));
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-table td {
  color: var(--muted);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card picture,
.portfolio-card img {
  display: block;
  width: 100%;
}

.portfolio-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-card:nth-child(1) img {
  object-position: 14% center;
}

.portfolio-card:nth-child(2) img {
  object-position: 48% 72%;
}

.portfolio-card:nth-child(4) img {
  object-position: 82% center;
}

.portfolio-card:nth-child(6) img {
  object-position: 8% 80%;
}

.portfolio-card div {
  padding: 22px;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card.featured {
  border-color: rgba(37, 183, 199, 0.55);
  box-shadow: 0 16px 44px rgba(37, 183, 199, 0.14);
}

.price-value {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list > span {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--ink);
  font-weight: 900;
}

.contact-list span span,
.contact-list a span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row input {
  min-height: 48px;
  padding: 0 14px;
}

.form-row select {
  min-height: 48px;
  padding: 0 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-row textarea {
  resize: vertical;
  min-height: 150px;
  padding: 13px 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 183, 199, 0.16);
}

.form-button {
  width: fit-content;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.map-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.messenger-menu {
  position: relative;
  justify-self: end;
}

.messenger-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 12;
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.messenger-options.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.messenger-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
}

.messenger-options a:hover {
  background: #eef3f7;
}

.messenger-options span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  border-radius: 6px;
  background: var(--graphite);
  color: #fff;
  font-size: 11px;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 400px;
}

.site-footer {
  padding: 32px 0;
  background: #111820;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 36px;
}

.footer-brand {
  color: #fff;
}

.site-footer .brand,
.site-footer .brand-text {
  color: #fff;
  text-shadow: none;
}

.footer-grid p {
  max-width: 340px;
  margin: 18px 0 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
}

.footer-grid .footer-contact-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 8px 0;
  line-height: 1.35;
}

.footer-grid .footer-contact-item > span,
.footer-grid .footer-contact-item > strong {
  display: block;
  margin: 0;
}

.footer-grid .footer-contact-item > span:first-child {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid .footer-contact-item > strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 940px) {
  .nav {
    grid-template-columns: auto 44px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 420px;
    margin: 0 auto;
    justify-self: auto;
    display: grid;
    gap: 4px;
    padding: 10px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body[data-page="home"] .nav-menu {
    border-color: rgba(220, 227, 234, 0.72);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    min-height: 48px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  body[data-page="home"] .hero {
    min-height: 112svh;
  }

  .hero-content {
    padding: 72px 0 54px;
  }

  body[data-page="home"] .hero-content {
    padding-top: 152px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .intro-grid,
  .two-column,
  .factors-layout,
  .media-layout,
  .page-hero-grid,
  .contact-grid,
  .map-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .material-grid,
  .price-grid,
  .portfolio-grid,
  .service-detail-grid,
  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-text {
    font-size: 15px;
  }

  .hero-shade {
    background: transparent;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    margin-top: 24px;
  }

  .hero-metrics div {
    min-height: 78px;
    padding: 10px;
  }

  .hero-metrics dt {
    font-size: 18px;
  }

  .hero-metrics dd {
    font-size: 11px;
    line-height: 1.25;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 36px 0;
  }

  .section-compact {
    padding: 24px 0;
  }

  .page-hero {
    padding: 42px 0 28px;
  }

  .service-grid,
  .material-grid,
  .price-grid,
  .portfolio-grid,
  .service-detail-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .detail-card,
  .material-card,
  .price-card,
  .process-item,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .portfolio-card div {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .messenger-menu {
    justify-self: stretch;
  }

  .messenger-options {
    position: static;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column;
  }
}
