/*
Theme Name: Global Lingo Canada
Theme URI: https://globallingogroup.com
Author: Global Lingo Canada
Description: One-page site for Global Lingo Canada — certified document translation for IRCC. Three language versions (EN / UA / RU) driven by page slug, with a built-in quote form that accepts file attachments.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glc
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Ground — the desk */
  --ink:        #4A141A;
  --ink-deep:   #350E13;
  --ink-soft:   #5C2027;
  --ink-line:   rgba(240, 205, 160, .18);

  /* Paper — the documents laid on it */
  --paper:      #F7F2EC;
  --paper-warm: #EFE6DA;
  --paper-line: #DED2C2;

  /* Accents */
  --cream:      #F0CDA0;
  --red:        #C81E28;
  --red-deep:   #A5161F;

  /* Text */
  --on-dark:        #F7F2EC;
  --on-dark-muted:  #CDAE94;
  --on-paper:       #2E1013;
  --on-paper-muted: #6E5449;

  --display: "Playfair Display", "Times New Roman", serif;
  --body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --band: clamp(4.5rem, 9vw, 8rem);

  --r: 3px;
  --r-lg: 6px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body.glc {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glc img { max-width: 100%; display: block; }

.glc h1, .glc h2, .glc h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

.glc p { margin: 0 0 1.1em; text-wrap: pretty; }
.glc p:last-child { margin-bottom: 0; }

.glc a { color: inherit; }

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

.glc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cream);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  z-index: 200;
}
.glc-skip:focus { left: 0; }

.glc-shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   SHARED PARTS
   ============================================================ */
.glc-eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.glc-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.on-paper .glc-eyebrow { color: var(--red-deep); }

.glc-h2 { font-size: clamp(1.85rem, 1.15rem + 2.6vw, 3.1rem); }

.glc-lede {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: var(--on-dark-muted);
  max-width: 56ch;
  margin-top: 1.5rem;
}
.on-paper .glc-lede { color: var(--on-paper-muted); }

.glc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2rem;
  font-family: var(--body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.glc-btn--solid { background: var(--red); color: #fff; }
.glc-btn--solid:hover { background: var(--red-deep); transform: translateY(-2px); }

.glc-btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--ink-line);
}
.glc-btn--ghost:hover { border-color: var(--cream); transform: translateY(-2px); }

.glc-btn--cream { background: var(--cream); color: var(--ink); }
.glc-btn--cream:hover { background: #fff; transform: translateY(-2px); }

/* Sections ------------------------------------------------- */
.glc-band { padding-block: var(--band); position: relative; }
.glc-band[id], .glc-hero { scroll-margin-top: 84px; }

/* Two sections sharing a background stack their padding into a dead gap.
   Drop the second one's top padding so the seam reads as one band. */
.glc-band.on-paper + .glc-band.on-paper { padding-top: 0; }
.glc-band:not(.on-paper) + .glc-band:not(.on-paper) { padding-top: 0; }

.on-paper {
  background: var(--paper);
  color: var(--on-paper);
}
.on-paper h2, .on-paper h3 { color: var(--on-paper); }



/* ============================================================
   HEADER
   ============================================================ */
.glc-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(53, 14, 19, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
}

.glc-head__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.glc-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--on-dark);
  white-space: nowrap;
}
.glc-brand svg { width: 22px; height: 22px; flex: none; }

.glc-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}
.glc-nav a {
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark-muted);
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.glc-nav a:hover { color: var(--cream); }

.glc-lang {
  display: flex;
  gap: .125rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--r);
  padding: 2px;
}
.glc-lang a {
  padding: .3rem .6rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--on-dark-muted);
  border-radius: 2px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.glc-lang a:hover { color: var(--cream); }
.glc-lang a[aria-current="true"] { background: var(--cream); color: var(--ink); }

.glc-head .glc-btn { padding: .7rem 1.25rem; font-size: .6875rem; }

.glc-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--r);
  padding: .55rem .7rem;
  cursor: pointer;
}
.glc-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.glc-burger span + span { margin-top: 4px; }
.glc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.glc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.glc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.glc-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(200, 30, 40, .16), transparent 55%),
    linear-gradient(180deg, var(--ink-deep), var(--ink) 55%);
  overflow: hidden;
}

.glc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.glc-hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.15rem);
  max-width: 15ch;
}
.glc-hero h1 em {
  font-style: normal;
  color: var(--cream);
}

.glc-hero__lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  color: var(--on-dark-muted);
  max-width: 52ch;
  margin-top: 1.6rem;
}

.glc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2.5rem;
}

