/* ==========================================================================
   GCS — Greenzer for Contracting (جرينزر للمقاولات)
   Stylesheet — design system: "site plan / survey drawing" visual language
   ========================================================================== */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* --- Brand constant (same in both themes) --- */
  --steel: #2c5c96;        /* primary accent — steel/cobalt blue */
  --steel-deep: #1c3f6e;   /* text-safe darker blue */
  --rust: #a8582f;         /* secondary accent — oxidised rebar / brick, used sparingly */

  /* --- Light theme (default / un-stamped root) --- */
  --bg: #e8e4db;                 /* poured-concrete grey, warm */
  --bg-raised: #f7f5f0;
  --surface: #ddd7c8;
  --surface-2: #d1cab6;
  --line: #c6bda3;
  --line-strong: #a3987a;
  --text: #211e17;
  --text-mute: #59543f;
  --text-faint: #8a8368;
  --on-steel: #f8f7f3;
  --on-rust: #f8f3ee;

  --shadow: 0 1px 2px rgba(30, 24, 8, 0.07), 0 10px 26px -14px rgba(30, 24, 8, 0.22);

  --radius-s: 3px;
  --radius-m: 6px;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171a;
    --bg-raised: #1b1f24;
    --surface: #1b1f24;
    --surface-2: #232830;
    --line: #333941;
    --line-strong: #474e58;
    --text: #ece9e0;
    --text-mute: #a5a89f;
    --text-faint: #6c716c;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #14171a;
  --bg-raised: #1b1f24;
  --surface: #1b1f24;
  --surface-2: #232830;
  --line: #333941;
  --line-strong: #474e58;
  --text: #ece9e0;
  --text-mute: #a5a89f;
  --text-faint: #6c716c;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 14px 34px -18px rgba(0,0,0,.6);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
  overflow-x: hidden;
}
html[dir="rtl"] body, html[dir="rtl"] input, html[dir="rtl"] textarea,
html[dir="rtl"] select, html[dir="rtl"] button { font-family: 'IBM Plex Sans Arabic', Tahoma, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }
::selection { background: var(--steel); color: var(--on-steel); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ==========================================================================
   Typography
   ========================================================================== */
.display {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.0;
  text-wrap: balance;
}
html[dir="rtl"] .display { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; letter-spacing: 0; line-height: 1.28; font-weight: 700; }

.eyebrow {
  font-family: 'Roboto Mono', monospace;
  font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--steel-deep);
}
:root[data-theme="dark"] .eyebrow { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: #6f9fd8; } }
html[dir="rtl"] .eyebrow { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: .02em; font-weight: 700; }

.mono { font-family: 'Roboto Mono', monospace; font-variant-numeric: tabular-nums; }

.section-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-kicker .num {
  font-family: 'Roboto Mono', monospace; font-size: .7rem; color: var(--text-faint);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 2px 7px;
}

.h1 { font-size: clamp(2.2rem, 4.2vw + 1rem, 4.1rem); }
.h2 { font-size: clamp(1.65rem, 2.4vw + 1rem, 2.5rem); }
.h3 { font-size: clamp(1.15rem, 1vw + 1rem, 1.45rem); }
.lede { font-size: clamp(1rem, .4vw + .9rem, 1.13rem); color: var(--text-mute); max-width: 62ch; }
.lede--wide { max-width: 72ch; }

/* ==========================================================================
   Decorative: survey grid, benchmark mark, dimension-arrow divider, corner reg-marks
   ========================================================================== */
.survey-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .4;
  mask-image: radial-gradient(ellipse 88% 65% at 50% 0%, black 40%, transparent 100%);
}
.survey-grid::after {
  content: "";
  position: absolute; top: 34px; inset-inline-start: 34px;
  width: 13px; height: 13px;
  border: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
  opacity: .8;
}

.reg-mark { position: relative; }
.reg-mark::before, .reg-mark::after {
  content: ""; position: absolute; width: 15px; height: 15px;
  border: 1.5px solid var(--line-strong); opacity: .7; pointer-events: none;
}
.reg-mark::before { top: -1px; inset-inline-start: -1px; border-inline-end: none; border-bottom: none; }
.reg-mark::after { bottom: -1px; inset-inline-end: -1px; border-inline-start: none; border-top: none; }

/* benchmark elevation mark — surveyor's reduced-level symbol, used as a decorative bullet */
.bm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: none;
}
.bm::before { content: "▽"; font-size: 1rem; color: var(--steel); line-height: 1; }

