:root {
  --bg: #f5f7f7;
  --surface: rgba(251, 251, 249, 0.88);
  --surface-solid: #fbfbf9;
  --surface-warm: #f3efe8;
  --ink: #121212;
  --muted: #5f646b;
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.18);
  --dark: #141414;
  --steel: #9aa0a6;
  --steel-dark: #4d5359;
  --accent: #2e9b92;
  --accent-2: #c79a4b;
  --accent-3: #6f8fa2;
  --good: #11845b;
  --shadow: 0 22px 70px rgba(24, 24, 24, 0.12);
  --soft-shadow: 0 12px 34px rgba(24, 24, 24, 0.08);
  --radius: 8px;
  --dock-height: 76px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 7% 9%, rgba(46, 155, 146, 0.1), transparent 30%),
    radial-gradient(circle at 91% 16%, rgba(199, 154, 75, 0.1), transparent 31%),
    linear-gradient(180deg, #fbfbf9 0%, var(--bg) 48%, #f0f2f1 100%);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-shell {
  min-height: 100vh;
}

.view {
  display: none;
  min-height: 100vh;
  padding-bottom: calc(var(--dock-height) + 36px);
}

.view.active {
  display: block;
  animation: viewIn 420ms ease both;
}

.quote-view,
.store-view,
.contact-view {
  padding-bottom: 0;
}

.quote-view > .section-band:last-child,
.store-view > .section-band:last-child,
.contact-view > .section-band:last-child {
  padding-bottom: 116px;
}

.gate-screen {
  min-height: 100dvh;
  padding: 28px;
}

.gate-screen.active {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.gate-top {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.gate-top p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.5;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 16px;
  color: var(--ink);
}

.brand-lockup small {
  margin-top: 2px;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.45;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(135deg, #161616, #4a4f55);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  font-size: 13px;
  font-weight: 800;
}

.gate-grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-self: stretch;
  min-height: 0;
}

.gate-card {
  --gate-accent: var(--accent);
  --gate-accent-soft: rgba(15, 118, 110, 0.14);
  --gate-border-hover: rgba(15, 118, 110, 0.34);
  position: relative;
  min-height: 520px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.gate-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--gate-accent), transparent 72%);
  opacity: 0.74;
}

.gate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(24, 24, 24, 0.16);
  border-color: var(--gate-border-hover);
}

.gate-card:focus-visible,
.dock button:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(47, 111, 159, 0.35);
  outline-offset: 4px;
}

.quote-gate {
  --gate-accent: var(--accent);
  --gate-accent-soft: rgba(15, 118, 110, 0.14);
  --gate-border-hover: rgba(15, 118, 110, 0.34);
  background:
    radial-gradient(circle at 78% 78%, rgba(111, 143, 162, 0.12), transparent 38%),
    linear-gradient(140deg, #fbfbf9 0%, #f2f8f7 54%, #e7f2f0 100%);
}

.store-gate {
  --gate-accent: var(--accent-2);
  --gate-accent-soft: rgba(204, 122, 26, 0.13);
  --gate-border-hover: rgba(204, 122, 26, 0.34);
  background:
    radial-gradient(circle at 78% 78%, rgba(199, 154, 75, 0.13), transparent 38%),
    linear-gradient(140deg, #fbfbf9 0%, #f7f2e9 55%, #eee4d2 100%);
}

.gate-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-gate .gate-kicker {
  color: var(--accent-2);
}

.gate-title {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 560px;
  margin-top: clamp(112px, 16vh, 154px);
  color: var(--ink);
  font-size: 48px;
  line-height: 1.02;
  font-weight: 850;
}

.gate-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 500px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.gate-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 18, 18, 0.88);
  box-shadow: var(--soft-shadow);
  font-weight: 750;
  margin-top: auto;
}

.gate-visual {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 14px;
  width: min(100%, 780px);
  aspect-ratio: 16 / 10;
  transform: translateX(-43%);
  pointer-events: none;
}

