/* =================== ArMad Child Theme — Main CSS =================== */
/* This file contains all visual styles for the home page sections. */
/* Override order: Hello Elementor → this file (armad.css) */

html {
  overflow-x: hidden;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}
body {
  position: relative;
}


/* =================== ELEMENTOR GLOBAL OVERRIDES =================== */
/* Make Elementor's global CSS-variables match our theme palette.
   This ensures widgets built with Elementor Global Colors still look correct. */
:root,
.elementor-kit-default {
  --e-global-color-primary:   #1E3A5F;
  --e-global-color-secondary: #14151A;
  --e-global-color-text:      #1E2838;
  --e-global-color-accent:    #2B4F80;
  --e-global-typography-primary-font-family:   'Literata', Georgia, serif;
  --e-global-typography-primary-font-weight:   500;
  --e-global-typography-secondary-font-family: 'Literata', Georgia, serif;
  --e-global-typography-secondary-font-style:  italic;
  --e-global-typography-text-font-family:      'Onest', sans-serif;
  --e-global-typography-text-font-weight:      400;
  --e-global-typography-accent-font-family:    'Onest', sans-serif;
  --e-global-typography-accent-font-weight:    600;
}

/* Hello Elementor parent sometimes forces body color — override only where needed */
body.armad-frontpage,
body.armad-frontpage .elementor-widget-text-editor {
  color: var(--ink-soft);
}

/* Make sure our child theme wins specificity battle with parent Hello Elementor */



:root {
  /* palette: strictly per brief — blue, grey, metallic */
  --paper:      #F2F3F5;   /* light cool metallic — main bg */
  --paper-2:    #E6E9ED;   /* darker metallic for splits */
  --cream:      #FAFBFC;   /* very light paper */
  --ink:        #0F1520;   /* near-black graphite with blue undertone */
  --ink-soft:   #1E2838;
  --ink-3:      #4A5463;
  --navy:       #1E3A5F;   /* deep steel blue — PRIMARY accent (replaces gold) */
  --navy-2:     #2B4F80;   /* lighter blue for secondary */
  --navy-soft:  #DCE4EF;   /* very soft blue for backgrounds */
  --steel:      #6E7888;   /* mid metallic */
  --steel-light:#B8BFCA;   /* light metallic */
  --steel-lighter: #D8DDE4;
  --line:       #D4D8DE;
  --line-2:     #C8CED7;

  --disp: 'Literata', Georgia, serif;           /* section titles, italic accents */
  --mega: 'Onest', -apple-system, sans-serif;    /* mega hero — weight 800 */
  --body: 'Onest', -apple-system, sans-serif;   /* body text */
}

