:root {
  --color-primary: #1a6aaa;
  --color-primary-light: #2a8acf;
  --color-primary-dark: #145080;
  --color-primary-tint: rgba(26, 106, 170, 0.08);
  --color-bg: #f5f7fa;
  --color-bg-dark: #0f1b2d;
  --color-bg-darker: #091320;
  --color-surface: #ffffff;
  --color-surface-2: #fafbfd;
  --color-border: #e4e8ed;
  --color-border-strong: #cdd4dc;
  --color-text: #1a2332;
  --color-text-secondary: #52606d;
  --color-text-light: #8793a1;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-dim: #b5c2d0;
  --color-focus: #ffb300;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Georgia', serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-body: var(--font-sans);
  --font-heading: var(--font-sans);

  --fs-xs: 0.78rem;
  --fs-sm: 0.92rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.35rem;
  --fs-2xl: clamp(1.5rem, 2.4vw, 2rem);
  --fs-3xl: clamp(1.85rem, 3.2vw, 2.5rem);
  --fs-4xl: clamp(2.1rem, 4.8vw, 3.4rem);
  --fs-5xl: clamp(2.5rem, 6vw, 4rem);

  --max-width: 1120px;
  --max-width-narrow: 880px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 4px 12px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, 0.06), 0 16px 40px rgba(15, 27, 45, 0.12);
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 360ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-light); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-weight: 700; letter-spacing: -0.035em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--color-text-on-dark);
  outline: 3px solid var(--color-focus);
  outline-offset: 0;
}

/* Mono micro-label */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 500;
}
.mono-label.on-dark { color: #a8c4e0; }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.has-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 0 rgba(15, 27, 45, 0.02);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.brand img { height: 44px; width: auto; }
.brand-name {
  font-size: 1.08rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { color: var(--color-primary); background: var(--color-primary-tint); }
.nav-links a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}
.nav-links a.nav-cta {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: 9px 18px;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: var(--color-primary-light); color: var(--color-text-on-dark); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--color-text-on-dark);
  background:
    linear-gradient(135deg, rgba(9, 19, 32, 0.78) 0%, rgba(20, 80, 128, 0.55) 100%),
    url('../assets/images/hero-bg.jpg') center/cover no-repeat,
    var(--color-bg-dark);
  padding: 96px 0 104px;
  overflow: hidden;
  isolation: isolate;
}
/* Subtle grid lines for atmosphere */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8d5ff;
}
.hero .hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.hero .hero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.hero h1 {
  font-size: var(--fs-5xl);
  color: var(--color-text-on-dark);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #e8f4ff;
  padding-right: 0.04em;
}
.hero h2.sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 500;
  color: #d4e6f5;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #dde8f3;
  max-width: 620px;
  margin: 0 auto 32px;
}
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Reveal animation for hero children */
.hero-inner > * {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.1), 0 4px 14px rgba(26, 106, 170, 0.25);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  color: var(--color-text-on-dark);
  box-shadow: 0 2px 4px rgba(15, 27, 45, 0.12), 0 8px 22px rgba(26, 106, 170, 0.32);
}
.btn-primary:active { background: var(--color-primary-dark); }
.btn-secondary {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-on-dark);
  border-color: var(--color-text-on-dark);
}
.btn-outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-text-on-dark); }

