/*
 * Re-Bit — visual system
 * Dependency-free, responsive, and intentionally built from native CSS.
 */

:root {
  --paper: #f2efe8;
  --paper-soft: #f8f6f1;
  --paper-deep: #e7e2d8;
  --white: #fff;
  --ink: #17191a;
  --ink-soft: #4e5050;
  --graphite: #202426;
  --graphite-deep: #111416;
  --graphite-light: #313638;
  --line: rgba(23, 25, 26, 0.14);
  --line-strong: rgba(23, 25, 26, 0.24);
  --red: #ef4146;
  --red-dark: #c82f34;
  --red-soft: #ffdcda;
  --blue: #3174a5;
  --sand: #d3b06e;
  --green: #3fc17a;
  --shadow-sm: 0 10px 32px rgba(26, 25, 22, 0.08);
  --shadow-md: 0 24px 70px rgba(26, 25, 22, 0.13);
  --shadow-dark: 0 28px 80px rgba(3, 5, 6, 0.3);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --container: 78rem;
  --header-height: 5.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--paper);
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button,
input,
textarea,
select {
  border: 0;
}

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

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5.5rem, 9vw, 9rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.8rem;
  height: 2px;
  background: var(--red);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.66);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-heading h2,
.process-heading h2,
.faq-heading h2,
.about-copy h2,
.security-copy h2,
.contact-copy h2 {
  max-width: 14ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.6rem, 5.4vw, 5.5rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.section-heading > div > p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  line-height: 1;
  transition:
    color 240ms var(--ease),
    background-color 240ms var(--ease),
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease),
    transform 240ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(239, 65, 70, 0.2);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 14px 30px rgba(239, 65, 70, 0.29);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.48);
}

.button-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(242, 239, 232, 0.88);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition:
    height 260ms var(--ease),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.site-header.is-scrolled {
  height: 4.75rem;
  border-color: var(--line);
  background: rgba(248, 246, 241, 0.94);
  box-shadow: 0 10px 36px rgba(25, 25, 22, 0.07);
}

.header-shell {
  display: flex;
  width: min(calc(100% - 3rem), 88rem);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 1002;
  display: flex;
  width: clamp(8.5rem, 12vw, 10.5rem);
  min-height: 3rem;
  align-items: center;
  padding-block: 0.6rem;
}

.brand img {
  width: 100%;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
}

.primary-nav,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.primary-nav {
  flex: 1;
  justify-content: flex-end;
  gap: clamp(1.25rem, 2.7vw, 3rem);
}

.nav-links {
  gap: clamp(1rem, 1.8vw, 1.9rem);
}

.nav-link {
  position: relative;
  padding-block: 0.65rem;
  color: #363838;
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.035em;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  gap: 0.75rem;
}

.header-cta {
  min-height: 2.85rem;
  padding-inline: 1.05rem;
  background: var(--graphite);
  color: var(--white);
}

.header-cta:hover {
  background: var(--red);
}

.header-cta .icon {
  width: 1rem;
  height: 1rem;
}

.language-picker {
  position: relative;
}

.language-button {
  display: flex;
  min-width: 4.9rem;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.language-button:hover,
.language-picker.is-open .language-button {
  border-color: var(--line-strong);
  background: var(--white);
}

.language-button > .icon:first-child {
  width: 1.05rem;
  height: 1.05rem;
}

.language-chevron {
  width: 0.8rem;
  height: 0.8rem;
  transition: transform 180ms var(--ease);
}

.language-picker.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.7rem);
  right: 0;
  width: 13.5rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  animation: menu-in 180ms var(--ease) both;
}

.language-option {
  display: grid;
  width: 100%;
  min-height: 2.85rem;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: transparent;
  text-align: left;
  font-size: 0.82rem;
  transition: background-color 160ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--paper);
}

.language-option.is-selected {
  color: var(--red-dark);
  font-weight: 800;
}

.language-option-code {
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.language-option .icon {
  width: 1rem;
  height: 1rem;
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-soft);
}

.nav-toggle .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.menu-close-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-close-icon {
  display: block;
}

/* Hero */

.hero {
  min-height: min(52rem, calc(100svh - var(--header-height)));
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 7.5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(23, 25, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 26, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 3.25rem 3.25rem;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -20rem;
  right: -12rem;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 65, 70, 0.16), rgba(239, 65, 70, 0) 67%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: -1;
  bottom: -18rem;
  left: -12rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 176, 110, 0.2), transparent 66%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(26rem, 0.98fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 10.2ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.7rem, 7.3vw, 7.25rem);
  font-weight: 880;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.hero-copy h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-bottom: 0;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: #454747;
  font-size: 0.75rem;
  font-weight: 760;
}