* { box-sizing: border-box; }
body { font-family: var(--body); color: var(--ink); font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =================== NAV =================== */
.nav {
  background: var(--paper);
  padding: 20px 56px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled {
  padding: 14px 56px;
  box-shadow: 0 4px 24px rgba(15, 21, 32, 0.08);
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 56px;
}
.logo {
  display: flex; align-items: baseline; gap: 8px;
}
.logo .name {
  font-family: var(--disp);
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 600;
}
.logo .name em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}
.logo .dot {
  width: 6px; height: 6px; background: var(--navy); border-radius: 50%;
  margin-bottom: 4px;
}
.primary-nav {
  display: flex; gap: 40px;
  justify-self: center;
}
.primary-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a .caret { font-size: 10px; color: var(--steel); margin-left: 6px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-phone {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.nav-phone i { color: var(--navy); font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  transition: all 0.25s;
  border-radius: 0;
}
.btn,
.btn:focus,
.btn:focus-visible { outline: none !important; box-shadow: none !important; text-decoration: none !important; }
.btn:hover, .btn:active, .btn:focus { background: var(--navy); color: var(--paper); }
.btn.accent              { background: var(--navy); color: #fff; }
.btn.accent:hover,
.btn.accent:active,
.btn.accent:focus,
.btn.accent:focus-visible { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 13px 25px; }
.btn.ghost:hover,
.btn.ghost:active,
.btn.ghost:focus,
.btn.ghost:focus-visible { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover,
.btn.light:active,
.btn.light:focus,
.btn.light:focus-visible { background: #fff !important; color: var(--ink) !important; }

/* =================== HERO (Floorey-style split) =================== */
.hero { background: var(--paper); position: relative; }
.hero-split {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 820px;
  position: relative;
}
/* LEFT: dark panel */
.hero-left {
  background: var(--ink);
  color: #fff;
  padding: 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  top: 0; right: -200px; bottom: 0;
  width: 400px;
  background: radial-gradient(ellipse at left center, rgba(43, 79, 128, 0.35), transparent 70%);
  pointer-events: none;
}
.hero-left-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-left-top .brand-lockup {
  font-family: var(--disp);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.hero-left-top .brand-lockup em { font-style: italic; font-weight: 400; color: var(--steel-light); }
.hero-left-top .since {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: right;
  line-height: 1.5;
}

.hero-left-mid {
  position: relative;
  z-index: 2;
}
.hero-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 36px;
}
.hero-kicker-row .line { width: 32px; height: 1px; background: var(--steel-light); }

.hero-mega {
  font-family: var(--mega);
  font-weight: 800;
  font-size: 88px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 28px;
}
.hero-mega .m1 { display: block; color: #fff; font-size: 0.78em; }
.hero-mega .m2 {
  display: block;
  font-size: 42px;
  letter-spacing: 0.04em;
  color: var(--steel-light);
  font-weight: 600;
  margin: 2px 0 2px 4px;
}
.hero-mega .m3 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
  font-size: 112px;
  line-height: 0.88;
  letter-spacing: -0.015em;
}

.hero-lead-new {
  font-family: var(--disp);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 430px;
  margin: 0 0 32px;
}
.hero-lead-new em { font-style: italic; color: var(--steel-light); }

.hero-cta-new {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: var(--navy);
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: all 0.25s;
}
.hero-cta-new:hover { background: transparent; color: #fff; border-color: var(--steel-light); }
.hero-cta-new .icon {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--steel-light);
  font-size: 12px;
  transform: rotate(-45deg);
}

/* Certificate badge bottom-left */
.hero-left-bot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-left-bot .stamp {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.hero-left-bot .stamp .num {
  font-family: var(--disp);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--steel-light);
  font-weight: 500;
}
.hero-left-bot .stamp .meta { line-height: 1.4; }
.hero-left-bot .stamp .meta strong { color: #fff; font-weight: 600; display: block; }

/* RIGHT: photo stage with hover thumbnails */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-right .big-stage {
  position: absolute; inset: 0;
}
.hero-right .big-stage img,
.hero-right .big-stage .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-right .big-stage img.active,
.hero-right .big-stage .ph.active { opacity: 1; }

/* Vertical guide lines on photo like Floorey */
.hero-right .guides {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
}
.hero-right .guides span {
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-right .guides span:last-child { border-right: none; }

/* Thumbnail row — hover to swap big image */
.hero-thumbs {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
  z-index: 3;
}
.hero-thumb {
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}
.hero-thumb img,
.hero-thumb > .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.3s, transform 0.5s;
}
.hero-thumb > .ph { padding: 8px; gap: 2px; }
.hero-thumb:hover img,
.hero-thumb:hover > .ph { filter: brightness(1); transform: scale(1.06); }
.hero-thumb.active { border-color: var(--steel-light); }
.hero-thumb.active img,
.hero-thumb.active > .ph { filter: brightness(1); }
.hero-thumb .label {
  position: absolute;
  bottom: 10px; left: 12px; right: 12px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.hero-thumb .num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--disp);
  font-style: italic;
  font-size: 18px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Stats strip below hero split */
.hero-stats {
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stats .cell {
  padding: 36px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-stats .cell:last-child { border-right: none; }
.hero-stats .ic {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 22px;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.hero-stats .v {
  font-family: var(--disp);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}
.hero-stats .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 500;
}

/* =================== CLIENT LOGOS MARQUEE =================== */
.clients {
  background: var(--paper);
  padding: 56px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.clients-head {
  max-width: 1328px;
  margin: 0 auto 36px;
  padding: 0 56px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.clients-head .t {
  font-family: var(--disp);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-3);
}
.clients-head .n {
  font-family: var(--disp);
  font-size: 14px;
  color: var(--steel);
  letter-spacing: 0.05em;
}
.clients-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 32px;
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 56px;
}
.client-logo {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  opacity: 0.7;
  transition: all 0.25s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.client-logo img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s, opacity 0.3s;
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.client-logo.caps {
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.client-logo:hover { opacity: 1; color: var(--navy); }

/* =================== ABOUT =================== */
.about {
  background: var(--cream);
  padding: 140px 56px;
}
.about-inner {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-image-stack { position: relative; height: 640px; }
.about-image-stack .a1 {
  position: absolute;
  top: 0; left: 0;
  width: 74%;
  height: 72%;
  overflow: hidden;
}
.about-image-stack .a2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%;
  height: 46%;
  overflow: hidden;
  border: 8px solid var(--cream);
}
.about-image-stack img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image-stack .stamp {
  position: absolute;
  bottom: 28%;
  left: 2%;
  width: 160px; height: 160px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--disp);
  line-height: 1;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(26,46,79,0.28);
}
.about-image-stack .stamp .n {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.about-image-stack .stamp .n em { font-style: italic; }
.about-image-stack .stamp .l {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

.about-text .kicker {
  font-family: var(--disp);
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-text .kicker::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--navy);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 4px;
}
.about-text h2 {
  font-family: var(--disp);
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 32px;
  color: var(--ink);
}
.about-text h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}
.about-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 560px;
}
.about-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.about-meta .k {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.about-meta .v {
  font-family: var(--disp);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.about-signature {
  margin-top: 36px;
  display: flex; align-items: center; gap: 20px;
}
.about-signature .sig-img {
  font-family: var(--disp);
  font-style: italic;
  font-size: 32px;
  color: var(--navy);
  font-weight: 400;
  transform: rotate(-4deg);
}
.about-signature .sig-meta .name { font-family: var(--disp); font-size: 18px; font-weight: 500; color: var(--ink); }
.about-signature .sig-meta .role { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* =================== SERVICES =================== */
.services {
  background: var(--paper);
  padding: 140px 56px 140px;
}
.services-inner { max-width: 1328px; margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}
.section-head .left .kicker {
  font-family: var(--disp);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-head .left .kicker::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--navy);
  vertical-align: middle;
  margin-right: 14px; margin-bottom: 4px;
}
.section-head h2 {
  font-family: var(--disp);
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--navy); }
.section-head .right {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  padding-bottom: 6px;
}

/* Services: 6 cards — featured takes column height across 2 rows, 5 regular fill remaining */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.svc {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: 440px;
  cursor: pointer;
}
.svc.big {
  /* featured sits same height as others in 3x2 grid */
  background: var(--ink);
}
.svc.big h3 { font-size: 34px; }
.svc.big .svc-desc { font-size: 14px; max-width: 460px; }
.svc img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.78) saturate(0.9);
}
.svc:hover img { transform: scale(1.05); }
.svc::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,26,0.15) 0%, rgba(20,21,26,0.75) 100%);
  pointer-events: none;
}
.svc .meta {
  position: absolute;
  left: 32px; right: 32px; bottom: 32px;
  color: #fff;
  z-index: 2;
}
.svc .svc-index {
  font-family: var(--disp);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}
.svc h3 {
  font-family: var(--disp);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 12px;
  color: #fff !important;
}
.svc.big h3 { letter-spacing: -0.025em; }
.svc .svc-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  margin-bottom: 18px;
}
.svc.big .svc-desc { font-size: 16px; max-width: 540px; }
.svc .svc-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--disp);
  font-style: italic;
  font-size: 16px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: gap 0.25s, border-color 0.25s;
}
.svc:hover .svc-more { gap: 14px; border-color: #8DA3C7; color: #8DA3C7; }
.svc .svc-icon {
  position: absolute;
  top: 28px; left: 32px;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  z-index: 2;
}
.svc .svc-area {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--disp);
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  background: var(--navy);
  padding: 6px 14px;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* =================== WHY US =================== */
.why {
  background-color: var(--ink);
  background-image: var(--why-bg, none);
  background-size: cover;
  background-position: center;
  color: var(--paper);
  padding: 140px 56px;
  position: relative;
  overflow: hidden;
}
/* Strong dark overlay for readability when background image is set */
.why::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,21,32,0.92), rgba(15,21,32,0.82));
  pointer-events: none;
  z-index: 0;
}
.why::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,46,79,0.55), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.why-inner { max-width: 1328px; margin: 0 auto; position: relative; z-index: 1; }
.why .section-head h2 { color: #fff !important; }
.why .section-head h2 em { color: #8DA3C7 !important; }
.why .section-head .right { color: rgba(255,255,255,0.75); }
.why .section-head .left .kicker { color: #8DA3C7; }
.why .section-head .left .kicker::before { background: #8DA3C7; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.why-item {
  padding: 48px 36px;
  background: var(--ink);
  transition: background 0.3s;
}
.why-item:hover { background: #1A1D26; }
.why-item .ic {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(203,160,96,0.12);
  border: 1px solid rgba(203,160,96,0.35);
  color: #8DA3C7;
  font-size: 26px;
  margin-bottom: 32px;
}
.why-item h3 {
  font-family: var(--disp);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 14px;
  color: #fff !important;
}
.why-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.why-footer {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.why-footer .note {
  font-family: var(--disp);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  max-width: 680px;
  line-height: 1.35;
}
.why-footer .note em { color: #8DA3C7; font-style: italic; }

/* =================== PROCESS =================== */
.process {
  background: var(--paper-2);
  padding: 140px 56px;
}
.process-inner { max-width: 1328px; margin: 0 auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proc-card {
  background: var(--cream);
  padding: 40px 32px 36px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.proc-card:hover { background: var(--navy); color: #fff; }
.proc-card:hover .proc-num { color: rgba(255,255,255,0.25); }
.proc-card:hover .proc-icon { background: rgba(255,255,255,0.12); color: #8DA3C7; border-color: rgba(255,255,255,0.2); }
.proc-card:hover p { color: rgba(255,255,255,0.75); }
.proc-card:hover h4 { color: #fff; }
.proc-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--disp);
  font-style: italic;
  font-size: 72px;
  line-height: 1;
  font-weight: 400;
  color: var(--line-2);
  transition: color 0.25s;
}
.proc-icon {
  width: 58px; height: 58px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 32px;
  transition: all 0.25s;
}
.proc-card h4 {
  font-family: var(--disp);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink);
}
.proc-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 auto;
  flex-grow: 1;
}
.proc-card .proc-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  font-style: italic;
}
.proc-card:hover .proc-meta { border-top-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.6); }

/* =================== PORTFOLIO =================== */
.portfolio {
  background: var(--paper);
  padding: 140px 56px 120px;
}
.portfolio-inner { max-width: 1328px; margin: 0 auto; }

.portfolio-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.portfolio-tabs .tab {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--line-2);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 100px;
}
.portfolio-tabs .tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.portfolio-tabs .tab:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.portfolio-grid .pf {
  grid-column: span 1;
  grid-row: span 1;
}

.pf {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  height: 100%;
}
.pf img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: saturate(0.95) contrast(1.02);
}
.pf:hover img { transform: scale(1.05); }
.pf .pf-cat {
  position: absolute;
  top: 24px; left: 24px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: var(--disp);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
}
.pf .pf-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(20,21,26,0.9));
  color: #fff;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0.92;
  transition: all 0.3s;
}
.pf:hover .pf-meta { transform: translateY(0); opacity: 1; }
.pf .pf-meta h4 {
  font-family: var(--disp);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 10px;
  color: #fff !important;
}
.pf .pf-meta .specs {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.pf .pf-meta .specs span { display: flex; align-items: center; gap: 6px; }
.pf .pf-meta .specs i { color: #8DA3C7; font-size: 11px; }

.portfolio-footer {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.portfolio-footer .t {
  font-family: var(--disp);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.portfolio-footer .t strong { font-style: normal; font-weight: 600; color: var(--navy); }

/* =================== TESTIMONIALS — no-photo editorial carousel =================== */
.testimonials {
  background: var(--cream);
  padding: 140px 56px;
}
.testi-inner { max-width: 1328px; margin: 0 auto; }

.testi-stage {
  position: relative;
  background: var(--paper);
  padding: 96px 96px 80px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
}
/* Huge decorative opening quote mark in background */
.testi-stage::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: 44px;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 400;
  font-size: 320px;
  line-height: 1;
  color: var(--navy);
  opacity: 0.08;
  pointer-events: none;
}
/* Subtle side accent bar */
.testi-stage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--navy);
}

.testi-slide {
  display: none;
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
}
.testi-slide.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.testi-slide .slide-index {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-slide .slide-index::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--navy);
}

.testi-slide blockquote {
  font-family: var(--disp);
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 40px;
  font-weight: 400;
  padding: 0;
}
.testi-slide blockquote em {
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
}

.testi-slide .author {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.testi-slide .author .mark {
  width: 52px; height: 52px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.testi-slide .author .who .name {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.testi-slide .author .who .meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* Controls: arrows + dots */
.testi-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.testi-controls button {
  width: 52px; height: 52px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.testi-controls button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.testi-dots {
  position: absolute;
  bottom: 58px;
  left: 96px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.testi-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  cursor: pointer;
  transition: all 0.25s;
}
.testi-dots .dot.active {
  background: var(--navy);
  width: 32px;
  border-radius: 4px;
}

/* =================== FAQ =================== */
.faq {
  background: var(--paper);
  padding: 140px 56px;
}
.faq-inner {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.faq-left h2 {
  font-family: var(--disp);
  font-size: 66px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 28px;
}
.faq-left h2 em { font-style: italic; color: var(--navy); }
.faq-left p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 440px;
}
.faq-contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 32px;
}
.faq-contact-card .k {
  font-family: var(--disp);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.faq-contact-card .v {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.faq-contact-card .v.second { font-weight: 400; }
.faq-contact-card .v a { color: var(--navy); }
.faq-contact-card .msg {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.faq-contact-card .msg a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  transition: all 0.2s;
}
.faq-contact-card .msg a:hover { background: var(--navy); }

.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item:first-child { padding-top: 8px; border-top: 1px solid var(--line); }
.faq-item .q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--disp);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  align-items: baseline;
}
.faq-item .toggle {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 14px;
  transition: all 0.25s;
  background: transparent;
}
.faq-item.open .toggle { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-item.open .toggle i { transform: rotate(45deg); }
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: max-height 0.4s ease, padding-top 0.4s ease;
  max-width: 680px;
}
.faq-item.open .a { max-height: 400px; padding-top: 18px; }

/* =================== CTA =================== */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.cta-image {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.cta-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}
.cta-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,21,26,0.75), rgba(20,21,26,0.3));
}
.cta-image .quote {
  position: absolute;
  bottom: 40px; left: 40px; right: 40px;
  color: #fff;
  z-index: 2;
}
.cta-image .quote .big {
  font-family: var(--disp);
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 420px;
  font-weight: 400;
}
.cta-image .quote .meta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 14px;
}
.cta-image .quote .meta::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: #8DA3C7;
}

