/* ============================================================
   ФОРТИС — Металлоконструкции. Production-стили.
   Собрано из design-handoff (photo/strip/cards/grid, акцент красный).
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============= TYPOGRAPHY HELPERS ============= */
.overline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.overline::before {
  content: ''; width: 20px; height: 2px; background: var(--fortis-red);
}
.overline.on-dark { color: rgba(255,255,255,.7); }
.overline.plain { justify-content: center; }
.overline.plain::before { display: none; }

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: pretty;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0;
}
.text-red { color: var(--fortis-red); }
.mono { font-family: var(--font-mono); }

/* ============= BUTTONS ============= */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .14s, box-shadow .14s, transform .14s, border-color .14s, color .14s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-lg { padding: 18px 32px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--fortis-red); color: #fff; }
.btn-primary:hover { background: var(--fortis-red-hover); box-shadow: var(--shadow-red); }
.btn-primary:active { background: var(--fortis-red-press); }
.btn-dark { background: var(--fg-1); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { background: transparent; color: var(--fg-1); border: 1.5px solid var(--fg-1); }
.btn-ghost-dark:hover { background: var(--fg-1); color: #fff; }

/* ============= HEADER ============= */
.fg-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-1);
}
.fg-header-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 56px;
  height: 76px;
  display: flex; align-items: center; gap: 40px;
}
.fg-logo { display: block; }
.fg-logo img { height: 38px; display: block; }
.fg-nav { display: flex; gap: 28px; margin-left: 28px; }
.fg-nav a {
  color: var(--fg-2); text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .14s, color .14s;
}
.fg-nav a:hover { border-color: var(--fortis-red); color: var(--fg-1); }
.fg-header-cta { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.fg-phone {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--fg-1); text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.fg-phone:hover { color: var(--fortis-red); }
.fg-cta-mobile { display: none; }

/* ============= HERO ============= */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-photo {
  min-height: 760px;
  padding: 96px 56px 80px;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.52) saturate(.9);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,2,2,.92) 0%, rgba(26,2,2,.78) 40%, rgba(139,0,0,.35) 75%, transparent 100%);
}
.hero-wedge {
  position: absolute; right: -8%; top: -10%; bottom: -10%; width: 55%;
  background: var(--grad-red-metal);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .85;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
}
.hero-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 20px 0 32px;
  max-width: 1000px;
}
.hero-display .plus { color: #ffb4b7; }
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.86);
  max-width: 580px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-ticker {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: 13px; color: rgba(255,255,255,.72);
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-ticker b {
  color: #fff; display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* ============= SECTIONS ============= */
.sec {
  max-width: 1440px; margin: 0 auto;
  padding: 96px 56px;
}
.sec-dark { background: var(--bg-4); color: #fff; }
.sec-dark > .sec-inner { max-width: 1440px; margin: 0 auto; padding: 96px 56px; }
.sec-soft { background: var(--bg-2); }
.sec-soft > .sec-inner { max-width: 1440px; margin: 0 auto; padding: 96px 56px; }

/* стыки одинаковых фонов */
.sec + .sec { padding-top: 0; }
.sec-soft + .sec-soft > .sec-inner { padding-top: 0; }
.sec-dark + .sec-dark > .sec-inner { padding-top: 0; }

.sec-head { margin-bottom: 56px; max-width: 900px; }
.sec-head .overline { margin-bottom: 16px; }
.sec-head h2 { margin: 0; }
.sec-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.sec-head-row h2 { max-width: 640px; margin-top: 16px; }

.sec-head-title { margin-top: 16px; }
.sec-intro { color: var(--fg-3); margin-top: 16px; max-width: 620px; line-height: 1.5; }

/* ============= STATS STRIP ============= */
.stats-strip {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  background: #fff;
}
.stats-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.stat-cell {
  border-right: 1px solid var(--line-1);
  padding-right: 32px;
}
.stat-cell:last-child { border-right: 0; }
.stat-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fortis-red);
  margin-bottom: 12px;
  white-space: nowrap;
}
.stat-s {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* ============= DIRECTIONS ============= */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dir-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line-1);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.dir-img {
  height: 260px; background-size: cover; background-position: center;
  position: relative;
}
.dir-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
}
.dir-corner {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: #fff; z-index: 1;
}
.dir-big-num {
  position: absolute; bottom: -18px; right: 20px;
  font-family: var(--font-display);
  font-weight: 900; font-size: 140px;
  color: #fff; line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  pointer-events: none;
}
.dir-body { padding: 28px; }
.dir-meta {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fortis-red);
  margin-bottom: 12px;
  display: flex; gap: 12px; align-items: center;
}
.dir-meta .dot { width: 4px; height: 4px; background: var(--fortis-red); border-radius: 50%; }
.dir-meta .share { color: var(--fg-4); }
.dir-desc { font-size: 15px; color: var(--fg-3); line-height: 1.55; margin: 0 0 20px; }
.dir-list { list-style: none; padding: 0; margin: 0 0 24px; }
.dir-list li {
  font-size: 14px; color: var(--fg-2); padding: 8px 0;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; gap: 10px;
}
.dir-list li:first-child { border-top: 0; }
.dir-list li .mono { color: var(--fg-4); font-size: 12px; }
.dir-link {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-1);
  border-bottom: 2px solid var(--fortis-red);
  display: inline-block;
  padding-bottom: 3px;
}