.proof-list .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--red);
  stroke-width: 2.3;
}

.diagnostic-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--graphite-deep);
  color: var(--white);
  box-shadow: var(--shadow-dark);
  transform: rotate(1.25deg);
}

.diagnostic-shell::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 2rem 2rem;
  content: "";
  pointer-events: none;
}

.diagnostic-toolbar,
.diagnostic-footer {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.35rem;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.diagnostic-toolbar {
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.diagnostic-footer {
  border-top-style: solid;
  border-top-width: 1px;
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dots i {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #3a4042;
}

.window-dots i:first-child {
  background: var(--red);
}

.diagnostic-stage {
  position: relative;
  z-index: 1;
  min-height: 31rem;
  padding: 1.8rem;
}

.diagnostic-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.diagnostic-copy span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.diagnostic-copy strong {
  max-width: 10ch;
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.scan-visual {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(58%, 17rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.scan-visual::before,
.scan-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.scan-visual::before {
  inset: 18%;
  background: radial-gradient(circle, rgba(239, 65, 70, 0.2), transparent 68%);
  animation: core-glow 2.4s ease-in-out infinite;
}

.scan-visual::after {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.scan-orbit {
  position: absolute;
  border: 1px solid rgba(239, 65, 70, 0.36);
  border-radius: 50%;
}

.scan-orbit::before {
  position: absolute;
  top: -0.25rem;
  left: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
  content: "";
}

.orbit-one {
  inset: 9%;
  animation: orbit-spin 9s linear infinite;
}

.orbit-two {
  inset: 23%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: orbit-spin 13s linear infinite reverse;
}

.scan-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 5.25rem;
  height: 5.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #343a3c, #1d2123);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%) rotate(-1.25deg);
}

.scan-core .icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--red);
  stroke-width: 1.25;
}

.scan-pulse {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  animation: node-pulse 2.2s ease-out infinite;
}

.pulse-one {
  top: 19%;
  right: 16%;
}

.pulse-two {
  bottom: 14%;
  left: 28%;
  animation-delay: 0.7s;
}

.pulse-three {
  top: 53%;
  left: 3%;
  animation-delay: 1.35s;
}

.diagnostic-metrics {
  position: absolute;
  right: 1.8rem;
  bottom: 1.65rem;
  left: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.diagnostic-metrics > div {
  min-width: 0;
}

.diagnostic-metrics span {
  display: block;
  overflow: hidden;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.49);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.diagnostic-metrics i {
  display: block;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.diagnostic-metrics b {
  display: block;
  width: var(--metric);
  height: 100%;
  background: var(--red);
  animation: metric-load 1.1s 450ms var(--ease) both;
}

.diagnostic-footer span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diagnostic-footer span i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(63, 193, 122, 0.1);
}

.diagnostic-footer strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: inherit;
}

.hero-index {
  position: absolute;
  z-index: -1;
  right: -0.03em;
  bottom: -0.25em;
  color: rgba(23, 25, 26, 0.04);
  font-size: clamp(9rem, 22vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
  user-select: none;
}

/* Motion strip */

.signal-strip {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--graphite);
  color: var(--white);
}

.signal-strip > div {
  display: flex;
  width: max-content;
  animation: signal-move 24s linear infinite;
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  font-size: clamp(0.73rem, 1vw, 0.87rem);
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-strip i {
  color: var(--red);
  font-style: normal;
  font-size: 0.45rem;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem) scale(0.98);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes core-glow {
  50% {
    opacity: 0.55;
    transform: scale(1.15);
  }
}

@keyframes node-pulse {
  60%,
  100% {
    box-shadow: 0 0 0 0.8rem rgba(255, 255, 255, 0);
  }
}

@keyframes metric-load {
  from {
    width: 0;
  }
}

@keyframes signal-move {
  to {
    transform: translateX(-50%);
  }
}

/* Services */

.services {
  background: var(--paper-soft);
}

.services::before {
  position: absolute;
  top: 0;
  left: max(1.5rem, calc((100% - var(--container)) / 2));
  width: min(18rem, 25vw);
  height: 1px;
  background: var(--red);
  content: "";
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.15);
  transition:
    background-color 350ms var(--ease),
    color 350ms var(--ease),
    transform 350ms var(--ease);
}

.service-card::before {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 350ms ease,
    transform 500ms var(--ease);
}

.service-card:hover {
  z-index: 2;
  background: var(--graphite);
  color: var(--white);
  transform: translateY(-0.5rem);
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.service-icon {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  color: var(--red);
  transition:
    border-color 300ms ease,
    background-color 300ms ease;
}

.service-card:hover .service-icon {
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--red);
  color: var(--white);
}

.service-icon .icon {
  width: 1.55rem;
  height: 1.55rem;
}

.service-index {
  color: #8c8b86;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.service-card h3 {
  max-width: 12ch;
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.service-card p {
  max-width: 30rem;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  transition: color 300ms ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.63);
}

.service-line {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  left: 2rem;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.service-line::after {
  display: block;
  width: 32%;
  height: 100%;
  background: var(--red);
  content: "";
  transform: translateX(-110%);
  transition: transform 450ms var(--ease);
}

.service-card:hover .service-line {
  background: rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-line::after {
  transform: translateX(0);
}

/* Security */

.security {
  overflow: hidden;
  background: var(--paper-soft);
  padding-top: 0;
}

.security-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5.5vw, 5rem);
  border-radius: var(--radius-xl);
  background: var(--graphite);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.security-panel::before {
  position: absolute;
  top: -14rem;
  left: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.018),
    0 0 0 8rem rgba(255, 255, 255, 0.012);
  content: "";
}

.security-copy {
  position: relative;
  z-index: 2;
}

.security-copy h2 {
  max-width: 9ch;
}

.security-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.security-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin-bottom: 2.15rem;
}

.security-copy li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.79rem;
  font-weight: 700;
}

.security-copy li .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--red);
  stroke-width: 2.4;
}