.cta-form {
  padding: 52px 56px;
  background: var(--ink);
}
.cta-form .kicker {
  font-family: var(--disp);
  font-style: italic;
  font-size: 18px;
  color: #8DA3C7;
  margin-bottom: 16px;
}
.cta-form h2 {
  font-family: var(--disp);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 400;
  margin: 0 0 20px;
  color: #fff !important;
}
.cta-form h2 em { font-style: italic; color: #8DA3C7 !important; }
.cta-form .sub {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
  max-width: 420px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 14px 0 10px;
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-bottom-color: #8DA3C7;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.cta-form .btn-big {
  width: 100%;
  background: #8DA3C7 !important;
  color: var(--ink) !important;
  border: none !important;
  padding: 22px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 24px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  letter-spacing: 0.02em;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.cta-form .btn-big:hover,
.cta-form .btn-big:focus,
.cta-form .btn-big:active,
.cta-form .btn-big:focus-visible { background: #fff !important; color: var(--ink) !important; outline: none !important; box-shadow: none !important; }
.cta-form .agree {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.cta-form .agree a { color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.25); }

/* =================== FOOTER =================== */
.footer {
  background: #0A0B0F;
  color: rgba(255,255,255,0.7);
  padding: 80px 56px 32px;
}
.footer-inner { max-width: 1328px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo .name { color: #fff; }
.footer-brand .logo .name em { color: #8DA3C7; }
.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 28px 0 24px;
  max-width: 360px;
}
.footer-brand .socials {
  display: flex;
  gap: 10px;
}
.footer-brand .socials a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
  font-size: 16px;
}
.footer-brand .socials a:hover { border-color: #8DA3C7; color: #8DA3C7; }

.footer h5 {
  font-family: var(--disp);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 24px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 14px; }
.footer ul a {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  transition: color 0.2s;
}
.footer ul a:hover { color: #8DA3C7; }
.footer-contact .c-item { margin-bottom: 22px; }
.footer-contact .k {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.footer-contact .v {
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
}
.footer-contact .v.big {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 500;
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-bottom a:hover { color: #8DA3C7; }
/* =================== PHOTO PLACEHOLDERS (to be replaced by client photos) =================== */
.ph {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, #E0E4EA, #E0E4EA 14px, #D5DAE2 14px, #D5DAE2 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--body);
  text-align: center;
  padding: 24px;
  z-index: 1;
}
.ph .ph-num {
  font-family: var(--mega);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.ph .ph-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.ph .ph-desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
  max-width: 280px;
}
.ph .ph-icon { font-size: 28px; color: var(--navy); opacity: 0.6; margin-bottom: 6px; }
.ph.dark {
  background:
    repeating-linear-gradient(45deg, #1B2130, #1B2130 14px, #242A3B 14px, #242A3B 28px);
  color: rgba(255,255,255,0.85);
}
.ph.dark .ph-num { color: var(--steel-light); }
.ph.dark .ph-label { color: #fff; }
.ph.dark .ph-desc { color: rgba(255,255,255,0.55); }
.ph.dark .ph-icon { color: var(--steel-light); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1440px) {
  .hero-mega { font-size: clamp(56px, 6.5vw, 88px); }
  .hero-mega .m3 { font-size: clamp(72px, 8vw, 112px); }
  .hero-mega .m2 { font-size: clamp(28px, 3.2vw, 42px); }
}

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  .nav { padding: 20px 32px; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  /* .primary-nav управляется через fixed-sidebar CSS ниже (transform) */
  .nav-phone { display: none; }

  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 48px 40px; }
  .hero-right { height: 560px; }

  .section, .services, .why, .process, .portfolio, .testimonials, .faq, .about { padding: 80px 32px; }
  .hero { padding: 0; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .section-head h2 { font-size: clamp(40px, 6vw, 72px); }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-image-stack { height: 520px; }
  .about-text h2 { font-size: 52px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc { height: 400px; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-footer { flex-direction: column; align-items: flex-start; gap: 20px; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .portfolio-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }

  /* Testimonials — photoless editorial, tablet tuning */
  .testi-stage { padding: 72px 56px 72px; min-height: auto; }
  .testi-stage::before { font-size: 240px; top: 14px; left: 30px; }
  .testi-slide blockquote { font-size: 22px; margin-bottom: 32px; }

  .faq-inner { grid-template-columns: 1fr; gap: 56px; }

  .cta-inner { grid-template-columns: 1fr; }
  .cta-image { height: 360px; }
  .cta-form { padding: 56px 40px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats .cell { padding: 22px 24px; gap: 14px; }
  .hero-stats .ic  { width: 40px; height: 40px; font-size: 18px; }
  .hero-stats .v   { font-size: 20px; line-height: 1.1; }
  .hero-stats .l   { font-size: 12px; line-height: 1.35; margin-top: 4px; }

  /* Партнёры: на планшете лого 2×2, иначе не вмещаются */
  .clients-row { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; padding: 0 40px; }
  .clients-head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 40px; }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-inner { grid-template-columns: auto auto; justify-content: space-between; gap: 12px; }
  .nav-actions { gap: 8px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  /* Contact button на мобилке — только иконка */
  .nav-actions .btn.accent {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .btn.accent .btn-label,
  .nav-actions .btn.accent .btn-arrow { display: none; }

  .hero-left { padding: 40px 24px; }
  .hero-mega { font-size: clamp(56px, 14vw, 88px); }
  .hero-mega .m3 { font-size: clamp(64px, 16vw, 100px); }
  .hero-mega .m2 { font-size: clamp(24px, 6vw, 36px); }
  .hero-left-top .brand-lockup { font-size: 32px; }
  .hero-left-top .since { display: none; }
  .hero-lead-new { font-size: 16px; }
  .hero-right { height: 380px; }
  .hero-thumbs { grid-template-columns: 1fr 1fr; gap: 10px; bottom: 20px; left: 20px; right: 20px; }
  .hero-left-bot { flex-direction: column; align-items: flex-start; gap: 20px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .cell { padding: 18px 18px; gap: 12px; }
  .hero-stats .cell:nth-child(even) { border-right: none; }
  .hero-stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-stats .ic  { width: 36px; height: 36px; font-size: 16px; }
  .hero-stats .v   { font-size: 17px; line-height: 1.15; }
  .hero-stats .l   { font-size: 11px; line-height: 1.3; margin-top: 3px; }

  .section, .services, .why, .process, .portfolio, .testimonials, .faq, .about { padding: 60px 20px; }
  .section-head h2, .about-text h2, .faq-left h2, .cta-form h2 { font-size: clamp(32px, 8vw, 48px); }

  .services-grid, .why-grid, .process-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .svc { height: 360px; }

  .svc .meta { left: 20px; right: 20px; bottom: 20px; }
  .svc h3, .svc.big h3 { font-size: 24px; }

  .process-grid { gap: 12px; }
  .proc-card { min-height: 260px; padding: 32px 24px; }

  .about-image-stack { height: 400px; }
  .about-image-stack .stamp { width: 120px; height: 120px; }
  .about-image-stack .stamp .n { font-size: 36px; }

  /* Testimonials — mobile: compact, arrows aligned, dots below quote */
  .testi-stage { padding: 40px 24px 120px; }
  .testi-stage::before { font-size: 160px; top: 4px; left: 14px; }
  .testi-stage::after { width: 3px; }
  .testi-slide .slide-index { font-size: 11px; letter-spacing: 0.14em; margin-bottom: 16px; }
  .testi-slide blockquote { font-size: 18px; line-height: 1.5; margin-bottom: 28px; }
  .testi-slide .author { padding-top: 20px; gap: 14px; }
  .testi-slide .author .mark { width: 44px; height: 44px; font-size: 17px; }
  .testi-slide .author .who .name { font-size: 17px; }
  .testi-slide .author .who .meta { font-size: 12px; }
  .testi-controls { bottom: 24px; right: 24px; gap: 8px; }
  .testi-controls button { width: 44px; height: 44px; font-size: 13px; }
  .testi-dots { bottom: 38px; left: 24px; }
  .testi-dots .dot { width: 7px; height: 7px; }
  .testi-dots .dot.active { width: 24px; }

  .faq-item .q { font-size: 20px; }
  .faq-item .toggle { width: 36px; height: 36px; }

  .cta-form { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  .footer { padding: 56px 24px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }

  .clients-row { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; padding: 0 24px; }
  .client-logo { font-size: 18px; }
  .client-logo img { max-height: 56px; max-width: 140px; }
  .clients-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Portfolio footer — stack on mobile, full-width button */
  .portfolio-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
  }
  .portfolio-footer .t { font-size: 17px; line-height: 1.4; text-align: left; }
  .portfolio-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
  }

  /* Why-us footer — same stack behaviour */
  .why-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 20px;
  }
  .why-footer .note { font-size: 16px; line-height: 1.4; }
  .why-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
  }
}
/* Mobile-only icon inside buttons — скрыт на desktop, виден только на ≤640 */
.btn .btn-mobile-icon { display: none; }
@media (max-width: 640px) {
  .btn .btn-mobile-icon { display: inline-block; font-size: 16px; }
}

/* Close button внутри mobile drawer — скрыт на desktop */
.nav-close { display: none; }

/* =================== MOBILE MENU TOGGLE =================== */
.nav-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 18px;
  padding: 0;
  transition: all 0.2s;
}
.nav-menu-toggle:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-menu-toggle .fa-xmark { display: none; }
.primary-nav.is-open ~ .nav-menu-toggle .fa-bars,
body.nav-is-open .nav-menu-toggle .fa-bars { display: none; }
body.nav-is-open .nav-menu-toggle .fa-xmark { display: inline-block; }

/* =================== LOGO (image, not text) =================== */
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 640px) {
  .logo img { height: 56px; }
}

/* =================== ULTRAWIDE (1600+) =================== */
@media (min-width: 1600px) {
  .nav-inner,
  .services-inner,
  .hero-inner,
  .about-inner,
  .why-inner,
  .process-inner,
  .portfolio-inner,
  .testi-inner,
  .faq-inner,
  .cta-inner,
  .footer-inner,
  .clients-head,
  .clients-row {
    max-width: 1600px;
  }
  /* Hero-mega масштабируем по viewport, но кэпаем — иначе «Прочность» вылетает из левой 44% колонки. */
  .hero-mega    { font-size: clamp(88px,  6.4vw, 124px); }
  .hero-mega .m1 { letter-spacing: -0.03em; }
  .hero-mega .m3 { font-size: clamp(112px, 8vw,  152px); }
  .section-head h2,
  .about-text h2 { font-size: 88px; }
}
/* На ОЧЕНЬ широких (2200+) колонка уже большая — можно дать размах */
@media (min-width: 2200px) {
  .hero-mega    { font-size: 132px; }
  .hero-mega .m3 { font-size: 160px; }
}
/* Гарантия не-распирания grid-колонки в hero (длинные слова без переноса) */
.hero-left-mid, .hero-mega, .hero-mega .m1, .hero-mega .m3 {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* =================== MOBILE MENU BEHAVIOR =================== */
@media (max-width: 1024px) {
  .nav-menu-toggle { display: flex; }

  /* Мобильный drawer: display:none в закрытом состоянии — гарантированно 0 overflow */
  .primary-nav {
    display: none;
  }
  /* Открытое состояние — fixed sidebar */
  .primary-nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--paper);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 4px;
    z-index: 1000;
    box-shadow: -20px 0 40px rgba(15,18,28,0.12);
    overflow-y: auto;
    animation: armadSlideIn 0.3s ease;
  }
  @keyframes armadSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  /* Крестик в правом верхнем углу drawer */
  .nav-close {
    display: flex;
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--line-2);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 18px;
    padding: 0;
    transition: all 0.2s;
    z-index: 2;
  }
  .nav-close:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }

  body.nav-is-open { overflow: hidden; }
}

/* =================== HELLO ELEMENTOR COMPAT =================== */
/* Hello Elementor sometimes applies its own container padding — reset for our sections */
.site-main,
.site-content,
main#content {
  padding: 0 !important;
  max-width: none !important;
}
/* Disable Hello's default content width constraint on homepage */
body.home .site-content {
  width: 100%;
}

/* Make sure our sections are full-width even inside Hello wrappers */
.hero, .services, .about, .why, .process, .portfolio, .testimonials, .faq, .cta, .clients, .footer {
  width: 100%;
}

/* =================== LINKS — inherit by default, specific overrides only =================== */
/* Per requirement: don't force global link color. Our elements control their own colors. */
a { color: inherit; }
a:hover { color: inherit; }

/* =================== ELEMENTOR WIDGET COMPAT =================== */
/* If user adds Elementor widgets on other pages, ensure typography inherits correctly */
.elementor-element,
.elementor-widget {
  color: var(--ink-soft);
}

/* =================== 404 PAGE =================== */
.error-404 {
  background: var(--paper);
  padding: 100px 56px 140px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.error-404 .error-inner {
  max-width: 1328px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.err-mega {
  font-family: var(--mega);
  font-weight: 800;
  font-size: 360px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.err-mega .m1 { color: var(--ink); }
.err-mega .m0 {
  color: transparent;
  -webkit-text-stroke: 4px var(--navy);
}
.err-content .err-kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.err-content .err-kicker .line { display: inline-block; width: 28px; height: 1px; background: var(--navy); }
.err-content h1 {
  font-family: var(--disp);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
}
.err-content h1 em { font-style: italic; color: var(--navy); }
.err-content > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 480px;
}
.err-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.err-quicklinks {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.err-quicklinks .ql-title {
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.err-quicklinks .ql-list {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
}
.err-quicklinks .ql-list a {
  font-family: var(--disp);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.err-quicklinks .ql-list a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* =================== CONTACTS PAGE =================== */
.contacts-hero {
  background: var(--paper);
  padding: 100px 56px 80px;
  border-bottom: 1px solid var(--line);
}
.contacts-hero-inner { max-width: 900px; margin: 0 auto; }
.ch-kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}
.ch-kicker .line { display: inline-block; width: 28px; height: 1px; background: var(--navy); }
.contacts-hero h1 {
  font-family: var(--disp);
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 24px;
}
.contacts-hero h1 em { font-style: italic; color: var(--navy); }
.contacts-hero .ch-lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0;
}

.contacts-grid-section { background: var(--cream); padding: 72px 56px; }
.contacts-grid {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s;
  color: inherit;
}
.contact-card:not(.no-link):hover {
  border-color: var(--navy);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,21,32,0.06);
}
.contact-card .cc-icon {
  width: 48px; height: 48px;
  background: var(--navy-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 8px;
}
.contact-card .cc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-card .cc-value {
  font-family: var(--disp);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.contact-card .cc-aux {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 4px;
}

/* Phone-links inside no-link contact-card */
.cc-phones { display: flex; flex-direction: column; gap: 6px; }
.cc-phones .phone-link {
  font-family: var(--disp);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.cc-phones .phone-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.contacts-form-block {
  background: var(--paper);
  padding: 100px 56px;
}
.cfb-inner {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.cfb-left h2 {
  font-family: var(--disp);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 20px;
  color: var(--ink);
}
.cfb-left h2 em { font-style: italic; color: var(--navy); }
.cfb-left p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.cfb-bullets { display: flex; flex-direction: column; gap: 12px; }
.cfb-bullet {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.cfb-bullet i {
  width: 24px; height: 24px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cfb-form {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 48px 44px;
}
.cfb-form .form-row { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.cfb-form label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.cfb-form input,
.cfb-form select,
.cfb-form textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cfb-form input:focus,
.cfb-form select:focus,
.cfb-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.cfb-form textarea { resize: vertical; min-height: 100px; }
.cfb-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 16px 28px;
}
.cfb-form .form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--steel);
  text-align: center;
  line-height: 1.4;
}

.contacts-map-section { background: var(--cream); padding: 100px 56px; }
.cms-head { max-width: 1328px; margin: 0 auto 48px; }
.cms-head h2 {
  font-family: var(--disp);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.cms-head h2 em { font-style: italic; color: var(--navy); }
.contacts-map {
  max-width: 1328px;
  margin: 0 auto;
  height: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.ymap-embed {
  position: relative;
  width: 100%;
  height: 100%;
}
.ymap-embed iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ymap-credit {
  color: #eee;
  font-size: 12px;
  position: absolute;
  z-index: 2;
  background: rgba(15,21,32,0.6);
  padding: 2px 6px;
  border-radius: 2px;
  text-decoration: none;
}
.ymap-credit-1 { top: 0; }
.ymap-credit-2 { top: 22px; }

/* === 404 + Contacts responsive === */
@media (max-width: 1024px) {
  .error-404 { padding: 60px 40px 80px; }
  .error-404 .error-inner { grid-template-columns: 1fr; gap: 32px; }
  .err-mega { font-size: 200px; }
  .err-content h1 { font-size: 40px; }

  .contacts-hero { padding: 64px 40px 56px; }
  .contacts-hero h1 { font-size: 48px; }
  .contacts-hero .ch-lead { font-size: 17px; }
  .contacts-grid-section, .contacts-form-block, .contacts-map-section { padding: 64px 40px; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .cfb-inner { grid-template-columns: 1fr; gap: 40px; }
  .cfb-left h2, .cms-head h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .error-404 { padding: 40px 20px 56px; }
  .err-mega { font-size: 140px; }
  .err-content h1 { font-size: 30px; }
  .err-content > p { font-size: 15px; }

  .contacts-hero { padding: 48px 20px 44px; }
  .contacts-hero h1 { font-size: 34px; }
  .contacts-hero .ch-lead { font-size: 15px; }
  .contacts-grid-section, .contacts-form-block, .contacts-map-section { padding: 48px 20px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 28px 24px; }
  .cfb-form { padding: 32px 24px; }
  .cfb-left h2, .cms-head h2 { font-size: 28px; }
  .contacts-map { height: 360px; }
}

/* Portfolio tabs — horizontal scroll on mobile (7 categories don't fit in 1 line) */
@media (max-width: 640px) {
  .portfolio-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 8px;
  }
  .portfolio-tabs::-webkit-scrollbar { display: none; }
  .portfolio-tabs .tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* =====================================================================
   ARMAD MODAL — универсальный попап заявки
   ===================================================================== */
.armad-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 24px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.armad-modal.is-open { display: flex; animation: armadModalIn 0.25s ease; }
.armad-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 21, 32, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}
.armad-modal__panel {
	position: relative;
	background: var(--paper);
	width: 100%;
	max-width: 980px;
	margin: auto 0;
	box-shadow: 0 40px 80px rgba(15, 21, 32, 0.4);
	border-top: 4px solid var(--navy);
	animation: armadPanelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.armad-modal__close {
	position: absolute;
	top: 16px; right: 16px;
	width: 44px; height: 44px;
	padding: 0 !important;
	margin: 0;
	border: 1px solid var(--line) !important;
	background: #fff !important;
	color: var(--ink) !important;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
.armad-modal__close i { display: block; line-height: 1; }
.armad-modal__close:hover,
.armad-modal__close:focus,
.armad-modal__close:active,
.armad-modal__close:focus-visible {
	background: var(--ink) !important;
	color: #fff !important;
	border-color: var(--ink) !important;
	outline: none !important;
	box-shadow: none !important;
}
.armad-modal__grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	min-height: 480px;
}

/* Левая сторона — тёмная (контекст / контакты) */
.armad-modal__aside {
	background: var(--ink);
	color: #fff;
	padding: 48px 36px 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: relative;
	overflow: hidden;
}
.armad-modal__aside::before {
	content: '';
	position: absolute;
	top: 0; right: -180px; bottom: 0;
	width: 360px;
	background: radial-gradient(ellipse at left center, rgba(43, 79, 128, 0.35), transparent 70%);
	pointer-events: none;
}
.armad-modal__kicker {
	font-family: var(--body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--steel-light);
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 2;
}
.armad-modal__kicker .line { width: 28px; height: 1px; background: var(--steel-light); display: inline-block; }
.armad-modal .armad-modal__title {
	font-family: var(--disp);
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #fff !important;
	margin: 0;
	font-weight: 500;
	position: relative;
	z-index: 2;
}
.armad-modal .armad-modal__title em { font-style: italic; color: var(--steel-light) !important; font-weight: 400; }
.armad-modal__lead {
	font-family: var(--disp);
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255,255,255,0.72);
	margin: 0;
	position: relative;
	z-index: 2;
}
.armad-modal__bullets {
	list-style: none;
	padding: 0;
	margin: 8px 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	z-index: 2;
}
.armad-modal__bullets li {
	font-family: var(--body);
	font-size: 14px;
	color: rgba(255,255,255,0.85);
	display: flex;
	align-items: center;
	gap: 10px;
}
.armad-modal__bullets li i { color: var(--steel-hl); font-size: 12px; }
.armad-modal__phone {
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,0.12);
	position: relative;
	z-index: 2;
}
.armad-modal__phone .k {
	font-family: var(--body);
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	margin-bottom: 6px;
}
.armad-modal__phone a {
	font-family: var(--disp);
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
}
.armad-modal__phone a:hover { color: var(--steel-light); }

/* Правая сторона — форма */
.armad-modal__form {
	padding: 48px 44px 44px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.armad-form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.armad-form-row label {
	font-family: var(--body);
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--steel);
	font-weight: 600;
}
.armad-form-row input,
.armad-form-row select,
.armad-form-row textarea {
	font-family: var(--body);
	font-size: 15px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	padding: 14px 16px;
	transition: border-color 0.2s;
	width: 100%;
	box-sizing: border-box;
	border-radius: 0;
}
.armad-form-row textarea { resize: vertical; min-height: 80px; }
.armad-form-row input:focus,
.armad-form-row select:focus,
.armad-form-row textarea:focus {
	outline: none;
	border-color: var(--navy);
}
.armad-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 18px 28px;
	background: var(--ink) !important;
	color: #fff !important;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid var(--ink) !important;
	border-radius: 0 !important;
	cursor: pointer;
	transition: all 0.25s;
	margin-top: 6px;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
}
.armad-modal__submit:hover,
.armad-modal__submit:focus,
.armad-modal__submit:active,
.armad-modal__submit:focus-visible {
	background: var(--navy) !important;
	border-color: var(--navy) !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
}
.armad-modal__submit i { font-size: 12px; }
.armad-modal__agree {
	font-family: var(--body);
	font-size: 11px;
	color: var(--steel);
	line-height: 1.5;
}
.armad-modal__agree a { color: var(--navy); text-decoration: underline; }
.armad-modal__status {
	font-family: var(--body);
	font-size: 13px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	background: #fff;
	display: none;
}
.armad-modal__status.is-loading,
.armad-modal__status.is-ok,
.armad-modal__status.is-err { display: block; }
.armad-modal__status.is-ok  { color: #1a6e3a; border-color: #c1e5cb; background: #ecf8f0; }
.armad-modal__status.is-err { color: #a02020; border-color: #f0c8c8; background: #fbecec; }

body.armad-modal-lock { overflow: hidden; }

@keyframes armadModalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes armadPanelIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Модал — планшет */
@media (max-width: 900px) {
	.armad-modal { padding: 20px 16px; }
	.armad-modal__panel { max-width: 640px; }
	.armad-modal__grid { grid-template-columns: 1fr; }
	.armad-modal__aside { padding: 28px 24px 22px; gap: 12px; }
	.armad-modal__aside::before { display: none; }
	.armad-modal__title { font-size: 22px; }
	.armad-modal__lead { font-size: 14px; line-height: 1.5; }
	.armad-modal__bullets { margin: 4px 0; gap: 8px; }
	.armad-modal__form { padding: 24px 24px 28px; gap: 14px; }
}
/* Модал — мобильник (≤480) */
@media (max-width: 480px) {
	.armad-modal { padding: 0; align-items: stretch; }
	.armad-modal__panel { min-height: 100vh; border-top: 0; max-width: 100%; }
	.armad-modal__close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 15px; }

	/* Тёмный блок ужимаем — только заголовок и телефон. Лид + 3 буллета убираем,
	   они визуально утяжеляют попап. На десктопе остаются. */
	.armad-modal__aside { padding: 44px 18px 18px; gap: 10px; }
	.armad-modal__kicker { font-size: 10px; margin-bottom: 2px; }
	.armad-modal__title  { font-size: 18px; line-height: 1.2; }
	.armad-modal__lead    { display: none; }
	.armad-modal__bullets { display: none; }
	.armad-modal__phone   { padding-top: 12px; margin-top: 2px; }
	.armad-modal__phone .k { font-size: 10px; margin-bottom: 2px; }
	.armad-modal__phone a  { font-size: 18px; }

	/* Форма — компактная */
	.armad-modal__form { padding: 20px 18px 22px; gap: 12px; }
	.armad-form-row { gap: 4px; }
	.armad-form-row label { font-size: 10px; }
	.armad-form-row input,
	.armad-form-row select,
	.armad-form-row textarea { padding: 10px 12px; font-size: 14px; }
	.armad-form-row textarea { min-height: 60px; }
	.armad-modal__submit { padding: 14px 20px; font-size: 12px; gap: 10px; }
	.armad-modal__agree { font-size: 10px; line-height: 1.45; }
}

/* =====================================================================
   ARMAD — общие классы для всех новых страниц (about/services/etc.)
   ===================================================================== */
.armad-page { background: var(--paper); color: var(--ink-soft); }

/* Hero блок для внутренних страниц */
.armad-page-hero {
	background: var(--ink);
	color: #fff;
	padding: 140px 64px 100px;
	position: relative;
	overflow: hidden;
}
.armad-page-hero::before {
	content: '';
	position: absolute;
	top: 0; right: -200px; bottom: 0;
	width: 600px;
	background: radial-gradient(ellipse at left center, rgba(43, 79, 128, 0.28), transparent 70%);
	pointer-events: none;
}
.apg-hero-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.apg-hero-inner.apg-hero-center {
	grid-template-columns: 1fr;
	max-width: 900px;
	text-align: center;
}
.apg-hero-inner.apg-hero-center .apg-hero-text { margin: 0 auto; }
.apg-hero-text .kicker {
	font-family: var(--body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--steel-light);
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
}
.apg-hero-text .kicker a { color: inherit; text-decoration: none; }
.apg-hero-text .kicker a:hover { color: #fff; }
.apg-hero-text .kicker .sep { margin: 0 4px; opacity: 0.4; }
.apg-hero-text .kicker .line { width: 32px; height: 1px; background: var(--steel-light); }
.apg-hero-text h1 {
	font-family: var(--mega);
	font-weight: 800;
	font-size: clamp(40px, 5.5vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 24px;
	min-width: 0;
	word-break: keep-all;
}
.apg-hero-text h1 em {
	font-style: normal;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255,255,255,0.4);
	font-weight: 800;
}
.apg-hero-text .lead {
	font-family: var(--disp);
	font-size: 19px;
	line-height: 1.55;
	color: rgba(255,255,255,0.78);
	max-width: 580px;
	margin: 0 0 32px;
}
.apg-hero-inner.apg-hero-center .lead { margin-left: auto; margin-right: auto; }
.apg-hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.apg-hero-inner.apg-hero-center .apg-hero-actions { justify-content: center; }
.apg-hero-image { position: relative; }
.apg-hero-image img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
	box-shadow: 0 30px 60px rgba(15,18,28,0.35);
}

/* Модификация кнопки — outline для тёмного фона */
.btn.ghost-dark {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.35);
}
.btn.ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Общая обёртка секций */
.armad-page-section { padding: 100px 64px; }
.aps-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.1fr 1.4fr;
	gap: 80px;
	align-items: start;
}
.aps-inner.aps-stack { grid-template-columns: 1fr; gap: 48px; }
.aps-inner.aps-with-sidebar {
	grid-template-columns: 320px 1fr;
	gap: 64px;
}
.aps-head .kicker, .aps-left .kicker {
	font-family: var(--body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}
.aps-head .kicker .line, .aps-left .kicker .line { width: 28px; height: 1px; background: var(--navy); }
.aps-head h2, .aps-left h2 {
	font-family: var(--mega);
	font-weight: 800;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
}
.aps-head h2 em, .aps-left h2 em {
	font-style: normal;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ink);
}
.wysiwyg p {
	font-family: var(--disp);
	font-size: 18px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin: 0 0 18px;
}
.wysiwyg p:last-child { margin-bottom: 0; }
.wysiwyg em { font-style: italic; color: var(--navy); }
.wysiwyg h2 { font-family: var(--mega); font-weight: 800; font-size: clamp(28px, 3vw, 42px); margin: 36px 0 16px; line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); }
.wysiwyg h3 { font-family: var(--mega); font-weight: 700; font-size: 22px; margin: 24px 0 10px; color: var(--ink); }
.wysiwyg ul, .wysiwyg ol { padding-left: 22px; margin: 0 0 18px; }
.wysiwyg li { font-family: var(--disp); font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 6px; }
.wysiwyg a { color: var(--navy); text-decoration: underline; }
.wysiwyg blockquote {
	border-left: 3px solid var(--navy);
	padding: 8px 0 8px 20px;
	margin: 24px 0;
	font-family: var(--disp);
	font-style: italic;
	color: var(--ink);
	font-size: 19px;
}

/* =================== ABOUT PAGE =================== */
.armad-story .aps-inner { grid-template-columns: 1.1fr 1.4fr; }
.armad-values { background: var(--cream); }
.armad-values-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.av-item {
	background: #fff;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.av-ic {
	width: 52px; height: 52px;
	background: var(--paper);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--navy);
	font-size: 22px;
}
.av-item h3 {
	font-family: var(--mega);
	font-weight: 700;
	font-size: 22px;
	margin: 8px 0 4px;
	color: var(--ink);
}
.av-item p {
	font-family: var(--disp);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
}
.armad-facts-section { padding-top: 0; }
.armad-facts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.af-item {
	background: var(--ink);
	color: #fff;
	padding: 48px 28px;
	text-align: center;
}
.af-item .n {
	font-family: var(--mega);
	font-weight: 800;
	font-size: clamp(40px, 4vw, 64px);
	line-height: 1;
	margin-bottom: 8px;
}
.af-item .l {
	font-family: var(--body);
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
}

/* =================== SERVICES INDEX =================== */
.armad-services-grid-page {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.asp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s;
	overflow: hidden;
	position: relative;
}
.asp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(15,18,28,0.12);
	border-color: var(--navy);
}
.asp-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 0; height: 3px;
	background: var(--navy);
	transition: width 0.35s ease;
}
.asp-card:hover::before { width: 100%; }
.asp-img {
	aspect-ratio: 4 / 3;
	background: var(--paper);
	overflow: hidden;
}
.asp-img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.asp-card:hover .asp-img img { transform: scale(1.04); }
.asp-body {
	padding: 28px 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.asp-icon {
	width: 48px; height: 48px;
	background: var(--paper);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--navy);
	font-size: 20px;
	margin-bottom: 4px;
}
.asp-body h3 {
	font-family: var(--mega);
	font-weight: 700;
	font-size: 20px;
	margin: 0;
	color: var(--ink);
	line-height: 1.2;
}
.asp-body p {
	font-family: var(--disp);
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
	flex: 1;
}
.asp-more {
	font-family: var(--body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

/* =================== SERVICE SINGLE — sidebar + content =================== */
.armad-service-page .armad-page-hero { padding: 120px 64px 80px; }
.armad-service-sidebar {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	align-self: start;
}
.ass-block {
	background: #fff;
	padding: 24px 22px;
}
.ass-title {
	font-family: var(--body);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--steel);
	font-weight: 700;
	margin-bottom: 14px;
}
.ass-nav ul { list-style: none; padding: 0; margin: 0; }
.ass-nav li { margin-bottom: 2px; }
.ass-nav li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	text-decoration: none;
	color: var(--ink-soft);
	font-family: var(--body);
	font-size: 14px;
	font-weight: 500;
	border-left: 2px solid transparent;
	transition: all 0.2s;
}
.ass-nav li a i { color: var(--steel); font-size: 14px; width: 18px; text-align: center; }
.ass-nav li a:hover { background: var(--paper); color: var(--navy); border-left-color: var(--navy); }
.ass-nav li a:hover i { color: var(--navy); }
.ass-nav li.is-active a {
	background: var(--ink);
	color: #fff;
	border-left-color: var(--navy);
}
.ass-nav li.is-active a i { color: var(--steel-hl); }
.ass-contact .ass-phone {
	display: block;
	font-family: var(--mega);
	font-weight: 600;
	font-size: 18px;
	color: var(--ink);
	text-decoration: none;
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}
.ass-contact .ass-phone:hover { color: var(--navy); }
.ass-contact .ass-email {
	display: block;
	font-family: var(--body);
	font-size: 14px;
	color: var(--steel);
	text-decoration: none;
	margin: 8px 0 16px;
}
.ass-contact .ass-email:hover { color: var(--navy); }
.ass-btn {
	width: 100%;
	justify-content: center;
	font-size: 12px;
}
.ass-bullets { list-style: none; padding: 0; margin: 0; }
.ass-bullets li {
	font-family: var(--body);
	font-size: 13px;
	color: var(--ink-soft);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
}
.ass-bullets li i { color: var(--navy); font-size: 11px; }

.armad-service-main { min-width: 0; }
.asm-intro { margin-bottom: 56px; }
.asm-intro p:first-child {
	font-family: var(--disp);
	font-size: 22px;
	line-height: 1.5;
	color: var(--ink);
	font-style: italic;
}
.asm-features h2, .asm-types h2, .asm-gallery h2 {
	font-family: var(--mega);
	font-weight: 800;
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 24px;
}
.asm-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 56px;
}
.asm-f {
	background: #fff;
	border: 1px solid var(--line);
	padding: 24px 22px;
}
.asm-f .ic {
	width: 44px; height: 44px;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.asm-f h3 {
	font-family: var(--mega);
	font-weight: 700;
	font-size: 17px;
	color: var(--ink);
	margin: 0 0 6px;
}
.asm-f p {
	font-family: var(--disp);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-soft);
	margin: 0;
}
.asm-types-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.asm-t { background: #fff; padding: 24px 26px; display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; }
.asm-t .num {
	font-family: var(--mega);
	font-weight: 800;
	font-size: 36px;
	color: var(--navy);
	line-height: 1;
}
.asm-t h3 { font-family: var(--mega); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.asm-t p { font-family: var(--disp); font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.asm-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.asm-g { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.asm-g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.asm-g:hover img { transform: scale(1.05); }

/* =================== PORTFOLIO PAGE (large grid) =================== */
.portfolio-grid-large {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.pf-card {
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	/* сбрасываем наследие старого .pf (главная) */
	height: auto;
	cursor: default;
}
.pf-card .pf-img {
	position: static;
	aspect-ratio: 4 / 3;
	background: var(--paper);
	overflow: hidden;
}
.pf-card .pf-img img {
	position: static;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
	filter: none;
}
.pf-card:hover .pf-img img { transform: scale(1.05); }
/* Сбрасываем абсолютное позиционирование, градиент и translateY от .pf .pf-meta */
.pf-card .pf-meta {
	position: static;
	padding: 16px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: transparent;
	color: inherit;
	transform: none;
	opacity: 1;
}
/* Сбрасываем абсолютный белый бейдж .pf .pf-cat — здесь это просто строчный лейбл */
.pf-card .pf-cat {
	position: static;
	top: auto; left: auto;
	padding: 0;
	background: transparent;
	font-family: var(--body);
	font-style: normal;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--navy);
	font-weight: 700;
}
.pf-card .pf-title {
	font-family: var(--mega);
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
	margin: 0;
	line-height: 1.2;
}
.pf-card .pf-desc {
	font-family: var(--disp);
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-soft);
	margin: 0;
}

/* =================== BLOG GRID =================== */
.armad-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.abp-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s;
}
.abp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(15,18,28,0.12);
	border-color: var(--navy);
}
.abp-img {
	aspect-ratio: 16 / 10;
	background: var(--paper);
	overflow: hidden;
}
.abp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.abp-card:hover .abp-img img { transform: scale(1.04); }
.abp-img-placeholder {
	width: 100%; height: 100%;
	background: var(--paper-2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: var(--steel-light);
}
.abp-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.abp-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.abp-meta span {
	font-family: var(--body);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--steel);
	font-weight: 600;
}
.abp-meta .abp-cat { color: var(--navy); }
.abp-title {
	font-family: var(--mega);
	font-weight: 700;
	font-size: 20px;
	color: var(--ink);
	margin: 0;
	line-height: 1.2;
}
.abp-sub {
	font-family: var(--disp);
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0;
	flex: 1;
}
.abp-more {
	font-family: var(--body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.armad-blog-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.armad-blog-pagination .page-numbers {
	padding: 10px 16px;
	background: #fff;
	border: 1px solid var(--line);
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-soft);
	text-decoration: none;
	transition: all 0.2s;
}
.armad-blog-pagination .page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.armad-blog-pagination .page-numbers.current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}
.armad-blog-empty {
	padding: 80px 0;
	text-align: center;
	font-family: var(--disp);
	font-size: 18px;
	color: var(--steel);
}

/* =================== SINGLE POST =================== */
.armad-single-post .asp-hero h1 { text-transform: none; font-size: clamp(28px, 4vw, 56px); }
.armad-single-post .asp-subtitle {
	font-family: var(--disp);
	font-style: italic;
	font-size: 20px;
	color: rgba(255,255,255,0.85);
	margin: 0 0 18px;
}
.armad-single-post .asp-meta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: center;
	font-family: var(--body);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.65);
}
.armad-single-post .asp-meta i { margin-right: 6px; }
.asp-cover {
	max-width: 1200px;
	margin: -60px auto 0;
	padding: 0 24px;
	position: relative;
	z-index: 3;
}
.asp-cover img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 0 30px 60px rgba(15,18,28,0.25);
}
.asp-body-section { padding-top: 60px; }
.asp-inner { max-width: 820px; margin: 0 auto; display: block; }
.asp-lead {
	font-family: var(--disp);
	font-size: 22px;
	line-height: 1.5;
	font-style: italic;
	color: var(--ink);
	border-left: 3px solid var(--navy);
	padding: 4px 0 4px 22px;
	margin: 0 0 32px;
}
.asp-content { font-size: 18px; }
.asp-share { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.asp-share span { font-family: var(--body); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.asp-share a {
	width: 40px; height: 40px;
	background: #fff;
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink-soft);
	transition: all 0.2s;
}
.asp-share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.asp-related-section { background: var(--cream); padding: 80px 64px; }

/* =====================================================================
   ADAPTIVE для всех новых шаблонов
   ===================================================================== */
@media (min-width: 1600px) {
	.apg-hero-inner, .aps-inner { max-width: 1600px; }
	.apg-hero-image img { height: 540px; }
}
@media (max-width: 1200px) {
	.armad-services-grid-page,
	.armad-blog-grid,
	.portfolio-grid-large { grid-template-columns: repeat(2, 1fr); }
	.asm-features-grid { grid-template-columns: repeat(2, 1fr); }
	.asm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
	.armad-page-hero { padding: 100px 32px 80px; }
	.armad-page-section { padding: 72px 32px; }
	.asp-related-section { padding: 64px 32px; }
	.apg-hero-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.apg-hero-image img { height: 360px; }
	.aps-inner, .aps-inner.aps-with-sidebar {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.armad-service-sidebar { position: static; order: 2; }
	.armad-service-main { order: 1; }
	.armad-values-grid { grid-template-columns: 1fr; }
	.armad-facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.armad-page-hero { padding: 80px 22px 60px; }
	.armad-page-section { padding: 56px 22px; }
	.asp-related-section { padding: 56px 22px; }
	.apg-hero-text .lead { font-size: 17px; }
	.armad-services-grid-page,
	.armad-blog-grid,
	.portfolio-grid-large,
	.asm-features-grid,
	.asm-gallery-grid { grid-template-columns: 1fr; }
	.asm-t { grid-template-columns: 50px 1fr; gap: 16px; }
	.asm-t .num { font-size: 28px; }
	.apg-hero-actions { width: 100%; }
	.apg-hero-actions .btn { width: 100%; justify-content: center; }
	.asp-cover { margin-top: -32px; padding: 0 16px; }
	.armad-facts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.armad-page-hero { padding: 64px 18px 48px; }
	.armad-page-section { padding: 48px 18px; }
	.armad-service-page .armad-page-hero { padding: 80px 18px 48px; }
}

/* =====================================================================
   ARMAD LIGHTBOX — минимальная нативная реализация
   ===================================================================== */
.armad-lb {
	position: fixed;
	inset: 0;
	z-index: 10500;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 64px 80px;
}
.armad-lb.is-open { display: flex; animation: armadLbIn 0.2s ease; }
.armad-lb__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 10, 16, 0.92);
	cursor: zoom-out;
}
.armad-lb__stage {
	position: relative;
	z-index: 2;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0;
}
.armad-lb__img {
	max-width: 100%;
	max-height: calc(100vh - 160px);
	object-fit: contain;
	display: block;
	box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.armad-lb__cap {
	font-family: var(--body);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	text-align: center;
}
.armad-lb__count {
	position: absolute;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	font-family: var(--body);
	font-size: 12px;
	letter-spacing: 0.15em;
	color: rgba(255,255,255,0.6);
}
.armad-lb__close,
.armad-lb__nav {
	position: absolute;
	z-index: 3;
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,0.08) !important;
	border: 1px solid rgba(255,255,255,0.15) !important;
	color: #fff !important;
	font-size: 18px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
}
.armad-lb__close:hover,
.armad-lb__close:focus,
.armad-lb__close:active,
.armad-lb__close:focus-visible,
.armad-lb__nav:hover,
.armad-lb__nav:focus,
.armad-lb__nav:active,
.armad-lb__nav:focus-visible {
	background: rgba(255,255,255,0.18) !important;
	border-color: rgba(255,255,255,0.35) !important;
	color: #fff !important;
	outline: none !important;
	box-shadow: none !important;
}
.armad-lb__close { top: 20px; right: 20px; }
.armad-lb__prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.armad-lb__next  { right: 20px; top: 50%; transform: translateY(-50%); }

@keyframes armadLbIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Сигнал что картинки кликабельны */
.portfolio-grid img,
.asm-gallery-grid img { cursor: zoom-in; }

@media (max-width: 768px) {
	.armad-lb { padding: 56px 12px; }
	.armad-lb__close, .armad-lb__nav { width: 40px; height: 40px; font-size: 15px; }
	.armad-lb__prev  { left: 10px; }
	.armad-lb__next  { right: 10px; }
	.armad-lb__close { top: 12px; right: 12px; }
	.armad-lb__img   { max-height: calc(100vh - 120px); }
}

/* =====================================================================
   MOBILE SAFETY-NET — длинные заголовки + карточки на главной
   ===================================================================== */

/* Глобально: заголовки секций не распирают grid-колонку,
   при необходимости длинное слово разбивается. */
.section-head,
.section-head .left,
.section-head .right,
.about-text,
.about-inner,
.services-inner,
.why-inner,
.process-inner,
.portfolio-inner,
.faq-inner,
.cta-inner,
.why-item,
.proc-card,
.svc,
.svc .meta,
.faq-left {
	min-width: 0;
}
.section-head h2,
.about-text h2,
.faq-left h2,
.cta-form h2,
.why-item h3,
.proc-card h4,
.svc h3,
.faq-item .q span {
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: none;
}

@media (max-width: 768px) {
	.section-head h2,
	.about-text h2,
	.faq-left h2,
	.cta-form h2 { font-size: clamp(28px, 7vw, 44px); line-height: 1.05; }
	.why-item h3 { font-size: 22px; }
	.proc-card h4 { font-size: 20px; }
	.svc h3, .svc.big h3 { font-size: 22px; }
	.faq-item .q span { font-size: 16px; }
	.why-footer .note { font-size: 17px; }
	.why-footer { flex-direction: column; align-items: flex-start; gap: 24px; }
	.why-item .ic { width: 52px; height: 52px; font-size: 22px; margin-bottom: 22px; }
	.why-item { padding: 32px 24px; }
}

@media (max-width: 480px) {
	.section, .services, .why, .process, .portfolio, .faq, .about, .cta { padding: 48px 16px !important; }
	.section-head h2,
	.about-text h2,
	.faq-left h2,
	.cta-form h2 { font-size: clamp(26px, 9vw, 38px); }
	.section-head .right, .about-text p, .why-footer .note { font-size: 15px; }
	.why-item h3 { font-size: 20px; }
	.svc h3, .svc.big h3 { font-size: 20px; }
	.proc-card { min-height: 0; padding: 24px 20px; }
	.proc-card h4 { font-size: 18px; }
	.hero-left { padding: 32px 18px; }
	.about-meta { grid-template-columns: 1fr 1fr; }
}