/* ============= STAGES GRID ============= */
.stages-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #3A3A3A;
  border: 1px solid #3A3A3A;
}
.stage {
  background: var(--bg-4); padding: 32px 24px; min-height: 180px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .2s;
}
.stage:hover { background: #222; }
.stage-n {
  font-family: var(--font-display); font-weight: 900;
  font-size: 56px; letter-spacing: -0.04em;
  color: var(--fortis-red);
  line-height: 1;
}
.stage-t {
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em;
  color: #fff;
  margin-top: auto;
}
.stage-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stages-note {
  margin-top: 40px;
  color: rgba(255,255,255,.82);
  font-size: 18px; line-height: 1.5;
  max-width: 800px;
}
.stages-note b { color: #fff; font-weight: 800; }
.stages-note .sep { color: var(--fortis-red); margin: 0 6px; }

/* ============= PORTFOLIO ============= */
.portfolio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.port-card {
  display: block; text-decoration: none; color: inherit;
  transition: transform .18s;
  cursor: pointer;
}
.port-card:hover { transform: translateY(-2px); }
.port-card.hidden { display: none; }
.port-img {
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, #2a2a2a 0%, #0f0f0f 100%);
  position: relative; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #3A3A3A;
}
.port-img svg { width: 72%; height: 72%; color: #fff; opacity: .85; }
.port-img::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.02) 80px 82px);
  pointer-events: none;
}
.port-img::after {
  content: ''; position: absolute;
  top: 0; right: 0; width: 4px; height: 40%;
  background: var(--fortis-red);
}
.port-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,10,10,.72);
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px;
  z-index: 1;
}
.port-body { padding: 16px 0; }
.port-meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.port-title {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--fg-1);
  line-height: 1.25;
  margin-bottom: 4px;
}
.port-tonnage {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fortis-red); font-weight: 500;
  margin-top: 4px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; color: var(--fg-2);
  border: 1px solid var(--line-1);
  cursor: pointer;
  transition: .14s;
  letter-spacing: 0.02em;
}
.chip:hover { border-color: var(--fg-2); }
.chip.on { background: var(--fg-1); color: #fff; border-color: var(--fg-1); }

/* ============= PRODUCTION ============= */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-1);
}
.prod-img {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
}
.prod-body { padding: 24px 28px 28px; }
.prod-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fortis-red); letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.prod-title {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--fg-1);
  margin-bottom: 8px;
}
.prod-desc { font-size: 14px; color: var(--fg-3); line-height: 1.55; }

/* ============= GEO ============= */
.geo {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px;
  align-items: center;
}
.geo-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.geo-item {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-1);
}
.geo-item .num {
  font-family: var(--font-display); font-weight: 900; font-size: 28px;
  color: var(--fortis-red);
  letter-spacing: -0.02em;
  min-width: 80px;
}
.geo-item .label {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.geo-map {
  aspect-ratio: 16/9; background: var(--bg-4);
  border-radius: 4px; position: relative; overflow: hidden;
  padding: 40px;
  color: #fff;
  border: 1px solid #3A3A3A;
}
.geo-map-caption {
  position: relative; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; color: rgba(255,255,255,.5); text-transform: uppercase;
}

/* ============= CLIENTS ============= */
.clients-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  margin-top: 40px;
}
.client-cell {
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 36px 20px;
  text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: var(--fg-2);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  min-height: 110px;
  transition: background .14s;
}
.client-cell:hover { background: var(--bg-2); }
.client-cell .year {
  display: block;
  font-family: var(--font-mono); font-weight: 400; font-size: 10px;
  color: var(--fg-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}
.clients-intro { color: var(--fg-3); margin-top: 16px; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.clients-head { text-align: center; }

/* ============= OBJECTIONS (FAQ) ============= */
.objections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.obj-card {
  padding: 28px 32px;
  background: #222; border: 1px solid #3a3a3a;
  border-radius: 4px;
  display: flex; gap: 20px;
  align-items: flex-start;
}
.obj-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fortis-red); letter-spacing: 0.08em;
  min-width: 28px;
}
.obj-q {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.obj-q::before { content: '«'; color: var(--fortis-red); margin-right: 2px; font-weight: 900; }
.obj-q::after  { content: '»'; color: var(--fortis-red); margin-left: 2px; font-weight: 900; }
.obj-a { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.55; }

/* ============= CERTS ============= */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-card {
  aspect-ratio: 3/4;
  background: #fff;
  border: 1px solid var(--line-1);
  border-radius: 4px;
  padding: 24px;
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  cursor: pointer;
  position: relative;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cert-card .cert-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-4); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cert-card .cert-title {
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
  color: var(--fg-1);
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.cert-card .cert-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); margin-top: 8px;
}
.cert-card .cert-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-4); letter-spacing: 0.04em;
}
.cert-card::after {
  content: ''; position: absolute;
  top: 0; right: 24px; width: 3px; height: 40px;
  background: var(--fortis-red);
}