.security-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 1rem 1rem 2.25rem;
}

.camera-frame {
  position: relative;
  min-height: 29rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 38%),
    #141819;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  transform: perspective(65rem) rotateY(-5deg) rotateX(2deg);
}

.camera-frame::before,
.camera-frame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.camera-frame::before {
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(239, 65, 70, 0.14), transparent);
  animation: camera-scan 5s ease-in-out infinite;
}

.camera-frame::after {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 60% 45%, transparent 0 24%, rgba(0, 0, 0, 0.15) 75%);
}

.camera-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 2.6rem 2.6rem;
}

.camera-target {
  position: absolute;
  z-index: 3;
  width: clamp(3rem, 8vw, 5.5rem);
  aspect-ratio: 1;
  border: 1px solid rgba(239, 65, 70, 0.8);
}

.camera-target::before,
.camera-target::after {
  position: absolute;
  background: var(--red);
  content: "";
}

.camera-target::before {
  top: 50%;
  left: -0.35rem;
  width: 0.7rem;
  height: 1px;
}

.camera-target::after {
  top: -0.35rem;
  left: 50%;
  width: 1px;
  height: 0.7rem;
}

.target-one {
  top: 15%;
  right: 12%;
}

.target-two {
  bottom: 19%;
  left: 14%;
  transform: scale(0.7);
}

.target-three {
  top: 47%;
  left: 47%;
  transform: scale(0.45);
}

.camera-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  transform: translate(-50%, -50%);
}

.camera-mark::before {
  position: absolute;
  inset: -2rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  animation: orbit-spin 25s linear infinite;
}

.camera-mark .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.camera-label,
.camera-time {
  position: absolute;
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.camera-label {
  top: 1.3rem;
  left: 1.35rem;
}

.camera-label::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  content: "";
}

.camera-time {
  right: 1.35rem;
  bottom: 1.3rem;
}

.security-status {
  position: absolute;
  z-index: 5;
  right: -0.25rem;
  bottom: 0.35rem;
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #2b3032;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.security-status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(63, 193, 122, 0.12);
}

@keyframes camera-scan {
  50%,
  100% {
    left: 115%;
  }
}

/* Process */