/* fee strip — a schedule of fees, not a card grid */
.glc-fees {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3.25rem;
  border-top: 1px solid var(--ink-line);
  padding-top: 1.75rem;
  gap: 0;
}
.glc-fee {
  padding-right: clamp(1.5rem, 4vw, 3rem);
  margin-right: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--ink-line);
}
.glc-fee:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.glc-fee b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -.02em;
}
.glc-fee span {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---- the seal: the artifact that makes a translation valid ---- */
.glc-seal {
  width: clamp(190px, 21vw, 280px);
  height: clamp(190px, 21vw, 280px);
  position: relative;
  flex: none;
}
.glc-seal svg { width: 100%; height: 100%; overflow: visible; }
.glc-seal__spin { transform-origin: 100px 100px; animation: glc-rotate 44s linear infinite; }
.glc-seal__text { font-family: var(--body); font-size: 8.2px; font-weight: 700; fill: var(--cream); }
.glc-seal__ring { fill: none; stroke: var(--cream); }
.glc-seal__leaf { fill: var(--red); }
.glc-seal__mark { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .16em; fill: var(--cream); text-anchor: middle; }

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

/* ============================================================
   PRICING — a fee schedule, set as a table
   ============================================================ */
.glc-price__head { max-width: 40ch; margin-bottom: 3rem; }

/* the two things we actually issue */
.glc-price__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 3rem;
}
.glc-service {
  background: var(--paper-warm);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border-left: 2px solid var(--red);
}
.glc-service h3 {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .625rem;
}
.glc-service p { font-size: .9375rem; color: var(--on-paper-muted); }

/* terminology note — quiet, but it has to be here */
.glc-clarify {
  margin-top: 2.5rem;
  padding: 1.5rem clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  background: rgba(74, 20, 26, .04);
}
.glc-clarify p {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--on-paper-muted);
  max-width: 78ch;
}

.glc-price__table { border-top: 1px solid var(--paper-line); }
.glc-price__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.glc-price__row dt { font-size: 1.0625rem; font-weight: 600; }
.glc-price__row dt small {
  display: block;
  font-size: .875rem;
  font-weight: 400;
  color: var(--on-paper-muted);
  margin-top: .25rem;
}
.glc-price__row dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.glc-price__note {
  margin-top: 2rem;
  font-size: .9375rem;
  color: var(--on-paper-muted);
  max-width: 62ch;
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.glc-calc__head { max-width: 46ch; margin-bottom: 3rem; }

.glc-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.glc-calc__list { border-top: 1px solid var(--paper-line); }

.glc-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .95rem .75rem;
  margin-inline: -.75rem;
  border-bottom: 1px solid var(--paper-line);
  border-radius: var(--r);
  transition: background .2s var(--ease);
}
.glc-calc__row.is-on { background: var(--paper-warm); }

.glc-calc__what b { display: block; font-size: 1rem; font-weight: 600; }
.glc-calc__what small { display: block; font-size: .8125rem; color: var(--on-paper-muted); margin-top: .15rem; }