/* ============= CTA ============= */
.cta {
  background: var(--grad-red-hero);
  color: #fff;
  padding: 96px 56px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,.04) 120px 122px);
  pointer-events: none;
}
.cta-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.cta-h2 { color: #fff; margin-top: 16px; font-size: clamp(32px, 4vw, 56px); }
.cta-p { color: rgba(255,255,255,.85); max-width: 520px; margin-top: 20px; font-size: 16px; line-height: 1.55; }
.cta-contacts {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; gap: 40px; flex-wrap: wrap;
  color: rgba(255,255,255,.78); font-size: 13px;
}
.cta-contacts b { color: #fff; display: block; font-size: 18px; font-weight: 800; }
.cta-contacts a { color: inherit; text-decoration: none; }
.cta-contacts a b:hover { color: var(--fortis-red-tint); }

/* ============= QUIZ ============= */
.quiz-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--fg-1);
}
.quiz-head {
  padding: 32px 40px;
  border-bottom: 1px solid var(--line-1);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.quiz-head-left { display: flex; flex-direction: column; gap: 6px; }
.quiz-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--fg-1);
}
.quiz-sub {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-4); letter-spacing: 0.04em;
}
.quiz-progress { display: flex; gap: 6px; }
.quiz-progress-step {
  width: 36px; height: 4px; background: var(--line-1);
  border-radius: 2px;
  transition: background .2s;
}
.quiz-progress-step.active { background: var(--fortis-red); }
.quiz-progress-step.done { background: var(--fg-1); }
.quiz-body { padding: 48px 40px; min-height: 340px; }
.quiz-question {
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 0 32px;
  line-height: 1.15;
}
.quiz-options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.quiz-option {
  padding: 20px;
  border: 1.5px solid var(--line-1);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--fg-1);
  text-align: left;
  transition: border-color .14s, background .14s, transform .14s;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.quiz-option:hover { border-color: var(--fg-2); background: #fafafa; }
.quiz-option.selected { border-color: var(--fortis-red); background: var(--fortis-red-tint); }
.quiz-option.selected::after {
  content: '✓'; position: absolute; top: 16px; right: 16px;
  width: 24px; height: 24px; background: var(--fortis-red); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.quiz-option-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-4); letter-spacing: 0.04em;
  font-weight: 400;
}
.quiz-input {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body); font-size: 16px;
  border: 1.5px solid var(--line-1);
  border-radius: 4px;
  background: #fff;
  outline: none;
  margin-bottom: 12px;
  color: var(--fg-1);
}
.quiz-input:focus { border-color: var(--fortis-red); }
.quiz-fine {
  font-size: 12px; color: var(--fg-4); margin-top: 12px;
}
.quiz-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; align-items: center;
  background: #fafafa;
}
.quiz-back {
  background: transparent; border: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px;
  color: var(--fg-3); letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.quiz-back:hover { color: var(--fg-1); }
.quiz-back[disabled] { opacity: 0; pointer-events: none; }
.quiz-summary {
  padding: 48px 40px;
  text-align: center;
}
.quiz-summary-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--fortis-red);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
  margin-bottom: 20px;
}
.quiz-summary h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 28px; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--fg-1);
}
.quiz-summary p {
  color: var(--fg-3); font-size: 15px;
  max-width: 520px; margin: 0 auto;
}
.quiz-summary p b { color: var(--fg-1); }
.quiz-summary p b.mono { font-family: var(--font-mono); }
.quiz-result {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  text-align: left;
}
.quiz-result-item {
  padding: 20px;
  background: #fafafa;
  border-radius: 4px;
}
.quiz-result-label {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-4); margin-bottom: 8px;
}
.quiz-result-value {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--fg-1);
}
.quiz-result-value.big { font-size: 28px; color: var(--fortis-red); }