.process {
  overflow: hidden;
  background: var(--paper-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.process-heading {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
  align-self: start;
}

.process-heading h2 {
  max-width: 8ch;
}

.process-list {
  counter-reset: process;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  transition:
    color 250ms ease,
    background-color 250ms ease,
    border-color 250ms ease,
    transform 250ms var(--ease);
}

.process-step:hover > span {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: rotate(-8deg);
}

.process-step h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.process-step p {
  max-width: 37rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* About */

.about {
  background: var(--paper-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(23rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3.5rem, 9vw, 10rem);
  align-items: center;
}

.portrait-wrap {
  position: relative;
  max-width: 35rem;
}

.portrait-wrap::before {
  position: absolute;
  z-index: 0;
  top: -1.4rem;
  right: -1.4rem;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.portrait-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}

.portrait-badge {
  position: absolute;
  z-index: 3;
  right: -1.1rem;
  bottom: 2.2rem;
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portrait-badge::before {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.portrait-initials {
  position: absolute;
  z-index: 2;
  bottom: 1.55rem;
  left: 1.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.28);
  user-select: none;
}

.portrait-corner {
  position: absolute;
  z-index: 2;
  bottom: -0.9rem;
  left: -0.9rem;
  width: 6rem;
  height: 6rem;
  border-bottom: 3px solid var(--red);
  border-left: 3px solid var(--red);
  border-bottom-left-radius: 1.3rem;
}

.about-copy h2 {
  max-width: 10ch;
}

.owner-role {
  margin-bottom: 1.6rem;
  color: var(--red-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy > p:not(.eyebrow, .owner-role) {
  max-width: 40rem;
  color: var(--ink-soft);
}

.about-copy .about-lead {
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  font-weight: 650;
  line-height: 1.55;
}

.about-copy blockquote {
  position: relative;
  max-width: 34rem;
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--red);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.text-link,
.product-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.text-link .icon,
.product-button .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 220ms var(--ease);
}

.text-link:hover .icon,
.product-button:hover .icon {
  transform: translateX(0.3rem);
}

/* Products */

.products {
  background: var(--paper-soft);
}

.catalog-notice {
  display: flex;
  max-width: 60rem;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(239, 65, 70, 0.18);
  border-radius: 1rem;
  background: rgba(239, 65, 70, 0.055);
  color: #6c3637;
}

.catalog-notice .icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.13rem;
  color: var(--red);
}

.catalog-notice p {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.55;
}

.product-toolbar {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(25, 25, 22, 0.04);
}

.product-search {
  position: relative;
}

.product-search > .icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #6a6b69;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-search input,
.product-sort select {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--paper-soft);
  font-size: 0.85rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.product-search input {
  padding: 0.7rem 1rem 0.7rem 2.9rem;
}

.product-search input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888985;
  opacity: 1;
}

.product-search input:focus,
.product-sort select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(239, 65, 70, 0.1);
}

.product-sort {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.product-sort > label {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.select-wrap {
  position: relative;
  width: 12rem;
}

.product-sort select {
  appearance: none;
  padding: 0.65rem 2.7rem 0.65rem 0.9rem;
  -webkit-appearance: none;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 0.95rem;
  height: 0.95rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-block: 0.8rem;
}

.filter-chip {
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease);
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.result-count {
  margin: 0.8rem 0 1.15rem;
  color: #73746f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 9px 28px rgba(25, 25, 22, 0.045);
  transition:
    border-color 300ms ease,
    box-shadow 300ms var(--ease),
    transform 300ms var(--ease);
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.45rem);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 16.5rem;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  isolation: isolate;
}

.product-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 2rem 2rem;
  content: "";
}

.product-visual::after {
  position: absolute;
  z-index: -1;
  width: 11rem;
  height: 11rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.12;
  transition: transform 500ms var(--ease);
}

.product-card:hover .product-visual::after {
  transform: scale(1.28);
}

.accent-red {
  background: #ef5054;
  color: var(--white);
}

.accent-dark {
  background: #282c2e;
  color: var(--white);
}

.accent-sand {
  background: #d6bd8b;
  color: #2c2923;
}

.accent-blue {
  background: #3d789d;
  color: var(--white);
}

.product-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  opacity: 0.8;
  text-transform: uppercase;
}

.product-art {
  position: relative;
  display: grid;
  width: 6.7rem;
  height: 6.7rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
  transition: transform 400ms var(--ease);
}

.product-card:hover .product-art {
  transform: rotate(-4deg) scale(1.06);
}

.product-art .icon {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.35;
}

.product-code {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  max-width: 70%;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-body {
  padding: 1.4rem;
}

.product-meta {
  display: flex;
  min-height: 1.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-meta span,
.dialog-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--red-soft);
  color: #932b2f;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta strong {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  text-align: right;
}

.product-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.product-card-body > p {
  min-height: 4.6rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.65;
}

.product-button {
  padding: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
}

.empty-products {
  display: grid;
  min-height: 20rem;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.empty-products > .icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.empty-products h3 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.empty-products p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Product dialog */

.product-dialog {
  width: min(62rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(52rem, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.4);
  color: var(--ink);
  overscroll-behavior: contain;
}

.product-dialog[open] {
  animation: dialog-in 280ms var(--ease) both;
}

.product-dialog::backdrop {
  background: rgba(10, 12, 13, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: backdrop-in 220ms ease both;
}

#product-dialog-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
  min-height: 36rem;
}

.dialog-close {
  position: absolute;
  z-index: 10;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(23, 25, 26, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 220ms var(--ease);
}

.dialog-close:hover {
  background: var(--graphite);
  color: var(--white);
  transform: rotate(6deg);
}

.dialog-close .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.dialog-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.dialog-visual::before,
.dialog-visual::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.dialog-visual::before {
  width: 18rem;
  height: 18rem;
  border: 1px solid currentColor;
  opacity: 0.12;
}

.dialog-visual::after {
  width: 26rem;
  height: 26rem;
  border: 1px dashed currentColor;
  opacity: 0.08;
  animation: orbit-spin 40s linear infinite;
}

.dialog-visual > span {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-transform: uppercase;
}

.dialog-visual > .icon {
  width: 6.5rem;
  height: 6.5rem;
  padding: 1.45rem;
  border: 1px solid currentColor;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  stroke-width: 1.25;
}

.dialog-copy {
  align-self: center;
  padding: clamp(3.2rem, 6vw, 5rem);
}

.dialog-copy h2 {
  max-width: 12ch;
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.dialog-copy > p {
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.dialog-copy h3 {
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog-copy ul {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.dialog-copy li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.dialog-copy li .icon {
  width: 1rem;
  height: 1rem;
  color: var(--red);
  stroke-width: 2.5;
}

.dialog-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.dialog-action-row > strong {
  font-size: 0.78rem;
  font-weight: 850;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

/* Location */

.location {
  background: var(--paper);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(21rem, 0.55fr);
  gap: 1.2rem;
  align-items: stretch;
}

.map-card,
.store-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-card {
  display: flex;
  min-height: 39rem;
  flex-direction: column;
}

.map-card iframe {
  width: 100%;
  min-height: 32rem;
  flex: 1;
  border: 0;
  filter: saturate(0.65) contrast(1.05);
}

.map-footer {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
}

.map-footer > span {
  color: #777873;
  font-size: 0.62rem;
}

.map-footer a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 850;
}

.map-footer a .icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 180ms var(--ease);
}

.map-footer a:hover .icon {
  transform: translate(0.15rem, -0.15rem);
}

.store-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--graphite);
  color: var(--white);
}

.store-status {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-status i {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
}

.store-status.is-open i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(63, 193, 122, 0.12);
}

.store-status.is-closed i {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 65, 70, 0.12);
}

.store-address {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.store-address > .icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  color: var(--red);
}

.store-address span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.store-address strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.store-address p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.8rem;
}

.store-hours {
  padding-block: 1.5rem;
}

.store-hours h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-hours h3 .icon {
  width: 1rem;
  height: 1rem;
  color: var(--red);
}

.store-hours ul {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0;
}

.store-hours li {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.store-hours li strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 750;
}

.store-hours li.is-today {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.store-hours li.is-today strong {
  color: var(--red-soft);
}

.store-phone {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  transition:
    background-color 180ms ease,
    transform 180ms var(--ease);
}

.store-phone:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.store-phone .icon {
  width: 1.05rem;
  height: 1.05rem;
}

/* Contact */

.contact {
  overflow: hidden;
  background: var(--paper);
  padding-top: 0;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  overflow: hidden;
  padding: clamp(2rem, 5.5vw, 5rem);
  border-radius: var(--radius-xl);
  background: var(--graphite-deep);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.contact-panel::before {
  position: absolute;
  top: -14rem;
  right: -8rem;
  width: 31rem;
  height: 31rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 65, 70, 0.22), transparent 66%);
  content: "";
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 8ch;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.62);
}

.direct-contact {
  display: grid;
  gap: 0.7rem;
}

.direct-contact > strong {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direct-contact > a {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0;
  color: rgba(255, 255, 255, 0.88);
  transition: color 180ms ease;
}

.direct-contact > a:hover {
  color: var(--red-soft);
}

.direct-contact > a > .icon {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--red);
}

.direct-contact a span {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 750;
}

.direct-contact a small {
  display: block;
  margin-bottom: 0.05rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  align-self: center;
  padding: clamp(1.4rem, 3.2vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-form > label {
  display: block;
  margin-bottom: 0.42rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  outline: 0;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input {
  min-height: 3.35rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
}

.contact-form textarea {
  min-height: 9rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button .icon:last-child {
  margin-left: auto;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.61rem;
  line-height: 1.45;
}

.form-note .icon {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.1rem;
  color: var(--green);
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
  align-self: start;
}

.faq-heading h2 {
  max-width: 8ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  min-height: 5rem;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 760;
  letter-spacing: -0.025em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > i {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 260ms var(--ease);
}

.faq-item summary:hover > i {
  border-color: var(--ink);
}

.faq-item summary .icon {
  width: 1rem;
  height: 1rem;
}

.faq-item[open] summary > i {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-item > p {
  max-width: 43rem;
  margin: -0.25rem 4rem 1.7rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  animation: answer-in 240ms var(--ease) both;
}

@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-0.3rem);
  }
}

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 7rem);
  background: var(--graphite-deep);
  color: var(--white);
}

.site-footer::before {
  position: absolute;
  right: -9rem;
  bottom: -15rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.014),
    0 0 0 8rem rgba(255, 255, 255, 0.01);
  content: "";
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(14rem, 1.5fr) repeat(3, minmax(9rem, 0.7fr));
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.footer-brand > a {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.footer-brand > a strong {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.footer-brand > a i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--red);
}

.footer-brand > p {
  max-width: 18rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.82rem;
}

.footer-column h2 {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
}

.footer-column > a,
.footer-link,
.footer-column > p {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  line-height: 1.65;
}

.footer-column > a,
.footer-link {
  width: fit-content;
  transition: color 180ms ease;
}

.footer-column > a:hover,
.footer-link:hover {
  color: var(--white);
}

.social-link {
  display: inline-flex !important;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
}

.social-link .icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--red);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.63rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom .icon {
  width: 1rem;
  height: 1rem;
}

/* Fixed feedback elements */

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 15px 35px rgba(239, 65, 70, 0.32);
  color: var(--white);
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease,
    transform 250ms var(--ease);
}

.floating-whatsapp::before {
  position: absolute;
  inset: -0.35rem;
  border: 1px solid rgba(239, 65, 70, 0.3);
  border-radius: inherit;
  content: "";
  animation: whatsapp-ring 2.8s ease-out infinite;
}

.floating-whatsapp:hover {
  background: var(--red-dark);
  box-shadow: 0 18px 42px rgba(239, 65, 70, 0.42);
  transform: translateY(-0.25rem) rotate(-4deg);
}

.floating-whatsapp .icon {
  width: 1.65rem;
  height: 1.65rem;
}

.toast-region {
  position: fixed;
  z-index: 9998;
  top: calc(var(--header-height) + 1rem);
  left: 50%;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: var(--shadow-md);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 750;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -1rem);
  transition:
    opacity 240ms ease,
    transform 300ms var(--ease);
}

.toast-region.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Localized data-load fallback */

.fatal-state {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 25, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 26, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 14%, rgba(239, 65, 70, 0.18), transparent 28rem),
    var(--paper);
  background-size: 3rem 3rem, 3rem 3rem, auto, auto;
}