.gate-render {
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 24px 36px rgba(18, 22, 24, 0.13));
}

.gate-render::before {
  display: none;
}

.gate-render img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.quote-render {
  bottom: 12px;
}

.store-render {
  bottom: 12px;
}

.laser-visual {
  perspective: 700px;
}

.laser-visual::before {
  content: "";
  position: absolute;
  inset: 18% 5% 0 0;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 36%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #23272a, #6e777c 48%, #c8ced1);
  transform: rotateX(58deg) rotateZ(-11deg);
  box-shadow: 0 32px 50px rgba(0, 0, 0, 0.25);
}

.laser-head {
  position: absolute;
  top: 2%;
  left: 48%;
  width: 72px;
  height: 84px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, #f8fbfb, #8d9a9e);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.laser-head::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -24px;
  width: 24px;
  height: 38px;
  border-radius: 0 0 12px 12px;
  background: #3f474b;
}

.beam {
  position: absolute;
  top: 38%;
  left: 58%;
  width: 4px;
  height: 118px;
  background: linear-gradient(180deg, rgba(67, 195, 180, 0), rgba(67, 195, 180, 0.88), rgba(255, 169, 82, 0.96));
  filter: blur(0.5px);
}

.sheet {
  position: absolute;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent), #b6bdc0;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.15);
}

.sheet-a {
  width: 118px;
  height: 72px;
  right: 0;
  bottom: 38px;
  transform: rotate(-9deg);
}

.sheet-b {
  width: 92px;
  height: 58px;
  right: 118px;
  bottom: 6px;
  transform: rotate(12deg);
  opacity: 0.78;
}

.spark {
  position: absolute;
  left: 58%;
  top: 68%;
  width: 7px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f4a640, transparent);
  transform-origin: top center;
  animation: spark 1.5s ease-in-out infinite;
}

.spark-1 {
  transform: rotate(54deg);
}

.spark-2 {
  transform: rotate(86deg);
  animation-delay: 140ms;
}

.spark-3 {
  transform: rotate(124deg);
  animation-delay: 260ms;
}

.spark-4 {
  transform: rotate(22deg);
  animation-delay: 340ms;
}

.parts-visual {
  transform: translateY(6%);
}

.parts-visual::before {
  content: "";
  position: absolute;
  inset: 50% 4% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.18), transparent);
  filter: blur(8px);
}

.part {
  position: absolute;
  display: block;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.02) 42%),
    linear-gradient(135deg, #d8dde0, #7a858b 62%, #34383b);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.part.plate {
  width: 45%;
  height: 36%;
  left: 6%;
  top: 22%;
  border-radius: var(--radius);
  transform: rotate(-10deg);
}

.part.plate::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 8px solid rgba(25, 25, 25, 0.24);
  border-radius: var(--radius);
}

.part.ring {
  width: 36%;
  aspect-ratio: 1;
  right: 10%;
  top: 12%;
  border-radius: 50%;
}

.part.ring::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.16);
}

.part.bracket {
  width: 42%;
  height: 30%;
  right: 18%;
  bottom: 14%;
  border-radius: var(--radius);
  transform: rotate(9deg);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 60% 34%, 60% 100%, 0 100%);
}

.part.rail {
  width: 60%;
  height: 14%;
  left: 18%;
  bottom: 4%;
  border-radius: 999px;
  transform: rotate(-3deg);
}

.section-band {
  padding: 96px 24px;
}

.section-band.white-band {
  background: rgba(255, 255, 255, 0.72);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.quote-hero,
.store-hero {
  padding-top: 62px;
}

.quote-layout,
.store-layout,
.contact-layout,
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.store-layout {
  align-items: center;
}

.quote-intro,
.store-copy,
.contact-copy,
.profile-copy {
  padding-top: 28px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 850;
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.quote-intro p,
.store-copy p,
.contact-copy p,
.profile-copy p {
  max-width: 640px;
  font-size: 18px;
}

.quote-process-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 570px);
  aspect-ratio: 1.9;
  margin-top: 34px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.quote-process-visual::before {
  content: "";
  position: absolute;
  inset: 18% 5% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 155, 146, 0.12), rgba(111, 143, 162, 0.055) 46%, transparent 72%);
  filter: blur(16px);
}