.dim-divider { display: flex; align-items: center; gap: 12px; color: var(--text-faint); }
.dim-divider .arrow-line { flex: 1; height: 1px; background: var(--line-strong); position: relative; }
.dim-divider .arrow-line::before, .dim-divider .arrow-line::after {
  content: ""; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--line-strong);
}
.dim-divider .arrow-line::before { inset-inline-start: 0; }
.dim-divider .arrow-line::after { inset-inline-end: 0; }
.dim-divider .tag { font-family: 'Roboto Mono', monospace; font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-s);
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
html[dir="rtl"] .btn { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; font-weight: 700; letter-spacing: 0; }
.btn:active { transform: translateY(1px); }
.btn--steel { background: var(--steel); color: var(--on-steel); }
.btn--steel:hover { background: #35689f; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--steel); color: var(--steel-deep); }
:root[data-theme="dark"] .btn--ghost:hover { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--ghost:hover { color: #6f9fd8; } }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header / brand mark
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 20px; padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  background: var(--steel); border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 1.5rem;
  letter-spacing: .04em; color: var(--text); line-height: 1;
}
.brand-sub {
  display: none;
}
@media (min-width: 760px) {
  .brand-sub {
    display: block; font-family: 'Roboto Mono', monospace; font-size: .64rem;
    letter-spacing: .06em; color: var(--text-faint);
    border-inline-start: 1px solid var(--line-strong); padding-inline-start: 12px; line-height: 1.35;
  }
}

.main-nav { display: none; }
@media (min-width: 980px) {
  .main-nav {
    display: flex; gap: 26px; margin-inline-start: 16px;
    font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 1.05rem;
    letter-spacing: .01em; text-transform: uppercase;
  }
  html[dir="rtl"] .main-nav { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; font-weight: 600; }
  .main-nav a { color: var(--text-mute); padding-block: 6px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); border-color: var(--steel); }
}

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-s); overflow: hidden; font-family: 'Roboto Mono', monospace; font-size: .76rem; font-weight: 600; }
.lang-switch button { background: transparent; border: none; padding: 7px 10px; cursor: pointer; color: var(--text-mute); }
.lang-switch button[aria-pressed="true"] { background: var(--steel); color: var(--on-steel); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; cursor: pointer; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.nav-toggle { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  border-top: 1px solid var(--line); padding: 10px var(--gutter) 18px;
  display: flex; flex-direction: column; gap: 2px;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase;
}
html[dir="rtl"] .mobile-nav { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; }
.mobile-nav a { padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-nav a[aria-current="page"] { color: var(--steel-deep); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ==========================================================================
   Hero (per-page, shorter than a homepage megahero)
   ========================================================================== */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: clip; }
.hero .container { position: relative; padding-block: clamp(46px, 7vw, 84px) clamp(36px, 5vw, 56px); }
.hero-tight .container { padding-block: clamp(38px, 5vw, 60px); }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid.with-panel { grid-template-columns: 1.25fr .85fr; align-items: end; } }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--steel-deep); }
:root[data-theme="dark"] .hero h1 .accent { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 .accent { color: #6f9fd8; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-plate { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow); padding: 22px; }
.hero-plate .plate-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Roboto Mono', monospace; font-size: .66rem; letter-spacing: .1em; color: var(--text-faint);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; text-transform: uppercase;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.stat-grid .stat b { display: block; font-family: 'Big Shoulders Display', sans-serif; font-size: 2rem; font-weight: 800; color: var(--steel-deep); line-height: 1; }
:root[data-theme="dark"] .stat-grid .stat b { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat-grid .stat b { color: #6f9fd8; } }
.stat-grid .stat span { display: block; font-size: .78rem; color: var(--text-mute); margin-top: 4px; line-height: 1.35; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip .container { padding-block: 12px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-family: 'Roboto Mono', monospace; font-size: .74rem; color: var(--text-mute); }
.trust-strip .container span b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Sections generic
   ========================================================================== */
section { position: relative; }
.section-pad { padding-block: clamp(52px, 7vw, 92px); }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-kicker { justify-content: center; }
.section-head.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; max-width: none; }
.alt-surface { background: var(--surface); border-block: 1px solid var(--line); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; } @media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { grid-template-columns: 1fr; } @media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2,1fr); } } @media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-4 { grid-template-columns: 1fr; } @media (min-width: 620px) { .grid-4 { grid-template-columns: repeat(2,1fr); } } @media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }
.grid-5 { grid-template-columns: repeat(2,1fr); } @media (min-width: 700px) { .grid-5 { grid-template-columns: repeat(3,1fr); } } @media (min-width: 1040px) { .grid-5 { grid-template-columns: repeat(5,1fr); } }

.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card .tag-id { font-family: 'Roboto Mono', monospace; font-size: .68rem; color: var(--text-faint); letter-spacing: .06em; }
.card h3 { font-size: 1.18rem; font-weight: 800; font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .01em; }
html[dir="rtl"] .card h3 { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; font-weight: 700; font-size: 1.05rem; }
.card p { color: var(--text-mute); font-size: .94rem; }