.fatal-state > div {
  position: relative;
  width: min(100%, 36rem);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--graphite);
  box-shadow: var(--shadow-dark);
  color: var(--white);
}

.fatal-state > div::after {
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.fatal-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-bottom: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(239, 65, 70, 0.24);
}

.fatal-icon .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.fatal-state h1 {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.fatal-state p {
  position: relative;
  z-index: 1;
  max-width: 29rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.62);
}

.fatal-state .button {
  position: relative;
  z-index: 1;
}

@keyframes whatsapp-ring {
  65%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal-delay {
  transition-delay: 130ms;
}

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

.metric-components {
  --metric: 82%;
}

.metric-data {
  --metric: 68%;
}

.metric-network {
  --metric: 91%;
}

/* Wide screens */

@media (min-width: 90rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(30rem, 0.92fr);
  }

  .diagnostic-shell {
    max-width: 38rem;
    justify-self: end;
  }
}

/* Compact desktop and tablets */

@media (max-width: 68.75rem) {
  :root {
    --header-height: 5rem;
  }

  .header-shell {
    gap: 1.2rem;
  }

  .primary-nav {
    gap: 1.2rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 2.85rem;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(23rem, 1.02fr);
    gap: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
  }

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

  .security-panel,
  .contact-panel {
    gap: 3rem;
  }

  .location-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(19.5rem, 0.8fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 2.5rem;
  }
}

