@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg-0: #11110f;
  --bg-1: #161614;
  --bg-2: #1d1c19;
  --panel: rgba(24, 23, 20, 0.72);
  --panel-strong: rgba(30, 28, 24, 0.88);
  --text-1: #ece6da;
  --text-2: #c7beae;
  --text-3: #978d7c;
  --bg: var(--bg-0);
  --surface: var(--panel);
  --surface-soft: rgba(30, 28, 24, 0.78);
  --surface-strong: var(--panel-strong);
  --ink: var(--text-1);
  --ink-rgb: 236, 230, 218;
  --muted: var(--text-3);
  --muted-rgb: 151, 141, 124;
  --line: rgba(214, 188, 140, 0.14);
  --line-strong: rgba(214, 188, 140, 0.24);
  --accent: #d7b36a;
  --accent-rgb: 215, 179, 106;
  --accent-soft: #b79358;
  --glow: rgba(215, 179, 106, 0.16);
  --glow-strong: rgba(215, 179, 106, 0.28);
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  --radius: 18px;
  --radius-sm: 14px;
  --heading-font: "Rajdhani", "Arial Narrow", "Bahnschrift", sans-serif;
  --body-font: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--body-font);
  font-size: 15px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 10%, rgba(215, 179, 106, 0.1), transparent 24rem),
    radial-gradient(circle at 18% 0%, rgba(255, 236, 190, 0.05), transparent 18rem),
    linear-gradient(180deg, #151412 0%, #11110f 38%, #0f0f0e 100%);
  color: var(--text-2);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(68rem 42rem at 50% 50%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.32) 100%);
  opacity: 1;
}

body::after {
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: soft-light;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: #d8c5a1;
  text-decoration: underline;
  text-decoration-color: rgba(216, 197, 161, 0.28);
  text-underline-offset: 0.16em;
}

a:hover {
  color: #efd7ab;
  text-decoration-color: rgba(239, 215, 171, 0.56);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p,
ul,
ol {
  margin-top: 0;
}

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

strong {
  color: var(--ink);
}

code,
pre,
kbd,
samp {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

[hidden] {
  display: none !important;
}

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

.muted {
  color: rgba(var(--muted-rgb), 0.9);
}

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

.page {
  padding: 0 0 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 17, 15, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
}

.brand-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.9);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.82);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  text-decoration: none;
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--ink);
  text-decoration: none;
}

