/* ==========================================================================
   Monolith General Construction — secondary pages
   (Privacy Policy, Cookie Policy, Terms of Service, Contact)
   Visual language copied from the home page: white header, #353434 hero,
   #0f0f0f footer, #F2A900 accent, Titillium Web headings, Raleway body.
   ========================================================================== */

:root {
  --gc-accent: #F2A900;
  --gc-ink: #111111;
  --gc-dark: #0f0f0f;
  --gc-hero: #353434;
  --gc-text: #555555;
  --gc-line: #e0e0e0;
  --gc-soft: #f5f5f5;
  --gc-head-h: 96px;
  --gc-font-head: "Titillium Web", Arial, sans-serif;
  --gc-font-body: "Raleway", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gc-head-h) + 24px); }
body.gc-page {
  margin: 0;
  font-family: var(--gc-font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--gc-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.gc-page img { max-width: 100%; height: auto; }
.gc-page a { color: var(--gc-ink); text-decoration: none; transition: color .2s; }
.gc-page a:hover { color: var(--gc-accent); }
.gc-page :focus-visible { outline: 3px solid var(--gc-accent); outline-offset: 3px; }

.gc-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100001;
  background: var(--gc-accent); color: var(--gc-ink); padding: 10px 18px; font-family: var(--gc-font-head); font-weight: 700;
}
.gc-skip:focus { left: 8px; }

/* ---------- Header ---------- */
.gc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--gc-head-h);
  background: #fff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
}
.gc-header__in {
  height: 100%;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.gc-logo { display: block; line-height: 0; }
.gc-logo img { height: 48px; width: auto; }

.gc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 38px; }
.gc-nav a {
  position: relative;
  font-family: var(--gc-font-head);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #000;
  padding: 10px 0;
  display: inline-block;
}
.gc-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gc-accent); transition: width .25s;
}
.gc-nav a:hover { color: #000; }
.gc-nav a:hover::after, .gc-nav a[aria-current="page"]::after { width: 100%; }

.gc-burger {
  display: none;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--gc-line); border-radius: 0; cursor: pointer;
  position: relative;
}
.gc-burger span, .gc-burger span::before, .gc-burger span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--gc-ink); transition: transform .25s, opacity .25s;
}
.gc-burger span { top: 22px; }
.gc-burger span::before { top: -7px; left: 0; right: 0; }
.gc-burger span::after  { top: 7px;  left: 0; right: 0; }
.gc-burger[aria-expanded="true"] span { background: transparent; }
.gc-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.gc-burger[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page hero ---------- */
.gc-hero {
  position: relative;
  background: var(--gc-hero);
  padding: calc(var(--gc-head-h) + 84px) 24px 84px;
  overflow: hidden;
}
.gc-hero::before, .gc-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .22);
}
.gc-hero::before { left: 6vw; }
.gc-hero::after  { right: 6vw; }
.gc-hero__in { position: relative; max-width: 1140px; margin: 0 auto; }
.gc-crumbs { margin: 0 0 14px; font-family: var(--gc-font-head); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #a3a3a3; }
.gc-crumbs a { color: #d5dade; }
.gc-crumbs a:hover { color: var(--gc-accent); }
.gc-crumbs span { margin: 0 8px; color: #6b6b6b; }
.gc-hero h1 {
  margin: 0;
  font-family: var(--gc-font-head);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  color: #fff;
}
.gc-hero h1::after { content: ""; display: block; width: 64px; height: 4px; background: var(--gc-accent); margin-top: 22px; }
.gc-hero__lead { margin: 22px 0 0; max-width: 720px; color: #d5dade; font-size: 17px; line-height: 1.8; }

/* ---------- Layout ---------- */
.gc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gc-section { padding: 80px 0 96px; }

.gc-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.gc-toc { position: sticky; top: calc(var(--gc-head-h) + 28px); border-top: 3px solid var(--gc-accent); background: var(--gc-soft); padding: 22px 24px 24px; }
.gc-toc h2 { margin: 0 0 10px; font-family: var(--gc-font-head); font-size: 18px; font-weight: 600; color: var(--gc-ink); }
.gc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.gc-toc li { counter-increment: toc; font-size: 14px; line-height: 1.5; padding: 6px 0; border-top: 1px solid var(--gc-line); }
.gc-toc li:first-child { border-top: 0; }
.gc-toc a { display: block; padding-left: 26px; position: relative; color: var(--gc-text); }
.gc-toc a::before { content: counter(toc) "."; position: absolute; left: 0; color: var(--gc-accent); font-family: var(--gc-font-head); font-weight: 700; }
.gc-toc a:hover { color: var(--gc-ink); }

/* ---------- Legal text ---------- */
.gc-prose { max-width: 800px; min-width: 0; }
.gc-meta {
  display: inline-block; margin: 0 0 30px; padding: 6px 14px;
  font-family: var(--gc-font-head); font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  background: var(--gc-ink); color: #fff;
}
.gc-prose > .gc-meta + p { font-size: 18px; color: #333; }
.gc-prose h2 {
  margin: 56px 0 14px; padding-top: 26px; border-top: 1px solid var(--gc-line);
  font-family: var(--gc-font-head); font-size: 30px; font-weight: 600; line-height: 1.25; color: var(--gc-ink);
}
.gc-prose h2:first-of-type { margin-top: 36px; }
.gc-prose h3 { margin: 28px 0 8px; font-family: var(--gc-font-head); font-size: 21px; font-weight: 600; color: var(--gc-ink); }
.gc-prose p { margin: 0 0 16px; }
.gc-prose ul, .gc-prose ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.gc-prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.gc-prose ul > li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; background: var(--gc-accent); }
.gc-prose ol { counter-reset: n; }
.gc-prose ol > li { counter-increment: n; }
.gc-prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; font-family: var(--gc-font-head); font-weight: 700; color: var(--gc-accent); }
.gc-prose a:not(.gc-btn) { color: var(--gc-ink); border-bottom: 2px solid var(--gc-accent); }
.gc-prose a:not(.gc-btn):hover { color: #000; background: rgba(242, 169, 0, .18); }
.gc-prose strong { color: #222; }

.gc-callout { margin: 24px 0; padding: 20px 24px; background: var(--gc-soft); border-left: 4px solid var(--gc-accent); }
.gc-callout p:last-child { margin-bottom: 0; }

.gc-tablewrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--gc-line); }
.gc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; min-width: 640px; }
.gc-table th {
  text-align: left; padding: 12px 16px; background: var(--gc-ink); color: #fff;
  font-family: var(--gc-font-head); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.gc-table td { padding: 12px 16px; vertical-align: top; border-top: 1px solid var(--gc-line); }
.gc-table tr:nth-child(even) td { background: #fafafa; }
.gc-table code { font-family: Consolas, Menlo, monospace; font-size: 13px; background: #eee; padding: 1px 6px; }
.gc-table .gc-tag { white-space: nowrap; font-family: var(--gc-font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--gc-ink); }

/* ---------- Buttons ---------- */
.gc-btn {
  display: inline-block; cursor: pointer; appearance: none; -webkit-appearance: none;
  min-width: 190px; height: 52px; line-height: 48px; padding: 0 30px; text-align: center;
  border: 2px solid var(--gc-ink); border-radius: 0;
  background: var(--gc-ink); color: #fff;
  font-family: var(--gc-font-head); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.gc-btn:hover { background: var(--gc-accent); border-color: var(--gc-accent); color: var(--gc-ink); }
.gc-btn--ghost { background: transparent; color: var(--gc-ink); }
.gc-btn--ghost:hover { background: var(--gc-ink); border-color: var(--gc-ink); color: #fff; }

/* ---------- Contact page ---------- */
.gc-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.gc-contact h2 { margin: 0 0 8px; font-family: var(--gc-font-head); font-size: 32px; font-weight: 600; color: var(--gc-ink); line-height: 1.2; }
.gc-contact__lead { margin: 0 0 30px; }

.gc-cards { display: grid; gap: 0; border-top: 1px solid var(--gc-line); }
.gc-card { padding: 22px 0; border-bottom: 1px solid var(--gc-line); display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.gc-card__ico { width: 52px; height: 52px; background: var(--gc-ink); display: flex; align-items: center; justify-content: center; }
.gc-card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gc-accent); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.gc-card h3 { margin: 0 0 2px; font-family: var(--gc-font-head); font-size: 14px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #8a8a8a; }
.gc-card p { margin: 0; line-height: 1.7; color: #222; font-size: 17px; }
.gc-card a { color: #222; border-bottom: 2px solid transparent; }
.gc-card a:hover { color: #000; border-bottom-color: var(--gc-accent); }
.gc-card small { display: block; margin-top: 2px; font-size: 14px; color: var(--gc-text); }

.gc-formbox { background: var(--gc-soft); border-top: 4px solid var(--gc-accent); padding: 40px; }
.gc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.gc-field { display: flex; flex-direction: column; }
.gc-field--full { grid-column: 1 / -1; }
.gc-field label { font-family: var(--gc-font-head); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gc-ink); margin-bottom: 6px; line-height: 1.4; }
.gc-field label i { font-style: normal; color: #b36b00; }
.gc-field input, .gc-field select, .gc-field textarea {
  width: 100%; border: 1px solid #cfcfcf; background: #fff; border-radius: 0;
  font-family: var(--gc-font-body); font-size: 16px; line-height: 1.5; color: #222; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.gc-field textarea { min-height: 160px; resize: vertical; }
.gc-field input:focus, .gc-field select:focus, .gc-field textarea:focus { outline: none; border-color: var(--gc-ink); box-shadow: 0 0 0 3px rgba(242, 169, 0, .45); }
.gc-field [aria-invalid="true"] { border-color: #c0392b; }
.gc-err { min-height: 0; margin-top: 4px; font-size: 13px; line-height: 1.4; color: #b03022; }
.gc-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.6; }
.gc-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gc-accent); }
.gc-field.gc-form__actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
.gc-form__note { margin: 0; font-size: 13.5px; line-height: 1.6; color: #777; }
.gc-status { margin-top: 20px; padding: 18px 22px; background: #fff; border-left: 4px solid var(--gc-accent); font-size: 15px; line-height: 1.7; }
.gc-status[hidden] { display: none; }
.gc-status p { margin: 0 0 6px; }
.gc-status p:last-child { margin: 0; }
.gc-status textarea { width: 100%; min-height: 110px; margin-top: 8px; padding: 10px 12px; border: 1px solid #cfcfcf; font: 14px/1.5 var(--gc-font-body); }
.gc-hp { position: absolute !important; left: -9999px !important; }

/* ---------- Footer ---------- */
.gc-footer { background: var(--gc-dark); color: #a3a3a3; font-size: 16px; line-height: 1.8; }
.gc-footer a { color: #a3a3a3; }
.gc-footer a:hover { color: var(--gc-accent); }
.gc-footer__main { position: relative; border-top: 1px solid #2a2a2a; padding: 84px 0 70px; }
.gc-footer__main::before, .gc-footer__main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: #2a2a2a; }
.gc-footer__main::before { left: 6vw; }
.gc-footer__main::after  { right: 6vw; }
.gc-footer__grid { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 56px; align-items: start; }
.gc-footer h2 { margin: 0 0 22px; font-family: var(--gc-font-head); font-size: 20px; font-weight: 400; color: #fff; line-height: 1.3; }
.gc-footer__label { margin: 0 0 2px; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: #6a6a6a; }
.gc-footer__list { list-style: none; margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid #2a2a2a; }
.gc-footer__list:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.gc-footer__list li { margin: 0; }
.gc-footer__list a, .gc-footer__list button { display: inline-block; padding: 3px 0; }
.gc-footer__center { text-align: center; }
.gc-footer__center img { width: 100%; max-width: 340px; height: auto; margin: 0 auto 24px; display: block; }
.gc-footer__center address { font-style: normal; color: #d5dade; font-size: 16px; line-height: 1.9; }
.gc-footer__legal li { border-bottom: 1px solid #2a2a2a; padding: 10px 0; }
.gc-footer__legal li:first-child { padding-top: 0; }
.gc-footer__legal li:last-child { border-bottom: 0; }
.gc-linkbtn { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; cursor: pointer; color: #a3a3a3; font: inherit; text-align: left; transition: color .2s; }
.gc-linkbtn:hover { color: var(--gc-accent); }
.gc-footer__bar { border-top: 1px solid #2a2a2a; padding: 26px 24px; text-align: center; font-size: 13px; line-height: 1.6; color: #8a8a8a; }
.gc-footer__bar p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gc-doc { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .gc-toc { position: static; }
  .gc-contact { grid-template-columns: 1fr; gap: 48px; }
  .gc-footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .gc-footer__center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 900px) {
  :root { --gc-head-h: 76px; }
  .gc-header__in { padding: 0 18px; }
  .gc-logo img { height: 40px; }
  .gc-burger { display: block; }
  .gc-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--gc-line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .1); display: none;
  }
  .gc-nav.is-open { display: block; }
  .gc-nav ul { flex-direction: column; gap: 0; padding: 8px 18px 14px; }
  .gc-nav li { border-bottom: 1px solid var(--gc-line); }
  .gc-nav li:last-child { border-bottom: 0; }
  .gc-nav a { display: block; padding: 16px 0; }
  .gc-nav a::after { display: none; }
  .gc-nav a[aria-current="page"] { color: #b36b00; }
  .gc-hero { padding: calc(var(--gc-head-h) + 56px) 20px 56px; }
  .gc-section { padding: 56px 0 72px; }
}
@media (max-width: 640px) {
  .gc-prose h2 { font-size: 25px; }
  .gc-formbox { padding: 26px 20px; }
  .gc-form { grid-template-columns: 1fr; }
  .gc-footer__main { padding: 56px 0 48px; }
  .gc-footer__grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .gc-footer__list a, .gc-footer__legal a, .gc-footer__legal .gc-linkbtn { text-align: center; }
  .gc-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .gc-header, .gc-toc, .gc-footer, .gc-cc, .gc-skip { display: none !important; }
  .gc-hero { background: none; padding: 0 0 20px; }
  .gc-hero h1 { color: #000; }
  .gc-crumbs, .gc-hero__lead { display: none; }
  .gc-doc { display: block; }
}