/* Mobile navigation breakpoint */

@media (max-width: 61.25rem) {
  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    visibility: hidden;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
    overflow-y: auto;
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    background:
      radial-gradient(circle at 90% 12%, rgba(239, 65, 70, 0.14), transparent 28rem),
      var(--paper-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 220ms ease,
      transform 300ms var(--ease),
      visibility 0s linear 300ms;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links {
    display: grid;
    align-content: start;
    border-top: 1px solid var(--line);
  }

  .nav-link {
    display: flex;
    min-height: 4.2rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .nav-link::after {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after {
    transform: translateY(-50%) scale(1);
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
  }

  .header-actions .language-picker {
    width: 100%;
  }

  .language-button {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .language-button .language-chevron {
    margin-left: auto;
  }

  .language-options {
    right: auto;
    bottom: calc(100% + 0.6rem);
    left: 0;
    top: auto;
    width: min(22rem, calc(100vw - 3rem));
    max-height: 18rem;
    overflow: auto;
  }

  .header-cta {
    width: auto;
    min-width: 3rem;
    padding-inline: 1rem;
    background: var(--red);
  }

  .header-cta span {
    display: inline;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(4rem, 10vw, 6.8rem);
  }

  .diagnostic-shell {
    width: min(100%, 42rem);
    justify-self: end;
  }

  .security-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .security-copy,
  .contact-copy {
    max-width: 44rem;
  }

  .security-copy h2,
  .contact-copy h2 {
    max-width: 11ch;
  }

  .security-visual {
    width: min(100%, 42rem);
    justify-self: end;
  }

  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-heading,
  .faq-heading {
    position: static;
  }

  .process-heading h2,
  .faq-heading h2 {
    max-width: 12ch;
  }

  .about-grid {
    grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
  }

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

  .store-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }

  .store-status,
  .store-phone {
    align-self: start;
  }

  .store-status {
    justify-self: start;
  }

  .store-address {
    grid-row: span 2;
  }

  .store-hours {
    padding-top: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Small tablets */

@media (max-width: 47.5rem) {
  .container,
  .header-shell {
    width: min(calc(100% - 2rem), var(--container));
  }

  .section {
    padding-block: clamp(4.5rem, 15vw, 6.5rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .section-heading h2,
  .process-heading h2,
  .faq-heading h2,
  .about-copy h2,
  .security-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .hero {
    padding-top: 4.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 14vw, 5.3rem);
  }

  .diagnostic-stage {
    min-height: 27rem;
  }

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

  .service-card {
    min-height: 17rem;
  }

  .service-card-top {
    margin-bottom: 3.5rem;
  }

  .security-panel,
  .contact-panel {
    width: calc(100% - 2rem);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .security-copy,
  .contact-copy {
    padding: 1rem 0.25rem 0;
  }

  .camera-frame {
    min-height: 23rem;
  }

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

  .portrait-wrap {
    width: min(calc(100% - 1rem), 31rem);
  }

  .portrait-badge {
    right: -0.6rem;
  }

  .product-toolbar {
    grid-template-columns: 1fr;
  }

  .product-sort {
    justify-content: space-between;
  }

  .select-wrap {
    width: min(14rem, 65%);
  }

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

  .product-card {
    display: grid;
    grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  }

  .product-visual {
    min-height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 0;
  }

  .product-card-body > p {
    min-height: auto;
  }

  #product-dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-visual {
    min-height: 15rem;
  }

  .dialog-visual > .icon {
    width: 5.2rem;
    height: 5.2rem;
  }

  .dialog-copy {
    padding: 2rem 1.5rem 2.5rem;
  }

  .dialog-close {
    position: fixed;
    top: max(1.5rem, env(safe-area-inset-top));
    right: max(1.5rem, env(safe-area-inset-right));
  }

  .map-card {
    min-height: 32rem;
  }

  .map-card iframe {
    min-height: 26rem;
  }

  .store-card {
    display: block;
  }

  .store-address {
    margin-bottom: 1.4rem;
  }

  .store-phone {
    margin-top: 0.5rem;
  }

  .contact-form {
    padding: 1.3rem;
  }
}

/* Phones, including 390px */

@media (max-width: 35rem) {
  :root {
    --header-height: 4.6rem;
    --radius-xl: 2rem;
  }

  .header-shell,
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand {
    width: 8.4rem;
  }

  .nav-toggle {
    width: 2.85rem;
    height: 2.85rem;
  }

  .primary-nav {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .language-options {
    width: calc(100vw - 1.5rem);
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .header-cta {
    min-height: 3.25rem;
  }

  .hero {
    padding-top: 3.6rem;
    background-size: 2.5rem 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 15.3vw, 4.45rem);
    line-height: 0.9;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-list {
    display: grid;
    gap: 0.55rem;
  }

  .diagnostic-shell {
    width: calc(100% - 0.2rem);
    border-radius: 1.35rem;
    transform: rotate(0.5deg);
  }

  .diagnostic-stage {
    min-height: 23rem;
    padding: 1.25rem;
  }

  .diagnostic-toolbar,
  .diagnostic-footer {
    padding-inline: 1rem;
    font-size: 0.52rem;
  }

  .diagnostic-copy strong {
    font-size: 1.45rem;
  }

  .scan-visual {
    width: 13rem;
  }

  .scan-core {
    width: 4.4rem;
    height: 4.4rem;
  }

  .diagnostic-metrics {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    gap: 0.65rem;
  }

  .diagnostic-footer strong {
    max-width: 55%;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .signal-strip span {
    gap: 1.3rem;
    padding-inline: 1.3rem;
  }

  .security-panel,
  .contact-panel {
    width: calc(100% - 1.5rem);
    padding: 1.1rem;
  }

  .security-copy,
  .contact-copy {
    padding: 1rem 0.35rem 0;
  }

  .security-copy ul {
    grid-template-columns: 1fr;
  }

  .security-copy .button {
    width: 100%;
  }

  .security-visual {
    padding: 0.25rem 0.25rem 1.8rem;
  }

  .camera-frame {
    min-height: 19rem;
    transform: none;
  }

  .camera-mark {
    width: 5rem;
    height: 5rem;
  }

  .camera-mark .icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .security-status {
    right: -0.25rem;
    font-size: 0.6rem;
  }

  .process-step {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .process-step > span {
    width: 3rem;
    height: 3rem;
  }

  .portrait-wrap {
    width: calc(100% - 0.65rem);
  }

  .portrait-wrap::before {
    top: -0.65rem;
    right: -0.65rem;
  }

  .portrait-badge {
    right: -0.4rem;
    bottom: 1rem;
  }

  .portrait-initials {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .about-copy blockquote {
    font-size: 1.1rem;
  }

  .product-toolbar {
    padding: 0.75rem;
  }

  .product-sort {
    display: grid;
  }

  .select-wrap {
    width: 100%;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .product-card {
    display: block;
  }

  .product-visual {
    min-height: 14rem;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .product-card-body {
    padding: 1.25rem;
  }

  .product-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 1.35rem;
  }

  .dialog-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-action-row .button {
    width: 100%;
  }

  .map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .map-footer a {
    min-height: 2.2rem;
  }

  .store-card {
    padding: 1.3rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .faq-item summary {
    grid-template-columns: minmax(0, 1fr) 2.4rem;
    font-size: 1rem;
  }

  .faq-item > p {
    margin-right: 0;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .footer-bottom a {
    min-height: 2rem;
  }

  .floating-whatsapp {
    width: 3.35rem;
    height: 3.35rem;
  }

  .toast-region {
    width: calc(100% - 1.5rem);
  }
}

/* Accessibility preferences */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

  .signal-strip > div {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .signal-strip span:nth-child(n + 6) {
    display: none;
  }

  .floating-whatsapp::before {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #303131;
    --line: rgba(0, 0, 0, 0.3);
    --line-strong: rgba(0, 0, 0, 0.55);
  }

  .button,
  .filter-chip,
  .product-card,
  .map-card,
  .store-card,
  .language-button,
  .contact-form,
  .product-toolbar {
    border-width: 2px;
  }

  .eyebrow-light,
  .security-copy > p:not(.eyebrow),
  .contact-copy > p:not(.eyebrow),
  .footer-column > a,
  .footer-link {
    color: rgba(255, 255, 255, 0.82);
  }
}

@media (forced-colors: active) {
  .button,
  .service-icon,
  .filter-chip,
  .floating-whatsapp,
  .language-button,
  .nav-toggle,
  .store-status,
  .product-art,
  .scan-core {
    forced-color-adjust: none;
  }

  .button-primary,
  .floating-whatsapp,
  .filter-chip.is-active {
    background: ButtonText;
    color: ButtonFace;
  }
}