/* -------- Sections -------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--color-surface); }
section.block.dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}
section.block.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
section.block.dark > .container { position: relative; z-index: 1; }
section.block.dark h2, section.block.dark h3 { color: var(--color-text-on-dark); }
section.block.dark p { color: var(--color-text-on-dark-dim); }

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-header .mono-label { margin-bottom: 14px; display: block; }
.section-header h2 {
  font-size: var(--fs-3xl);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-header h2 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--fs-lg);
  line-height: 1.55;
}
section.block.dark .section-header p { color: var(--color-text-on-dark-dim); }

/* -------- Cards grid -------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.card:hover::before { opacity: 1; }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 10px;
  font-weight: 600;
}
.card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
  line-height: 1.55;
}
.card a.more {
  font-weight: 600;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  margin-top: auto;
}
.card a.more:hover { gap: 8px; }

/* -------- Product block -------- */
.product {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.product .media {
  position: relative;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 120, 40, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, #1a0d2e, #2a1145);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.product .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}
.product .media img {
  max-width: 100%;
  width: 220px;
  filter: drop-shadow(0 0 36px rgba(255, 120, 40, 0.55));
  position: relative;
  z-index: 1;
}
.product .tag {
  display: inline-block;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.product h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.product p { color: var(--color-text-secondary); margin-bottom: 18px; }
.feature-list {
  list-style: none;
  margin: 18px 0 26px;
}
.feature-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 2px;
  background: var(--color-primary);
}

/* -------- Trust / why -------- */
.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
}
.why-list li {
  text-align: center;
  padding: 20px;
}
.why-list .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.why-list h3 {
  font-size: var(--fs-lg);
  margin-bottom: 8px;
  color: var(--color-text-on-dark);
  font-weight: 600;
}
.why-list p { font-size: var(--fs-sm); color: var(--color-text-on-dark-dim); }

/* -------- Page header (inner pages) -------- */
.page-header {
  background:
    linear-gradient(180deg, rgba(8, 18, 32, 0.88) 0%, rgba(15, 55, 100, 0.78) 100%),
    url('../assets/images/hero-bg.jpg') center 60%/cover no-repeat,
    var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 64px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 {
  color: var(--color-text-on-dark);
  font-size: var(--fs-4xl);
  margin-bottom: 12px;
  font-weight: 700;
}
.page-header h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.page-header p {
  color: #d4e6f5;
  font-size: var(--fs-lg);
  max-width: 640px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a8c4e0;
  margin-bottom: 18px;
}
.breadcrumb ol { list-style: none; display: inline-flex; gap: 10px; align-items: center; }
.breadcrumb a { color: #a8c4e0; }
.breadcrumb a:hover { color: var(--color-text-on-dark); }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.5;
}
.breadcrumb [aria-current="page"] { color: var(--color-text-on-dark); }

/* -------- Service detail rows -------- */
.service-detail {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .icon {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail .icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-detail h3 { font-size: 1.35rem; margin-bottom: 10px; font-weight: 600; }
.service-detail p { color: var(--color-text-secondary); margin-bottom: 10px; line-height: 1.65; }

/* -------- FAQ -------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.faq details[open] summary { color: var(--color-primary); }
.faq summary {
  font-weight: 600;
  font-size: var(--fs-lg);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* -------- Contact -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info { list-style: none; }
.contact-info li { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.contact-info .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-info .value { font-size: var(--fs-lg); color: var(--color-text); }

form.contact-form { display: grid; gap: 16px; }
form.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: var(--color-text-light); }
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 106, 170, 0.15);
}
form.contact-form input[aria-invalid="true"],
form.contact-form textarea[aria-invalid="true"] {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
.form-status {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  min-height: 1.4em;
}
.form-status.is-error { color: #d14343; }
.form-status.is-success { color: #1a8a4a; }

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------- Footer -------- */
.site-footer {
  background: var(--color-bg-darker);
  color: var(--color-text-on-dark);
  padding: 64px 0 28px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-about .brand { color: var(--color-text-on-dark); }
.footer-about .brand-name { color: var(--color-text-on-dark); }
.footer-about p {
  color: var(--color-text-on-dark-dim);
  font-size: var(--fs-sm);
  max-width: 320px;
  margin-top: 14px;
  line-height: 1.55;
}
.footer-grid h4 {
  color: var(--color-text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a {
  color: var(--color-text-on-dark-dim);
  font-size: var(--fs-sm);
  transition: color var(--transition);
}
.footer-grid a:hover { color: var(--color-text-on-dark); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-dark);
  transition: background var(--transition), transform var(--transition);
}
.socials a:hover { background: var(--color-primary); transform: translateY(-1px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #6a7786;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* -------- Utilities -------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .product { grid-template-columns: 280px 1fr; gap: 40px; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px 22px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    gap: 2px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 14px; width: 100%; font-size: var(--fs-base); }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  section.block { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .hero { min-height: 520px; padding: 72px 0 80px; }
  .product { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .product .media { max-width: 280px; margin: 0 auto; aspect-ratio: 1; }
  .product .media img { width: 180px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: 48px 0 52px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-name { display: none; }
  .btn { width: 100%; justify-content: center; }
  .btn-group .btn { width: auto; flex: 1; min-width: 150px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-inner > * { opacity: 1; transform: none; animation: none; }
}

/* High contrast */
@media (prefers-contrast: more) {
  .card { border-color: var(--color-border-strong); }
  .nav-links a { color: var(--color-text); }
}

/* Print */
@media print {
  .site-header, .site-footer, .menu-toggle, .btn { display: none; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; color: #000; min-height: 0; padding: 32px 0; }
  .hero h1, .hero h2.sub, .hero p.lead { color: #000; }
}

/* ── Prose (legal / long-form content pages) ────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: 48px;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  font-family: var(--font-mono);
}
.prose h2 {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-top: 48px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.02em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p {
  color: var(--color-text-secondary);
  line-height: 1.78;
  margin-bottom: 14px;
  font-size: var(--fs-lg);
}
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--color-primary-light); }

/* ── Cookie consent banner ──────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.45);
  animation: cookieSlideUp 0.3s ease;
}
#cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-on-dark-dim);
  line-height: 1.6;
}
#cookie-banner p a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-sm {
  padding: 8px 18px;
  font-size: var(--fs-sm);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-text-on-dark-dim);
}
.btn-ghost:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  background: rgba(255,255,255,0.05);
}
.cookie-banner--hiding {
  animation: cookieSlideDown 0.3s ease forwards;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