.primary-nav .cta {
  color: #171411;
  background: linear-gradient(180deg, #dfbd79 0%, #be9858 100%);
  border: 1px solid rgba(255, 231, 190, 0.18);
  box-shadow:
    0 8px 24px rgba(191, 152, 88, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.primary-nav .cta:hover {
  background: linear-gradient(180deg, #e5c788 0%, #c79d5b 100%);
  border-color: rgba(255, 231, 190, 0.24);
  color: #171411;
  box-shadow:
    0 10px 28px rgba(191, 152, 88, 0.26),
    0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  color: #171411;
  background: linear-gradient(180deg, #dfbd79 0%, #be9858 100%);
  border: 1px solid rgba(255, 231, 190, 0.18);
  box-shadow:
    0 8px 24px rgba(191, 152, 88, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, #e5c788 0%, #c79d5b 100%);
  border-color: rgba(255, 231, 190, 0.24);
  color: #171411;
  box-shadow:
    0 10px 28px rgba(191, 152, 88, 0.26),
    0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text-2);
}

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

.hero,
.overview,
.services,
.capabilities,
.operating-area,
.page-hero,
.page-content {
  position: relative;
  padding: clamp(42px, 6vw, 84px) 0 clamp(18px, 2vw, 26px);
}

.overview,
.services,
.capabilities,
.operating-area,
.page-hero,
.page-content {
  border-top: 1px solid rgba(var(--accent-rgb), 0.08);
}

.overview::before,
.services::before,
.capabilities::before,
.operating-area::before,
.page-hero::before,
.page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1200px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.14), transparent);
  pointer-events: none;
}

.hero {
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8rem 0 auto auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(233, 197, 120, 0.2) 0%, rgba(233, 197, 120, 0.1) 20%, rgba(233, 197, 120, 0.04) 38%, transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  background: linear-gradient(180deg, rgba(30, 28, 24, 0.78), rgba(22, 21, 18, 0.72));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-logo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(34, 32, 28, 0.94) 0%, rgba(22, 21, 18, 0.9) 100%);
  border-right: 1px solid var(--line);
}

.hero-brand-lockup {
  display: grid;
  gap: 14px;
}

.hero-logo img {
  width: min(100%, 170px);
}

.hero-brand-copy {
  display: grid;
  gap: 8px;
}

.hero-brand-name,
.hero-brand-tagline,
.hero-brand-note {
  margin: 0;
}

.hero-brand-name {
  max-width: 10ch;
  color: rgba(var(--ink-rgb), 0.96);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-brand-tagline {
  color: rgba(var(--accent-rgb), 0.9);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brand-note {
  max-width: 19ch;
  color: rgba(var(--ink-rgb), 0.62);
  font-size: 13px;
}

.hero-map-fade {
  position: relative;
  flex: 1 1 auto;
  min-height: 156px;
  margin: 4px -8px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 72% 18%, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.04) 24%, rgba(var(--accent-rgb), 0) 52%),
    linear-gradient(180deg, rgba(30, 28, 24, 0.82) 0%, rgba(22, 21, 18, 0.76) 100%);
}

.hero-map-fade img {
  position: absolute;
  top: -6%;
  left: -10%;
  width: 132%;
  height: 132%;
  object-fit: cover;
  object-position: 34% 50%;
  filter: grayscale(1) sepia(0.25) saturate(0.4) contrast(0.94) brightness(0.78) blur(0);
  opacity: 0.56;
  pointer-events: none;
  user-select: none;
}

.hero-map-fade::before,
.hero-map-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-map-fade::before {
  background:
    radial-gradient(circle at center, rgba(17, 17, 15, 0) 10%, rgba(17, 17, 15, 0.08) 58%, rgba(17, 17, 15, 0.42) 100%);
}

.hero-map-fade::after {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.3) 0%, rgba(17, 17, 15, 0) 18%, rgba(17, 17, 15, 0) 82%, rgba(17, 17, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(17, 17, 15, 0.24) 0%, rgba(17, 17, 15, 0.02) 24%, rgba(17, 17, 15, 0.18) 100%);
}

.hero-aside-copy {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--ink-rgb), 0.1);
}

.hero-aside-kicker,
.section-kicker,
.hero-note,
.fineprint,
.footer-inner {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.hero-aside-kicker,
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-aside-kicker {
  margin: 0 0 12px;
  color: rgba(var(--muted-rgb), 0.86);
}

.hero-aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(var(--ink-rgb), 0.72);
  font-size: 14px;
}

.hero-aside-list li {
  position: relative;
  padding-left: 18px;
}

.hero-aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-content {
  padding: 34px 38px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
}

.hero-content h1,
.page-title {
  font-size: clamp(32px, 4vw, 50px);
  max-width: 16ch;
}

.home-hero-title {
  font-size: clamp(28px, 3.2vw, 38px);
  max-width: 23ch;
}

.hero-lead-in {
  display: block;
  margin-bottom: 8px;
  color: rgba(var(--accent-rgb), 0.88);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-tagline {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: rgba(var(--ink-rgb), 0.86);
}

.hero-sub,
.overview-lead,
.page-intro,
.page-content p,
.page-content li,
.operating-area p,
.overview p:not(.section-kicker) {
  color: rgba(var(--ink-rgb), 0.74);
}

.hero-sub {
  margin: 0 0 14px;
  max-width: 74ch;
  font-size: 15px;
}

.hero-actions,
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 26px 0 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.72);
}