.quote-process-visual img {
  display: block;
  width: 108%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(30, 39, 42, 0.14));
}

.trust-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #262626;
  font-weight: 700;
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.quote-form,
.contact-form,
.profile-panel {
  padding: 24px;
}

.form-head {
  margin-bottom: 18px;
}

.form-head h2,
.contact-form h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.form-head p {
  margin-bottom: 0;
  font-size: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #2c2c2c;
  font-size: 13px;
  font-weight: 760;
}

.quote-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.split-fields.three {
  grid-template-columns: 1fr 0.8fr 0.65fr;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(15, 118, 110, 0.48);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
  background: #fff;
}

.upload-box {
  position: relative;
  place-items: center;
  min-height: 138px;
  padding: 20px;
  border: 1px dashed rgba(15, 118, 110, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.07), transparent),
    rgba(255, 255, 255, 0.75);
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.upload-box span,
.upload-box small {
  display: block;
}

.upload-box small {
  color: var(--muted);
  font-weight: 650;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.checkline input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.primary-action {
  border: 1px solid rgba(15, 118, 110, 0.1);
  background: linear-gradient(135deg, #0f766e, #0a5f59);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:disabled,
.secondary-action:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.primary-action.full {
  width: 100%;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p {
  font-size: 17px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-item {
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.process-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #161616;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.knowledge-band {
  padding-top: 68px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 28px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.showcase-visual {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 24% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(199, 154, 75, 0.12), transparent 72%);
  filter: blur(10px);
}

.showcase-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(74, 57, 34, 0.14));
}

.category-intro {
  max-width: 820px;
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow: 0 20px 42px rgba(24, 24, 24, 0.12);
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
  background:
    linear-gradient(180deg, #fff 0%, #f6f6f2 100%);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 18% 12% auto;
  height: 54%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #d9dee1, #828c92 62%, #42474b);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.14);
  transform: rotate(-7deg);
}

.product-media::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18%;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  filter: blur(7px);
}

.product-media.ring::before {
  inset: 18% auto auto 24%;
  width: 52%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  transform: rotate(0deg);
}

.product-media.ring span {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.15);
}

.product-media.bracket::before {
  clip-path: polygon(0 0, 100% 0, 100% 34%, 62% 34%, 62% 100%, 0 100%);
}

.product-media.rail::before {
  height: 25%;
  inset: 36% 12% auto;
  border-radius: 999px;
  transform: rotate(4deg);
}

.product-media.has-image::before,
.product-media.has-image::after {
  display: none;
}

.product-media.has-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.product-stage .product-media.has-image img {
  min-height: 480px;
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.product-body h3 {
  min-height: 46px;
  margin-bottom: 12px;
}

.product-body p {
  min-height: 54px;
  margin-bottom: 16px;
  font-size: 14px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.text-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
}

.round-action {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
}

.product-detail {
  display: grid;
  gap: 48px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
}

.product-stage {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-stage .product-media {
  min-height: 480px;
  cursor: default;
}

.product-info {
  padding: 6px 0;
}

.product-price {
  display: block;
  margin: 18px 0 24px;
  font-size: 34px;
  font-weight: 850;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 42px 54px 42px;
  align-items: center;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.quantity-control button {
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control span {
  text-align: center;
  font-weight: 800;
}

.knowledge-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.7fr);
}

.contact-form {
  align-self: start;
}

.map-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.map-surface {
  display: block;
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--radius);
}

.road {
  position: absolute;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.r1 {
  width: 90%;
  left: -8%;
  top: 35%;
  transform: rotate(-12deg);
}

.r2 {
  width: 76%;
  right: -10%;
  top: 58%;
  transform: rotate(18deg);
}

.r3 {
  width: 70%;
  left: 20%;
  top: 14%;
  transform: rotate(48deg);
}

.pin {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.profile-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
}

.google-card {
  display: grid;
  gap: 18px;
}

.google-button {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.google-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.profile-dashboard {
  display: grid;
  gap: 18px;
}

.profile-loading,
.account-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.profile-account {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.profile-account img,
.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.profile-account img {
  object-fit: cover;
}

.profile-avatar {
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  font-size: 22px;
  font-weight: 850;
}

.profile-account h2,
.profile-account p {
  margin: 0;
}

.profile-account p {
  margin-top: 4px;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-stat-grid > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.account-stat-grid strong,
.account-stat-grid span {
  display: block;
}

.account-stat-grid strong {
  margin-bottom: 6px;
  font-size: 28px;
}

.account-stat-grid span {
  color: var(--muted);
}

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

.account-heading {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.account-heading h3 {
  margin: 0;
}

.address-list,
.account-records {
  display: grid;
}

.address-list article,
.account-records > div {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.address-list article:last-child,
.account-records > div:last-child {
  border-bottom: 0;
}

.address-list p {
  margin: 5px 0 0;
}

.account-records > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.account-records span:last-child {
  text-align: right;
}

.account-records strong,
.account-records b,
.account-records small {
  display: block;
}

.account-records small {
  margin-top: 4px;
  color: var(--muted);
}

.address-create {
  margin: 14px;
  box-shadow: none;
}

.account-form {
  padding: 0 18px 18px;
  display: grid;
  gap: 14px;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-form label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}

.account-form input,
.account-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.profile-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.profile-row svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.profile-row h3 {
  margin-bottom: 4px;
}

.admin-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-mini {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-mini strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: var(--dock-height);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.62);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.2);
  backdrop-filter: blur(28px) saturate(1.4);
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
}

.dock.visible {
  display: flex;
  animation: dockIn 420ms ease forwards;
}

.dock-button,
.icon-button {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.dock-button:hover,
.dock-button.active,
.icon-button:hover {
  transform: translateY(-3px);
  background: #161616;
  color: #fff;
}

.dock-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.dock-button:hover::after {
  opacity: 1;
}

.dock-quote {
  position: relative;
  min-height: 54px;
  border: 1px solid rgba(15, 118, 110, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #115e59;
  padding: 0 42px 0 20px;
  cursor: pointer;
  font-weight: 850;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(15, 118, 110, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.dock-quote::after {
  content: "\2192";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease;
}

.dock-quote:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.72);
  background: #e7f5f2;
  color: #0f5f59;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 14px 30px rgba(15, 118, 110, 0.18);
}

.dock-quote:hover::after {
  transform: translate(3px, -52%);
}

.dock-quote.active {
  transform: translateY(-3px);
  border-color: #161616;
  background: #161616;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.dock-quote.active::after {
  content: "";
  right: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72d6c8;
  box-shadow: 0 0 0 4px rgba(114, 214, 200, 0.16);
}

.cart-trigger {
  overflow: visible;
}

.cart-badge {
  position: absolute;
  right: -2px;
  top: -2px;
  min-width: 20px;
  height: 20px;
  display: none;
  place-items: center;
  border: 2px solid rgba(250, 250, 247, 0.92);
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.cart-badge.visible {
  display: grid;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(15, 15, 15, 0.18);
  backdrop-filter: blur(3px);
}

.drawer-scrim.visible {
  display: block;
}

.cart-drawer {
  position: fixed;
  right: 16px;
  top: 16px;
  bottom: 16px;
  z-index: 70;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px);
  transform: translateX(calc(100% + 40px));
  transition: transform 260ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.cart-items {
  overflow: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent),
    #fff;
}

.checkout-form h3 {
  margin-bottom: 6px;
}

.checkout-form p {
  margin-bottom: 0;
  font-size: 13px;
}

.payment-panel,
.payment-result {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  background: #fff;
}

.payment-panel-heading h3,
.payment-result h3 {
  margin: 4px 0 6px;
}

.payment-panel-heading p,
.payment-result p,
.payment-waiting {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.payment-test-badge {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 4px;
  background: #fff3cd;
  color: #705500;
  font-size: 11px;
  font-weight: 800;
}

.payment-frame {
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #fff;
}

.payment-result.success {
  border-color: rgba(15, 118, 110, 0.32);
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.1), #fff 55%);
}

.payment-result.failed {
  border-color: rgba(180, 70, 45, 0.28);
  background: linear-gradient(145deg, rgba(180, 70, 45, 0.08), #fff 55%);
}

.cart-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent),
    linear-gradient(135deg, #d8dee0, #6d777c);
}

.cart-line h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.cart-line p {
  margin-bottom: 0;
  font-size: 13px;
}

.cart-line-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.tiny-qty {
  display: inline-grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.tiny-qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tiny-qty span {
  text-align: center;
  font-size: 12px;
  font-weight: 850;
}

.remove-line {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(204, 122, 26, 0.1);
  color: #9b4e08;
  cursor: pointer;
}

.cart-summary {
  padding: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--ink);
  font-size: 24px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: calc(var(--dock-height) + 34px);
  z-index: 90;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.88);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
}

.toast.visible {
  animation: toastIn 2.8s ease forwards;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dockIn {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  12%,
  86% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes spark {
  0%,
  100% {
    opacity: 0.22;
    height: 20px;
  }
  45% {
    opacity: 1;
    height: 42px;
  }
}

/* Premium industrial visual polish */
.section-band {
  position: relative;
  border-top: 1px solid rgba(18, 18, 18, 0.055);
}

.section-band .section-inner {
  position: relative;
  z-index: 1;
}

.quote-hero {
  background:
    radial-gradient(circle at 8% 16%, rgba(46, 155, 146, 0.1), transparent 31%),
    radial-gradient(circle at 86% 12%, rgba(111, 143, 162, 0.08), transparent 28%),
    #f5f7f7;
}

.store-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(199, 154, 75, 0.11), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(46, 155, 146, 0.045), transparent 27%),
    #f3efe8;
}

.quote-view > .section-band:nth-child(2) {
  background-color: #fbfbf9;
  background-image:
    linear-gradient(rgba(46, 155, 146, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 155, 146, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.knowledge-band {
  background:
    radial-gradient(circle at 88% 24%, rgba(111, 143, 162, 0.08), transparent 30%),
    #f5f7f7;
}

.store-view > .section-band:nth-child(2) {
  background:
    radial-gradient(circle at 10% 30%, rgba(46, 155, 146, 0.065), transparent 28%),
    #f5f7f7;
}

.store-view > .section-band:nth-child(3) {
  background:
    radial-gradient(circle at 88% 24%, rgba(199, 154, 75, 0.095), transparent 30%),
    #f3efe8;
}

.tool-panel,
.process-item,
.knowledge-card,
details,
.map-panel {
  border-color: rgba(18, 18, 18, 0.095);
  box-shadow:
    0 18px 46px rgba(30, 39, 42, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.gate-card::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -32%;
  z-index: 1;
  width: 26%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg) translateX(-180%);
  opacity: 0;
  transition:
    transform 520ms ease,
    opacity 220ms ease;
}

.gate-card:hover::after {
  transform: skewX(-18deg) translateX(620%);
  opacity: 0.52;
}

.gate-action {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.gate-action svg {
  transition: transform 180ms ease;
}

.gate-card:hover .gate-action svg {
  transform: translateX(3px);
}

.quote-gate:hover .gate-action {
  border-color: rgba(46, 155, 146, 0.62);
  box-shadow:
    inset 0 0 18px rgba(46, 155, 146, 0.12),
    0 12px 30px rgba(18, 18, 18, 0.14);
}

.store-gate:hover .gate-action {
  border-color: rgba(199, 154, 75, 0.65);
  box-shadow:
    inset 0 0 18px rgba(199, 154, 75, 0.12),
    0 12px 30px rgba(18, 18, 18, 0.14);
}

.upload-box::after {
  content: "DXF  ·  STEP  ·  PDF";
  display: inline-flex;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(46, 155, 146, 0.2);
  border-radius: 999px;
  background: rgba(46, 155, 146, 0.075);
  color: #246f69;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.process-item {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(46, 155, 146, 0.08), transparent 34%),
    rgba(251, 251, 249, 0.9);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.process-item::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 52px;
  height: 52px;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(46, 155, 146, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 155, 146, 0.3) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}

.process-item:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 155, 146, 0.24);
  box-shadow: 0 20px 44px rgba(30, 39, 42, 0.1);
}

.process-item span {
  background: #1d716b;
  box-shadow: 0 8px 20px rgba(46, 155, 146, 0.2);
}

.process-item:nth-child(4) span {
  background: #9a7332;
  box-shadow: 0 8px 20px rgba(199, 154, 75, 0.2);
}

.category-intro {
  position: relative;
  padding-left: 18px;
}

.category-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(46, 155, 146, 0.12));
}

.store-view > .section-band:nth-child(3) .category-intro::before {
  background: linear-gradient(180deg, var(--accent-2), rgba(199, 154, 75, 0.12));
}

.category-intro .eyebrow,
.product-meta span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(46, 155, 146, 0.18);
  border-radius: 999px;
  background: rgba(46, 155, 146, 0.07);
}

.store-view > .section-band:nth-child(3) .category-intro .eyebrow,
#retailProducts .product-meta span {
  border-color: rgba(199, 154, 75, 0.22);
  background: rgba(199, 154, 75, 0.085);
  color: #87652d;
}

.product-card {
  position: relative;
  border-color: rgba(18, 18, 18, 0.095);
  background: #fbfbf9;
  box-shadow:
    0 14px 36px rgba(30, 39, 42, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: -25% auto -25% -30%;
  z-index: 3;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: skewX(-16deg) translateX(-220%);
  opacity: 0;
  transition:
    transform 520ms ease,
    opacity 180ms ease;
}

.product-card:hover::after {
  transform: skewX(-16deg) translateX(820%);
  opacity: 0.42;
}

.product-media {
  background:
    radial-gradient(circle at 50% 45%, rgba(111, 143, 162, 0.16), transparent 38%),
    linear-gradient(rgba(111, 143, 162, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 143, 162, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #fbfbf9 0%, #eef1f0 100%);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

#retailProducts .product-media {
  background:
    radial-gradient(circle at 50% 45%, rgba(199, 154, 75, 0.15), transparent 40%),
    linear-gradient(rgba(199, 154, 75, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 154, 75, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, #fbfbf9 0%, #f2ece2 100%);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.product-media.has-image img {
  background: transparent;
}

.product-meta strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 880;
}

.product-body h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 840;
}

.contact-view > .section-band {
  background:
    radial-gradient(circle at 9% 18%, rgba(46, 155, 146, 0.1), transparent 30%),
    radial-gradient(circle at 89% 12%, rgba(199, 154, 75, 0.09), transparent 30%),
    #f5f7f7;
}

.contact-copy {
  padding: 30px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 155, 146, 0.07), transparent 46%),
    linear-gradient(315deg, rgba(199, 154, 75, 0.07), transparent 48%),
    rgba(251, 251, 249, 0.84);
  box-shadow: 0 18px 46px rgba(30, 39, 42, 0.07);
}

.contact-actions .secondary-action {
  border-color: rgba(46, 155, 146, 0.2);
  color: #246f69;
}

.map-panel {
  background: rgba(251, 251, 249, 0.92);
}

.map-surface {
  background:
    linear-gradient(rgba(46, 155, 146, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 155, 146, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 42% 40%, rgba(46, 155, 146, 0.14), transparent 38%),
    linear-gradient(180deg, #f3f4ef, #e1e4df);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.pin {
  border: 2px solid rgba(199, 154, 75, 0.82);
  background: #267e77;
  box-shadow:
    0 18px 32px rgba(30, 39, 42, 0.18),
    0 0 0 7px rgba(46, 155, 146, 0.1);
}

.view.active .section-band .section-inner {
  animation: sectionRise 480ms ease both;
}

.view.active .section-band:nth-child(2) .section-inner {
  animation-delay: 55ms;
}

.view.active .section-band:nth-child(3) .section-inner {
  animation-delay: 95ms;
}

@keyframes sectionRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  h1,
  .gate-title {
    font-size: 42px;
  }

  .quote-layout,
  .store-layout,
  .contact-layout,
  .profile-layout,
  .knowledge-layout,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .knowledge-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quote-view > .section-band:last-child,
  .store-view > .section-band:last-child,
  .contact-view > .section-band:last-child {
    padding-bottom: 92px;
  }

  .gate-screen {
    padding: 14px;
  }

  .gate-screen.active {
    gap: 10px;
  }

  .gate-top {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
  }

  .gate-top p {
    display: none;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .brand-lockup strong {
    font-size: 15px;
  }

  .brand-lockup small {
    font-size: 12px;
  }

  .gate-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: calc(100dvh - 76px);
    min-height: 620px;
  }

  .gate-card {
    min-height: 0;
    padding: 18px;
  }

  .quote-process-visual {
    width: min(100%, 540px);
    margin: 26px auto 4px;
  }

  .quote-process-visual img {
    width: 104%;
  }

  .showcase-visual {
    min-height: 300px;
  }

  .showcase-visual img {
    width: 118%;
  }

  .gate-title {
    margin-top: 10px;
    font-size: 28px;
  }

  .gate-copy {
    display: -webkit-box;
    max-width: min(100%, 320px);
    margin-top: 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    line-height: 1.4;
  }

  .gate-visual {
    left: 52%;
    right: auto;
    bottom: 5px;
    width: 70%;
    transform: translateX(-31%);
    opacity: 0.95;
  }

  .quote-render,
  .store-render {
    width: 70%;
    bottom: 5px;
  }

  .gate-action {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .section-band {
    padding: 64px 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 27px;
  }

  .split-fields,
  .split-fields.three,
  .process-grid,
  .product-grid,
  .knowledge-columns,
  .admin-strip,
  .account-stat-grid,
  .account-form-grid,
  .map-panel {
    grid-template-columns: 1fr;
  }

  .profile-account {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .quote-form,
  .contact-form,
  .profile-panel {
    padding: 18px;
  }

  .product-media,
  .product-stage,
  .product-stage .product-media {
    min-height: 320px;
  }

  .dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: translateY(20px);
    justify-content: space-between;
    width: auto;
    min-height: 68px;
    padding: 8px;
  }

  .dock.visible {
    animation: dockInMobile 420ms ease forwards;
  }

  .dock-button {
    width: 46px;
    height: 46px;
  }

  .dock-quote {
    min-height: 46px;
    max-width: 152px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }

  .dock-quote::after {
    display: none;
  }

  .toast {
    right: 14px;
    bottom: 94px;
  }

  @keyframes dockInMobile {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 520px) {
  .gate-copy {
    max-width: 100%;
  }

  .gate-visual {
    display: block;
    left: auto;
    right: -20px;
    bottom: -4px;
    width: 115%;
    transform: none;
    opacity: 0.96;
  }

  .quote-render,
  .store-render {
    width: 115%;
    bottom: -4px;
  }

  .dock {
    gap: 5px;
  }

  .dock-button {
    width: 42px;
    height: 42px;
  }

  .dock-quote {
    max-width: 118px;
    padding: 0 10px;
  }
}

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