.glc-qty { display: flex; align-items: center; gap: .25rem; flex: none; }
.glc-qty button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--r);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.glc-qty button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.glc-qty output {
  min-width: 34px;
  text-align: center;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* summary */
.glc-calc__sum {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.glc-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  cursor: pointer;
  border-bottom: 1px solid var(--ink-line);
}
.glc-check input { margin: .2rem 0 0; width: 17px; height: 17px; accent-color: var(--red); flex: none; cursor: pointer; }
.glc-check b { display: block; font-size: .9375rem; font-weight: 600; }
.glc-check small { display: block; font-size: .8125rem; color: var(--on-dark-muted); margin-top: .15rem; }

.glc-calc__lines { list-style: none; margin: 1.35rem 0 0; padding: 0; }
.glc-calc__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  font-size: .875rem;
  color: var(--on-dark-muted);
}
.glc-calc__lines li b { color: var(--on-dark); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.glc-calc__onreq b { color: var(--cream) !important; font-size: .8125rem; }
.glc-calc__empty { color: var(--on-dark-muted); font-style: italic; }

.glc-calc__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-line);
}
.glc-calc__total span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.glc-calc__total b {
  font-family: var(--display);
  font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.glc-calc__sum .glc-btn { width: 100%; margin-top: 1.35rem; }
.glc-calc__note { margin-top: 1rem; font-size: .8125rem; line-height: 1.6; color: var(--on-dark-muted); }

@media (max-width: 860px) {
  .glc-calc { grid-template-columns: 1fr; }
  .glc-calc__sum { position: static; }
}

/* ============================================================
   RULES — accepted vs rejected
   ============================================================ */
.glc-rules__head { max-width: 46ch; margin-bottom: 3.25rem; }

.glc-rules__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.glc-col {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.glc-col--no { background: rgba(200, 30, 40, .1); border-color: rgba(200, 30, 40, .32); }

.glc-col__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--cream);
}
.glc-col--no .glc-col__label { color: #F09FA5; }

.glc-col ul { list-style: none; margin: 0; padding: 0; }
.glc-col li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .875rem;
  padding: .875rem 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--on-dark);
  border-top: 1px solid var(--ink-line);
}
.glc-col li:first-child { border-top: 0; padding-top: 0; }
.glc-col--no li { border-color: rgba(200, 30, 40, .22); }
.glc-col li svg { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.glc-col--yes li svg { stroke: var(--cream); }
.glc-col--no li svg { stroke: #F09FA5; }

/* ============================================================
   PROCESS — a real sequence, so it is numbered
   ============================================================ */
.glc-proc__head { max-width: 40ch; margin-bottom: 3.25rem; }

.glc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  counter-reset: glc-step;
}
.glc-step { position: relative; padding-top: 2.75rem; }
.glc-step::before {
  counter-increment: glc-step;
  content: counter(glc-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: .04em;
}
.glc-step::after {
  content: "";
  position: absolute;
  top: 1.9rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--paper-line);
}
.glc-step h3 { font-size: 1.25rem; margin-bottom: .625rem; }
.glc-step p { font-size: .9375rem; color: var(--on-paper-muted); }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.glc-docs__head { max-width: 40ch; margin-bottom: 3.25rem; }

.glc-docs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.glc-docs__group h3 {
  font-size: 1.0625rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--cream);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ink-line);
}
.glc-docs__group ul { list-style: none; margin: 0; padding: 0; }
.glc-docs__group li {
  font-size: .9375rem;
  color: var(--on-dark-muted);
  padding: .4rem 0 .4rem 1.1rem;
  position: relative;
}
.glc-docs__group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 5px;
  height: 1px;
  background: var(--red);
}
.glc-docs__note {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ink-line);
  font-size: .9375rem;
  color: var(--on-dark-muted);
}

/* ============================================================
   APOSTILLE — the contrarian statement
   ============================================================ */
.glc-apo {
  background: var(--ink-deep);
  border-block: 1px solid var(--ink-line);
}
.glc-apo__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.glc-apo h2 { font-size: clamp(1.75rem, 1.1rem + 2.5vw, 2.9rem); max-width: 18ch; }
.glc-apo h2 mark { background: none; color: var(--cream); }
.glc-apo__body p { color: var(--on-dark-muted); font-size: 1.0625rem; }
.glc-apo__flip {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--red);
  background: rgba(200, 30, 40, .08);
  font-size: .9375rem;
}
.glc-apo__cta {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.glc-apo__cta:hover { border-color: var(--cream); }

/* ============================================================
   ABOUT
   ============================================================ */
.glc-about__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.glc-about h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem); }
.glc-about p { color: var(--on-paper-muted); }

.glc-stats { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 3.25rem); margin-top: 2.25rem; }
.glc-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.15rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.glc-stat span {
  display: block;
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-paper-muted);
}

/* ============================================================
   FORM
   ============================================================ */
.glc-form-sec { background: var(--ink); }
.glc-form__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2.25rem, 5vw, 4.5rem); align-items: start; }

.glc-form__aside h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.75rem); }

.glc-contacts { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.glc-contacts li { padding: .875rem 0; border-top: 1px solid var(--ink-line); }
.glc-contacts a {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--on-dark);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.glc-contacts a:hover { color: var(--cream); }
.glc-contacts svg { width: 17px; height: 17px; flex: none; stroke: var(--cream); }

.glc-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--on-paper);
}
.glc-field { margin-bottom: 1.25rem; }
.glc-field:last-of-type { margin-bottom: 0; }
.glc-field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-paper-muted);
  margin-bottom: .5rem;
}
.glc-field input,
.glc-field select,
.glc-field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: .9375rem;
  color: var(--on-paper);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--r);
  padding: .8rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.glc-field textarea { min-height: 108px; resize: vertical; }
.glc-field input:focus,
.glc-field select:focus,
.glc-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(74, 20, 26, .12);
}
.glc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem; }