.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-note,
.fineprint {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.9);
}

.page-hero .container {
  display: grid;
  gap: 8px;
}

.page-title {
  max-width: 18ch;
}

.page-intro {
  margin: 0;
  max-width: 70ch;
  font-size: 16px;
}

.section-title {
  margin: 0 0 14px;
  max-width: none;
  color: rgba(var(--ink-rgb), 0.97);
  font-size: clamp(18px, 2vw, 25px);
  text-wrap: balance;
}

.services-head {
  margin-bottom: 12px;
}

.overview-grid,
.services-grid,
.capabilities-grid,
.process-grid,
.grid-2 {
  display: grid;
  gap: 18px;
}

.overview-grid,
.capabilities-grid,
.process-grid,
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.overview-card,
.service-card,
.cap-card,
.process-card,
.panel,
details.accordion,
.page-hero .container,
.consultation-note {
  background: linear-gradient(180deg, rgba(30, 28, 24, 0.78), rgba(22, 21, 18, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
  backdrop-filter: blur(10px);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.overview-card,
.service-card,
.cap-card,
.process-card,
.panel,
.page-hero .container,
.consultation-note {
  padding: 22px;
}

.overview-card:hover,
.service-card:hover,
.cap-card:hover,
.process-card:hover,
.panel:hover,
details.accordion:hover {
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(var(--accent-rgb), 0.06);
  transform: translateY(-1px);
}

.overview-card h3,
.service-card h2,
.cap-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.overview-card ul,
.service-card ul,
.cap-card ul,
.accordion-body ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(var(--ink-rgb), 0.78);
}

.overview-card li,
.service-card li,
.cap-card li,
.accordion-body li {
  margin: 6px 0;
}

.overview-card li::marker,
.service-card li::marker,
.cap-card li::marker,
.accordion-body li::marker {
  color: var(--accent);
}

.process-card {
  position: relative;
  padding-top: 68px;
}

.process-step {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  text-decoration: none;
}

.cta-inline {
  margin-top: 20px;
}

.page-content {
  color: rgba(var(--ink-rgb), 0.76);
}

.page-content h2 {
  margin: 26px 0 12px;
  font-size: 22px;
}

.page-content h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.page-content ul,
.page-content ol {
  padding-left: 20px;
}

details.accordion + details.accordion {
  margin-top: 14px;
}

details.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 800;
  color: var(--ink);
}

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

details.accordion summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: rgba(var(--ink-rgb), 0.72);
  flex: 0 0 auto;
}

details.accordion[open] summary::after {
  content: "−";
}

.accordion-body {
  padding: 0 22px 22px;
}

.accordion-body p:last-child,
.accordion-body ul:last-child {
  margin-bottom: 0;
}

.panel {
  padding: 20px;
}

.contact {
  position: relative;
  padding: 40px 0;
  background: var(--bg-0);
}