.icon-chip {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-s);
  color: var(--steel-deep);
}
:root[data-theme="dark"] .icon-chip { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-chip { color: #6f9fd8; } }
.icon-chip svg { width: 21px; height: 21px; }

.accent-card { position: relative; }
.accent-card::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 3px; height: 100%; background: var(--line-strong); }
.accent-card.steel::before { background: var(--steel); }
.accent-card.rust::before { background: var(--rust); }

/* service card with link affordance */
.service-card { display: block; }
.service-card .go { margin-top: auto; padding-top: 6px; font-family: 'Roboto Mono', monospace; font-size: .78rem; color: var(--steel-deep); display: inline-flex; align-items: center; gap: 6px; }
:root[data-theme="dark"] .service-card .go { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .service-card .go { color: #6f9fd8; } }
.service-card:hover { border-color: var(--steel); }

/* ==========================================================================
   Process / lifecycle steps
   ========================================================================== */
.process { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.process-step { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg-raised); margin-bottom: 16px; }
@media (min-width: 860px) { .process-step { margin-bottom: 0; } }
.process-step .lc-num { font-family: 'Roboto Mono', monospace; color: var(--steel-deep); border: 1px solid var(--line-strong); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 14px; }
:root[data-theme="dark"] .process-step .lc-num { color: #6f9fd8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .process-step .lc-num { color: #6f9fd8; } }
.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--text-mute); font-size: .9rem; }
@media (min-width: 860px) {
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 34px; inset-inline-end: -20px; width: 12px; height: 12px;
    border-top: 1.5px solid var(--line-strong); border-inline-end: 1.5px solid var(--line-strong); transform: rotate(45deg);
  }
  html[dir="rtl"] .process-step:not(:last-child)::after { transform: rotate(-135deg); }
}

/* ==========================================================================
   Service detail block (used on services.html / hvac.html)
   ========================================================================== */
.detail-block { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 18px; background: var(--bg-raised); }
.detail-head { background: #14171a; color: #f2f0ea; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.detail-head .en { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .01em; }
html[dir="rtl"] .detail-head .en { font-family: 'IBM Plex Sans Arabic', sans-serif; text-transform: none; font-weight: 700; }
.detail-head .ar { font-family: 'IBM Plex Sans Arabic', sans-serif; color: #7fabdf; font-size: 1.05rem; font-weight: 600; }
.detail-body { padding: 20px 22px; display: grid; gap: 16px; }
@media (min-width: 700px) { .detail-body { grid-template-columns: 1fr 1fr; } }
.detail-point { display: flex; gap: 12px; }
.detail-point .dot { flex: none; width: 8px; height: 8px; margin-top: 7px; background: var(--steel); border-radius: 1px; transform: rotate(45deg); }
.detail-point b { display: block; font-weight: 600; margin-bottom: 2px; }
.detail-point p { color: var(--text-mute); font-size: .92rem; margin: 0; }

/* ==========================================================================
   Table (advantages / comparisons)
   ========================================================================== */
.data-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.data-table th, .data-table td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-family: 'Roboto Mono', monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); border-bottom: 1px solid var(--line-strong); }
.data-table td:first-child, .data-table th:first-child { width: 30%; }
.data-table td b { display: block; }
.data-table td p { margin: 0; color: var(--text-mute); font-size: .9rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--bg-raised); padding: 4px 18px; }

/* ==========================================================================
   Capability tiles (projects.html)
   ========================================================================== */
.capability-tile { position: relative; overflow: hidden; }
.capability-tile .swatch { height: 108px; border-radius: var(--radius-s); margin-bottom: 4px; position: relative; overflow: hidden; }
.capability-tile .swatch .survey-grid { opacity: .5; }
.capability-note {
  margin-top: 18px; font-family: 'Roboto Mono', monospace; font-size: .78rem; color: var(--text-faint);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-s); padding: 12px 16px;
}

/* ==========================================================================
   Registration / trust strip block
   ========================================================================== */
.reg-strip { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 700px) { .reg-strip { grid-template-columns: repeat(3, 1fr); } }
.reg-item { background: var(--bg-raised); padding: 16px 18px; }
.reg-item .k { display: block; font-family: 'Roboto Mono', monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.reg-item .v { font-family: 'Roboto Mono', monospace; font-weight: 600; font-size: .98rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-panel { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 32px); }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: 'Roboto Mono', monospace; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 11px 13px; font-size: .96rem; color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--steel); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--text-faint); margin-top: 12px; }
.form-status { margin-top: 14px; font-size: .88rem; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: #b4482f; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; }
.contact-item .k { display: block; font-family: 'Roboto Mono', monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.contact-item .v { font-weight: 600; }
.contact-item .v.link:hover { color: var(--steel-deep); }
:root[data-theme="dark"] .contact-item .v.link:hover { color: #6f9fd8; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; height: 220px; filter: grayscale(.15); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #14171a; color: #cdcac0; border-top: 4px solid var(--steel); }
.site-footer .container { padding-block: 46px 24px; }
.footer-top { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 34px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand p { color: #9a978c; font-size: .9rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-family: 'Roboto Mono', monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #7d7a6d; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { color: #cdcac0; font-size: .92rem; }
.footer-col a:hover { color: #6f9fd8; }
.footer-bottom { border-top: 1px solid #2a2d30; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .8rem; color: #7d7a6d; font-family: 'Roboto Mono', monospace; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
.reveal { transition: opacity .5s ease, transform .5s ease; }
.js-ready .reveal { opacity: 0; transform: translateY(14px); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }

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