/* file drop */
.glc-drop {
  position: relative;
  border: 1.5px dashed var(--paper-line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 1.6rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.glc-drop:hover, .glc-drop.is-over { border-color: var(--ink); background: var(--paper-warm); }
.glc-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.glc-drop svg { width: 24px; height: 24px; margin: 0 auto .625rem; stroke: var(--ink); }
.glc-drop b, .glc-drop > label { display: block; font-size: .9375rem; font-weight: 600; cursor: pointer;
  letter-spacing: 0; text-transform: none; color: var(--on-paper); margin: 0; }
.glc-drop span { display: block; font-size: .8125rem; color: var(--on-paper-muted); margin-top: .3rem; }
.glc-drop__list { margin-top: .875rem; font-size: .8125rem; color: var(--ink); text-align: left; }
.glc-drop__list:empty { display: none; }
.glc-drop__list li { list-style: none; padding: .2rem 0; }

.glc-form .glc-btn { width: 100%; margin-top: 1.5rem; }
.glc-form__privacy {
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--on-paper-muted);
  text-align: center;
}

.glc-note { padding: 1rem 1.25rem; border-radius: var(--r); font-size: .9375rem; margin-bottom: 1.5rem; }
.glc-note--ok  { background: rgba(74, 20, 26, .08); border-left: 3px solid var(--ink); }
.glc-note--bad { background: rgba(200, 30, 40, .1); border-left: 3px solid var(--red); }

.glc-hp { position: absolute; left: -9999px; }

/* ============================================================
   FOOTER
   ============================================================ */
.glc-foot {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
}
.glc-foot__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.5rem; }
.glc-foot h4 {
  font-family: var(--body);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 1.1rem;
}
.glc-foot p, .glc-foot li { font-size: .875rem; color: var(--on-dark-muted); }
.glc-foot ul { list-style: none; margin: 0; padding: 0; }
.glc-foot li { padding: .3rem 0; }
.glc-foot a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s var(--ease); }
.glc-foot a:hover { color: var(--cream); }
.glc-foot__brand { display: flex; align-items: center; gap: .625rem; font-family: var(--display); font-size: 1.125rem; font-weight: 700; color: var(--on-dark); margin-bottom: .875rem; }
.glc-foot__brand svg { width: 20px; height: 20px; }
.glc-foot__bar {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-size: .8125rem;
  color: var(--on-dark-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.glc-rev__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.glc-rev__badge {
  display: block;
  text-decoration: none;
  border-left: 2px solid var(--red);
  padding-left: 1rem;
}
.glc-rev__badge b { display: block; font-size: 1rem; font-weight: 700; color: var(--on-paper); }
.glc-rev__badge span { display: block; font-size: .8125rem; color: var(--on-paper-muted); margin-top: .2rem; }
.glc-rev__badge:hover b { color: var(--red-deep); }

.glc-rev__grid {
  columns: 3 300px;
  column-gap: clamp(1.25rem, 2.5vw, 2rem);
}

.glc-review {
  break-inside: avoid;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  background: var(--paper-warm);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}
.glc-review blockquote {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--on-paper);
}
.glc-review blockquote::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--red);
  margin-bottom: 1rem;
}
.glc-review figcaption {
  margin-top: 1.15rem;
  padding-top: .9rem;
  border-top: 1px solid var(--paper-line);
}
.glc-review figcaption b { display: block; font-size: .875rem; font-weight: 700; }
.glc-review figcaption span { display: block; font-size: .75rem; color: var(--on-paper-muted); margin-top: .15rem; }

/* ============================================================
   FLOATING CONTACT LAUNCHER
   ============================================================ */
.glc-launch {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.glc-launch__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.4rem;
  font-family: var(--body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.glc-launch__btn:hover { background: var(--red-deep); transform: translateY(-2px); }
.glc-launch__ico { display: flex; }
.glc-launch__ico svg { width: 18px; height: 18px; stroke: #fff; }

.glc-launch__panel {
  width: min(280px, calc(100vw - 2rem));
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: .5rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}
.glc-launch__note {
  margin: 0;
  padding: .6rem .75rem .75rem;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-paper-muted);
}
.glc-launch__panel a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .75rem;
  border-radius: var(--r);
  font-size: .875rem;
  color: var(--on-paper);
  text-decoration: none;
  transition: background .18s var(--ease);
}
.glc-launch__panel a:hover { background: var(--paper-warm); }
.glc-launch__panel svg { width: 17px; height: 17px; flex: none; stroke: var(--ink); }

@media (max-width: 560px) {
  .glc-launch__label { display: none; }
  .glc-launch__btn { padding: .95rem; }
}

/* ============================================================
   REVEAL
   ============================================================ */
.glc-rise { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .glc-nav { display: none; }
  .glc-burger { display: block; }

  .glc-head.is-open .glc-nav {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--ink-line);
  }
  .glc-head.is-open .glc-nav a {
    padding: .9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--ink-line);
  }
  .glc-head.is-open .glc-nav .glc-lang { margin-top: 1.25rem; align-self: flex-start; }
  .glc-head.is-open .glc-nav .glc-lang a { border-bottom: 0; padding: .3rem .6rem; font-size: .6875rem; }
  .glc-head.is-open .glc-nav .glc-btn { margin-top: 1.25rem; }

  .glc-hero__grid { grid-template-columns: 1fr; }
  .glc-seal { order: -1; width: 150px; height: 150px; }
}