.contact > .container {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.contact > .container::before,
.contact > .container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact > .container::before {
  background: url("/assets/MAP.png") center center / cover no-repeat;
  opacity: 0.34;
}

.contact > .container::after {
  background:
    radial-gradient(82% 120% at 50% 54%, rgba(15, 18, 22, 0.14) 0%, rgba(15, 18, 22, 0.28) 34%, rgba(15, 18, 22, 0.54) 62%, rgba(15, 18, 22, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 18, 22, 0.78) 0%, rgba(15, 18, 22, 0.42) 20%, rgba(15, 18, 22, 0.18) 50%, rgba(15, 18, 22, 0.42) 80%, rgba(15, 18, 22, 0.78) 100%);
}

.contact > .container > * {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.contact h2,
.contact h3,
.contact p,
.contact a {
  color: var(--text-1);
}

.contact h2,
.consultation-note h3 {
  margin-bottom: 12px;
}

.contact strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(236, 230, 218, 0.62);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact p,
.consultation-note p {
  margin-bottom: 14px;
  color: var(--text-2);
}

.contact a:hover {
  color: #efd7ab;
}

.consultation-note {
  background: linear-gradient(180deg, rgba(30, 28, 24, 0.82), rgba(22, 21, 18, 0.74));
  border-color: var(--line);
  box-shadow: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f0f0e;
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--text-1);
  text-decoration: none;
}

.footer-inner a:hover {
  color: #efd7ab;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(17, 17, 15, 0.82);
  z-index: 4;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(var(--muted-rgb), 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

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

.loading-text {
  font-weight: 700;
  color: var(--ink);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cal-title,
.slots-title {
  font-weight: 800;
  color: var(--ink);
}

.cal-controls {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.icon-btn:hover {
  background: var(--surface-soft);
}

.weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekdays {
  margin-bottom: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.9);
}

.day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  user-select: none;
}

.day.avail {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.28);
  cursor: pointer;
  font-weight: 700;
}

.day.avail:hover {
  background: rgba(var(--accent-rgb), 0.2);
}

.day.full,
.day.disabled {
  color: rgba(var(--muted-rgb), 0.6);
  background: var(--surface-soft);
}

.day.selected {
  border-color: rgba(var(--accent-rgb), 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.18),
    0 0 0 3px rgba(var(--accent-rgb), 0.08);
  outline: none;
}

.slots {
  position: relative;
  margin-top: 18px;
}

.slots-list {
  display: grid;
  gap: 8px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.slot.available {
  border-color: rgba(var(--accent-rgb), 0.26);
  background: rgba(var(--accent-rgb), 0.06);
  cursor: pointer;
}

.slot.available:hover {
  background: rgba(var(--accent-rgb), 0.1);
}

.slot.unavailable {
  opacity: 0.58;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: rgba(var(--ink-rgb), 0.86);
}

.form-grid input:not([type="checkbox"]):not([type="radio"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.form-grid input:not([type="checkbox"]):not([type="radio"]):focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(var(--muted-rgb), 0.78);
}

.form-grid input.disabled {
  background: var(--surface-soft);
  color: rgba(var(--muted-rgb), 0.8);
}

.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.notice {
  margin-top: 10px;
  color: rgba(var(--muted-rgb), 0.94);
  font-size: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.62);
  z-index: 90;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 23px;
}

.modal-card {
  width: min(650px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 28px 60px rgba(var(--ink-rgb), 0.2);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.modal-title {
  font-size: 24px;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.modal-close:hover {
  background: var(--surface-soft);
}

.confirm-body {
  padding: 22px 18px 18px;
}

.confirm-lead {
  font-size: 16px;
  color: rgba(var(--ink-rgb), 0.86);
}

.confirm-details {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.confirm-item {
  margin: 0 0 12px;
}

.confirm-item:last-child {
  margin-bottom: 0;
}

.confirm-value,
.confirm-note {
  color: rgba(var(--ink-rgb), 0.74);
}

.confirm-ok {
  width: 100%;
}

@media (max-width: 1080px) {
  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
  }

  .site-header.nav-open .primary-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(340px, calc(100% - 40px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(22, 21, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .primary-nav a {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-brand-name,
  .hero-brand-note {
    max-width: none;
  }

  .hero-map-fade {
    min-height: 136px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-content {
    padding: 28px;
  }

  .hero-content h1,
  .page-title,
  .home-hero-title {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .header-inner {
    gap: 12px;
  }

  .hero-logo,
  .hero-content,
  .overview-card,
  .service-card,
  .cap-card,
  .process-card,
  .panel,
  .consultation-note,
  .accordion-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content h1,
  .page-title {
    font-size: clamp(28px, 9vw, 38px);
  }

  .home-hero-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-brand-name {
    font-size: clamp(22px, 8vw, 28px);
  }

  .hero-map-fade {
    min-height: 112px;
  }

  .button {
    width: 100%;
  }

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

  .footer-inner {
    justify-content: flex-start;
  }

  .contact > .container {
    padding: 20px;
  }

}