/* ============= FOOTER ============= */
.fg-footer {
  background: var(--bg-5); color: #fff;
  padding: 80px 56px 40px;
}
.fg-footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-3);
}
.fg-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fg-footer-logo {
  height: 44px; width: auto; max-width: 180px;
  display: block; margin-bottom: 4px;
  object-fit: contain; object-position: left center;
}
.fg-footer-col a {
  color: rgba(255,255,255,.72); text-decoration: none;
  font-size: 14px;
  transition: color .14s;
}
.fg-footer-col a:hover { color: var(--fortis-red); }
.fg-footer-p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.55; margin-top: 16px; }
.fg-footer-base {
  max-width: 1440px; margin: 0 auto;
  padding-top: 24px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ============= REVEAL ANIMATION ============= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1200px) {
  .stats-inner { grid-template-columns: repeat(5, 1fr); padding: 48px 40px; }
  .certs { grid-template-columns: repeat(4, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .fg-header-inner { padding: 0 32px; gap: 24px; }
  .fg-nav { gap: 20px; margin-left: 16px; }
  .sec, .sec-dark > .sec-inner, .sec-soft > .sec-inner { padding: 80px 40px; }
  .hero-photo { padding: 72px 40px 64px; }
  .cta { padding: 80px 40px; }
  .fg-footer { padding: 64px 40px 32px; }
}

@media (max-width: 960px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .stat-cell:nth-child(3) { border-right: 0; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .geo { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .fg-footer-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .fg-nav { display: none; }
  .fg-header-inner { padding: 0 20px; gap: 16px; height: 64px; }
  .fg-phone { font-size: 13px; }
}

@media (max-width: 640px) {
  .fg-header-inner { padding: 0 16px; gap: 12px; height: 56px; }
  .fg-logo img { height: 30px; }
  .fg-phone { display: none; }
  .btn { padding: 12px 14px; font-size: 12px; }
  .btn-sm { padding: 10px 12px; font-size: 11px; }
  .btn-lg { padding: 16px 20px; font-size: 14px; }
  .hero-photo { padding: 48px 20px; min-height: 580px; }
  .hero-display { font-size: clamp(36px, 10vw, 56px); margin: 16px 0 20px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-ticker { gap: 20px; font-size: 11px; padding-top: 20px; }
  .hero-ticker b { font-size: 15px; }

  .sec, .sec-dark > .sec-inner, .sec-soft > .sec-inner { padding: 56px 20px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head-row { margin-bottom: 24px; }
  h2, .h2 { font-size: clamp(26px, 7vw, 36px); }

  .stats-inner { padding: 32px 20px; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-cell { border-right: 0; padding-right: 0; }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--line-1); padding-right: 16px; }
  .stat-cell:last-child { border-right: 0; }
  .stat-n { font-size: 44px; }

  .dir-grid { grid-template-columns: 1fr; gap: 16px; }
  .dir-img { height: 200px; }
  .dir-big-num { font-size: 90px; }

  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 140px; padding: 24px 18px; }
  .stage-n { font-size: 40px; }
  .stage-t { font-size: 15px; }
  .stages-note { font-size: 14px; margin-top: 24px; }

  .portfolio { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .port-title { font-size: 13px; }

  .prod-grid { grid-template-columns: 1fr; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .client-cell { padding: 24px 12px; font-size: 12px; min-height: 80px; }

  .objections { grid-template-columns: 1fr; }
  .obj-card { padding: 20px; }

  .certs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert-card { padding: 16px; }
  .cert-card .cert-title { font-size: 18px; }

  .cta { padding: 56px 20px; }

  .quiz-head { padding: 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .quiz-body { padding: 24px 20px; min-height: unset; }
  .quiz-question { font-size: 20px; margin-bottom: 20px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-footer { padding: 16px 20px; }
  .quiz-result { grid-template-columns: 1fr; gap: 12px; }
  .quiz-summary { padding: 32px 20px; }
  .quiz-summary h3 { font-size: 22px; }

  .fg-footer { padding: 48px 20px 24px; }
  .fg-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 32px; }
  .fg-footer-base { font-size: 11px; }
}