@media (max-width: 560px) {
  .glc-fees { gap: 1.5rem 0; }
  .glc-fee { width: 50%; padding-right: 1rem; margin-right: 0; }
  .glc-fee:nth-child(2n) { border-right: 0; }
  .glc-hero__cta .glc-btn { width: 100%; }
  .glc-price__row { grid-template-columns: 1fr; gap: .5rem; }
  .glc-price__row dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glc-seal__spin { animation: none; }
  .glc-rise { opacity: 1; transform: none; transition: none; }
  .glc *, .glc *::before, .glc *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- FAQ ---------- */
.glc-faq__list { max-width: 52rem; }
.glc-faq__item {
  border-bottom: 1px solid var(--ink-line);
}
.glc-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
  transition: color .2s ease;
}
.glc-faq__item summary::-webkit-details-marker { display: none; }
.glc-faq__item summary:hover { color: var(--on-dark); }
.glc-faq__item summary:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.glc-faq__item summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 50%;
  width: .7rem;
  height: .7rem;
  margin-top: -.5rem;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.glc-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -.2rem; }
.glc-faq__item p {
  margin: 0;
  padding: 0 2.5rem 1.5rem 0;
  color: var(--on-dark-muted);
  line-height: 1.7;
}
.on-paper .glc-faq__item { border-bottom-color: var(--paper-line); }
.on-paper .glc-faq__item summary { color: var(--ink); }
.on-paper .glc-faq__item p { color: var(--on-paper-muted); }
@media (prefers-reduced-motion: reduce) {
  .glc-faq__item summary::after { transition: none; }
}


/* ---------- Статьи ---------- */
.glc-art { max-width: 46rem; }
.glc-art__head { max-width: 46rem; }
.glc-h1-art { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; color: var(--on-dark); margin: .4rem 0 1.4rem; }
.glc-art__lede { font-size: 1.1rem; line-height: 1.7; color: var(--on-dark-muted); max-width: 38rem; }
.glc-art h2 { margin: 2.6rem 0 1rem; }
.glc-art p { line-height: 1.75; color: var(--on-paper-muted); margin: 0 0 1.1rem; }
.glc-art b { color: var(--ink); font-weight: 650; }
.glc-art__list { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.glc-art__list li { line-height: 1.7; color: var(--on-paper-muted); margin-bottom: .7rem; }
.glc-art__list li::marker { color: var(--red); }
.glc-quote { border-left: 3px solid var(--red); padding: .2rem 0 .2rem 1.3rem; margin: 1.6rem 0 2rem; }
.glc-quote p { font-family: var(--display); font-size: 1.12rem; line-height: 1.6; color: var(--ink); margin-bottom: .5rem; }
.glc-quote span { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--on-paper-muted); }
.glc-art__cta { border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); padding: 1.6rem 0; margin: 2.4rem 0; }
.glc-art__cta p { margin-bottom: 1.1rem; }
.glc-art__source { font-size: .88rem; line-height: 1.65; color: var(--on-paper-muted); }
.glc-art__source a { color: var(--ink); }

/* ---------- Плавающая кнопка на узких экранах ---------- */
/* Кнопка висит поверх текста и на телефоне закрывает концы строк.
   Даём секциям запас снизу и уменьшаем саму кнопку. */
@media (max-width: 780px) {
  .glc-band { padding-bottom: calc(var(--band, 4rem) + 3.5rem); }
  .glc-launch { transform: scale(.88); transform-origin: bottom right; }
  .glc-form-sec { padding-bottom: calc(var(--band, 4rem) + 5rem); }
}

/* ---------- Блок доверия ---------- */
.glc-trust { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.glc-trust__grid { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.glc-trust__item { flex: 1 1 12rem; }
.glc-trust__item b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; color: var(--ink); }
.glc-trust__item span { display: block; margin-top: .45rem; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--on-paper-muted); }
.glc-trust__note { margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--paper-line); font-size: .92rem; color: var(--on-paper-muted); max-width: 44rem; }
@media (max-width: 780px) { .glc-trust__grid { gap: 1.4rem; } .glc-trust__item { flex: 1 1 45%; } }
