/* ===== SELF-HOSTED FONTS (GDPR; no third-party calls, no Google Fonts CDN) =====
   Fixel Display            : heading layer (static 600/700/800, OFL: MacPaw)
   Manrope                  : body layer    (variable wght 200-800)
   Inter                    : logo wordmark only (static instance wght 700, basic latin) */

/* ----- Manrope : body ----- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v1-latin-wght.woff2') format('woff2-variations'),
       url('/fonts/manrope/manrope-v1-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v1-latin-ext-wght.woff2') format('woff2-variations'),
       url('/fonts/manrope/manrope-v1-latin-ext-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v1-cyrillic-wght.woff2') format('woff2-variations'),
       url('/fonts/manrope/manrope-v1-cyrillic-wght.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope/manrope-v1-cyrillic-ext-wght.woff2') format('woff2-variations'),
       url('/fonts/manrope/manrope-v1-cyrillic-ext-wght.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* ----- Fixel Display : headings (static 600/700/800, latin+cyrillic, OFL: MacPaw) ----- */
@font-face {
  font-family: 'Fixel Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/fixel/FixelDisplay-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Fixel Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/fixel/FixelDisplay-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Fixel Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/fixel/FixelDisplay-ExtraBold.woff2') format('woff2');
}

/* ----- Inter : logo wordmark only (static, hard-subsetted to basic latin) ----- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter/inter-v1-logo-700.woff2') format('woff2');
  unicode-range: U+0020-007E;
}

/* ===== TYPE TOKENS ===== */
:root {
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Fixel Display', sans-serif;
  --font-logo: 'Inter', -apple-system, sans-serif;
}

/* ===== RESET / GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== SAFE AREA INSETS (iPhone X+) ===== */
:root {
  --safe-area-inset-left: env(safe-area-inset-left);
  --safe-area-inset-right: env(safe-area-inset-right);
  --safe-area-inset-top: env(safe-area-inset-top);
  --safe-area-inset-bottom: env(safe-area-inset-bottom);
}

@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, var(--safe-area-inset-left));
    padding-right: max(0px, var(--safe-area-inset-right));
  }
  
  .hero {
    margin-left: calc(-1 * max(0px, var(--safe-area-inset-left)));
    margin-right: calc(-1 * max(0px, var(--safe-area-inset-right)));
    padding-left: max(0px, var(--safe-area-inset-left));
    padding-right: max(0px, var(--safe-area-inset-right));
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-weight: 400;
  font-family: var(--font-body);
  background-color: #0b1e59;
  color: white;
  line-height: 1.6;
  padding-top: 80px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER ===== */
.header {
  background-color: #0b1e59;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.header .wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo .dot {
  color: #f90;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  order: 3;
  margin: 0 auto;
}

.nav a {
  color: white;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: #f90;
}

/* CTA Button */
.cta-link {
  background-color: #f90;
  color: white;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  flex-shrink: 0;
  order: 2;
}

.cta-link:hover {
  background-color: #e88a00;
}

/* Header CTA with icons */
.header-cta {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
  width: auto;
  min-width: 200px;
  max-width: fit-content;
  box-sizing: border-box;
  text-align: left !important;
}

.cta-link.desktop-only.header-cta {
  min-width: 280px;
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  padding-left: 0.63rem !important;
  /* padding-right остается из инлайн-стиля: 90px */
}

.desktop-only.header-cta > div:not(.cta-icons),
.desktop-only.header-cta > small {
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.header-cta .cta-text {
  color: white;
  font-weight: 600;
  font-size: 1.04rem;
  white-space: normal;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left !important;
  line-height: 1.2;
}

.header-cta .cta-text .cta-line {
  display: block;
}

.header-cta .cta-icons {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  margin-left: auto;
}

.header-cta .cta-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px; /* 0.5x width of icon (36px) */
}

.header-cta .cta-icon-link:last-child {
  margin-right: 0;
}

.header-cta .cta-icon-link:hover {
  transform: translateY(-2px);
}

.header-cta .cta-icon-link img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 0;
  display: block;
}

/* Language Switcher */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  order: 4;
}

.lang-switch button {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1a1f3a;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  min-height: 48px;
}

.lang-switch button img {
  width: 20px;
  height: 14px;
}

.lang-switch ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a1940;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-top: 0.5rem;
  list-style: none;
  min-width: 120px;
  overflow: hidden;
  z-index: 10000;
}

.lang-switch ul li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  min-height: 48px;
}

.lang-switch ul li:hover {
  background: #f90;
}

.lang-switch ul li img {
  width: 20px;
  height: 14px;
}

.hidden {
  display: none !important;
}

/* Mobile Header Elements */
.mobile-header-row {
  display: none;
  align-items: center;
  gap: 1rem;
}

.burger {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.burger:hover,
.burger:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: 2px solid #f90;
  outline-offset: 2px;
}

.burger:active {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-cta {
  display: none;
}

/* Убеждаемся, что мобильная CTA скрыта на десктопе */
@media (min-width: 1101px) {
  .mobile-cta {
    display: none !important;
  }
}

/* Desktop/Mobile Toggle */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}


/* Desktop: скрываем мобильные элементы; Mobile: hero-mobile-buttons показываем в max-width блоке */
.hero-mobile-buttons {
  display: none; /* по умолчанию скрыто, покажем в @media (max-width) */
}

@media (min-width: 1101px) {
  .hero .mobile-only,
  .hero .hero-mobile-buttons {
    display: none !important;
    visibility: hidden !important;
  }
  
  .hero-portrait-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-left: 70px; /* 20% of portrait max-width (350px) */
  }
  
  .hero-portrait-row picture {
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
  }
  
  .hero-portrait-row picture img {
    width: 100%;
    max-width: 350px;
  }
  
  .hero-social-desktop {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    padding-top: 0;
    align-items: center;
    margin-left: 0.35rem;
  }
  
  .hero-social-desktop-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    width: 88px;
    gap: 0.4rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
  }
  
  .hero-social-desktop-link:hover,
  .hero-social-desktop-link:focus,
  .hero-social-desktop-link:focus-visible {
    color: #f90;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
  }
  
  .hero-social-desktop-link:hover .hero-social-desktop-label {
    color: #f90;
  }
  
  .hero-social-desktop-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
  }
  .hero-social-desktop-link[href*="t.me"] .hero-social-desktop-icon {
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Подпись в 2 строки, выравнена по центру под иконкой */
  .hero-social-desktop-label {
    display: block;
    max-width: 88px;
    font-size: 0.64em;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
    line-height: 1.3;
    color: inherit;
  }
  
  .hero-img > a {
    margin-left: 70px; /* 20% of portrait max-width (350px) */
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 5rem 0 2rem 0;
  background: #14276E;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  overflow-x: hidden;
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.hero .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 9.5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: clamp(32px, 6vw, 64px);
  white-space: nowrap;
  color: white;
}

.hero h1 .tagline-accent {
  color: #F08A3E;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.hero .hero-name-title {
  font-size: 21px !important;
  font-weight: bold !important;
}

.hero .list {
  list-style: none;
  margin-top: 1rem;
}

.hero .list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}

.hero .list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
}

.hero-img {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
}

.hero-img picture {
  display: block;
  width: 100%;
  max-width: 350px;
}

.hero-img picture img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-img a {
  display: block;
  width: auto;
  max-width: none;
  margin-top: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 48px;
}

.hero-img a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.hero-img a img {
  height: 48px; /* Равна высоте CTA кнопки (min-height: 48px + padding) */
  width: auto; /* Сохраняем пропорции */
  max-width: 300px; /* Ограничиваем максимальную ширину */
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: block;
  object-fit: contain;
}

/* ===== SECTIONS ===== */
  .section {
    padding: 2rem 2rem;
    background-color: white;
  }

  /* Ensure first section doesn't overlap with header */
  body > .section:first-of-type,
  body > main > .section:first-of-type,
  body > main .section:first-of-type {
    padding-top: 3rem;
  }

.section:nth-child(even) {
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 240px;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Перекрываем inline стили для hero */
  section.hero {
    padding: 2rem 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  section.hero .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  section.hero .container.grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  section.hero .container.grid > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: visible !important;
  }
  
  section.hero p,
  section.hero p[style],
  section.hero ul.list,
  section.hero ul[style],
  section.hero ul.list li,
  section.hero ul[style] li {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow-x: visible !important;
    overflow: visible !important;
    padding-right: 1rem !important;
  }
  
  section.hero ul.list,
  section.hero ul[style] {
    padding-left: 1.5rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  section.hero ul.list li,
  section.hero ul[style] li {
    padding-left: 1.5rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.section h2 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  color: #1a1f3a;
}

.section h3 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1f3a;
}

.section p {
  color: #333;
  margin-bottom: 1rem;
}

/* ===== LEGAL PAGES ===== */
.section.legal {
  background-color: #ffffff;
  color: #1a1f3a;
}

.section.legal .container {
  max-width: 800px;
}

.section.legal h1 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: #0b1e59;
}

/* Icon in legal-page titles (replaces old emoji); inherits heading size */
.legal-title-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.4rem;
  color: #f90;
}

.section.legal h2 {
  font-weight: 700;
  font-family: var(--font-head);
  margin-top: 2rem;
  font-size: 1.5rem;
}

.section.legal h3 {
  font-weight: 700;
  font-family: var(--font-head);
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.section.legal p,
.section.legal li {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.section.legal ul {
  margin-left: 1.5rem;
  list-style: disc;
}

.section.legal a {
  color: #0b1e59;
  text-decoration: underline;
}

/* Заголовки FAQ-карточек — жирный шрифт, переопределяет .card p и .section.legal p */
.faq-q,
.section.legal .card .faq-q {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1a1f3a !important;
  margin-bottom: 0.6rem !important;
}
.faq-a { font-size: 0.95rem; color: #555; margin-bottom: 0.4rem; line-height: 1.65; }
.section.legal h1 + h3 { margin-top: 2rem; }
.section.legal .cardgrid + h3 { margin-top: 2.5rem; }

/* ===== CARD GRID ===== */
.cardgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgb(160, 160, 160);
}

.card h3 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a1f3a;
}

.card p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #555;
}

.card i {
  color: #5d5d5d;
  font-style: italic;
}

/* Card Actions */
.actions {
  margin-top: 1.5rem;
}

.linkbtn {
  display: inline-block;
  background: white;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
  border: 1px solid #e0e0e0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.linkbtn:hover {
  background: #f5f5f5;
}

/* Testimonial Cards */
.testimonial {
  text-align: center;
}

.client-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 3px solid rgb(255, 255, 255);
}

.testimonial blockquote {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.client-name {
  font-weight: 700;
  color: #1a1f3a;
  margin-bottom: 0.3rem;
}

.client-role {
  color: #666;
  font-size: 0.9rem;
}

/* ===== LISTS ===== */
.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f90;
  font-weight: bold;
  font-size: 1.2rem;
}

.list.tight li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
}

.list.pricing li,
.pricing li {
  font-size: 1.1rem;
  padding: 0.8rem 0;
  padding-left: 2rem;
  color: #1a1f3a;
}

.list.pricing b,
.list.pricing strong,
.pricing b,
.pricing strong {
  color: #1a1f3a;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #f90;
}

.pricing-card-best {
  border: 3px solid #f90;
  background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.pricing-card h3 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: #1a1f3a;
  margin-bottom: 1rem;
  text-align: center;
}

.pricing-hybrid {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.pricing-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 60px;
  text-align: center;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1f3a;
  margin-bottom: 0.3rem;
  text-align: center;
}

.pricing-individual {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1f3a;
  margin-bottom: 0.3rem;
  text-align: center;
}

.pricing-period {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0;
  text-align: center;
}

.pricing-note {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

/* ===== MEDIA / POSTS ===== */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
  border: 1px solid #e0e0e0;
}

.post:hover {
  transform: translateY(-4px);
  border-color: rgb(160, 160, 160);
}

.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post h4 {
  font-weight: 600;
  font-family: var(--font-body);
  padding: 1rem;
  font-size: 1rem;
  color: #1a1f3a;
}

/* Press / Media Section */
.section#press-media h3 {
  font-weight: 700;
  font-family: var(--font-head);
  margin-top: 0;
}

.section#press-media h3:not(:first-of-type) {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

/* Press Grid */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.press-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
  border: 1px solid #e0e0e0;
}

.press-card:hover {
  transform: translateY(-4px);
  border-color: rgb(160, 160, 160);
}

.press-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}

.press-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-title {
  padding: 1.2rem;
  font-size: 1rem;
  color: #1a1f3a;
  line-height: 1.5;
}

.press-title .note {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* ===== LINKS ===== */
.link {
  color: #f90;
  text-decoration: underline;
  transition: color 0.2s;
}

.link:hover {
  color: #e88a00;
}

.link.blue {
  color: #4a90e2;
}

.link.blue:hover {
  color: #357abd;
}

/* ===== CASE STUDY GALLERY ===== */
.case-gallery {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-padding: 1rem;
  padding-bottom: 1rem;
}

.case-gallery::-webkit-scrollbar {
  height: 8px;
}

.case-gallery::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.case-gallery::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.case-gallery::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.case-gallery img {
  flex: 0 0 auto;
  width: 400px;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
  scroll-snap-align: start;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1a1f3a;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.footer-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  outline: none;
}

.footer-social-link:focus {
  outline: none;
}

.footer-social-link:focus-visible {
  outline: none;
}

.footer-social-link:hover,
.footer-social-link:hover .footer-social-label {
  color: #f90;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer-social-link[href*="t.me"] .footer-social-icon {
  border-radius: 50%;
  object-fit: cover;
}

.footer-social-label {
  font-size: 0.8em;
  text-align: center;
  transition: color 0.2s;
  max-width: 120px;
  word-break: break-word;
}

.footer-text {
  text-align: center;
}

.footer-divider {
  margin: 0 8px;
  color: #999;
}

/* mobile: separator dots between footer links look like debris when lines wrap */
@media (max-width: 1100px) {
  .footer-divider {
    display: none;
  }
}

.footer a {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.footer a:hover {
  color: #f90;
}

/* Desktop: buttons left, footer text centered */
@media (min-width: 1101px) {
  .footer-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .footer-social {
    order: 1;
  }

  .footer-text {
    order: 2;
    flex: 1;
    text-align: center;
  }
}

/* Mobile: buttons right, footer text left */
@media (max-width: 1100px) {
  .footer-inner {
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-text {
    order: 1;
    text-align: left;
    flex: 1;
    min-width: 0;
  }

  .footer-social {
    order: 2;
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .footer .footer-social-link {
    text-decoration: none !important;
  }

  .footer-social-label {
    font-size: 0.8em;
    text-align: center;
  }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1940;
  padding: 1.5rem 2rem;
  border-top: 2px solid #f90;
  z-index: 2000;
  display: none;
}

#cookie-banner:not(.hidden) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
}

.cookie-text-main {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

.cookie-text-main a {
  color: #f90;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  min-height: 48px;
  min-width: 120px;
}

.cookie-btn-accept,
.cookie-buttons button:first-of-type {
  background: #f90;
  color: white;
  border: 2px solid #f90;
}

.cookie-btn-accept:hover,
.cookie-buttons button:first-of-type:hover {
  background: #e88a00;
  border-color: #e88a00;
}

.cookie-btn-reject {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons button:not(.cookie-btn-accept):not(.cookie-btn-reject) {
  background: #f90;
  color: white;
  border: 2px solid #f90;
}

.cookie-buttons button:not(.cookie-btn-accept):not(.cookie-btn-reject):hover {
  background: #e88a00;
  border-color: #e88a00;
}

/* ===== COOKIE TABLE (Cookie Policy) ===== */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.cookie-table th,
.cookie-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1rem;
  text-align: left;
}
.cookie-table th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}
.cookie-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}
@media (max-width: 768px) {
  .cookie-table { font-size: 0.8rem; }
  .cookie-table th, .cookie-table td { padding: 0.5rem; }
}

/* ===== COOKIE MODAL ===== */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
  overflow-y: auto;
}

#cookie-modal .cookie-modal-content {
  position: relative;
  background: #ffffff !important;
  color: #1a1f3a;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#cookie-modal .cookie-modal-content h3 {
  font-family: var(--font-body);
  margin: 0 0 1.5rem !important;
  color: #1a1f3a !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
}

#cookie-modal .cookie-modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#cookie-modal .cookie-modal-content label {
  display: flex !important;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;
  color: #333333 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

#cookie-modal .cookie-modal-content label strong,
#cookie-modal .cookie-modal-content label span {
  flex: 1;
  text-align: left;
  color: #333333 !important;
}

#cookie-modal .cookie-modal-content label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
}

#cookie-modal .cookie-modal-content label:hover {
  background: #f5f5f5;
  border-radius: 4px;
}

#cookie-modal .cookie-modal-content input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #f90;
}

#cookie-modal .cookie-modal-content input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

#cookie-modal .cookie-modal-content .cookie-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#cookie-modal .cookie-modal-content .cookie-modal-actions button {
  background: #f90 !important;
  color: #ffffff !important;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;
}

#cookie-modal .cookie-modal-content .cookie-modal-actions button:hover {
  background: #e88a00 !important;
}

#cookie-modal .cookie-modal-content .cookie-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666666 !important;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  min-width: 32px;
  min-height: 32px;
}

#cookie-modal .cookie-modal-content .cookie-close:hover {
  color: #333333 !important;
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  pointer-events: none;
}

body.menu-open::before {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== SKIP TO CONTENT LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #f90;
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ===== MOBILE / TABLET ADAPTATIONS (max-width: 1100px) ===== */
@media (max-width: 1100px) {
  html {
    scroll-padding-top: 200px;
  }
  
  body {
    padding-top: 200px;
    font-size: 16px;
  }

  .desktop-only {
    display: none !important;
  }

  /* Явно скрываем desktop CTA на мобильных (убирает дубликат) */
  .header .wrap > .cta-link.desktop-only,
  .header .wrap > .cta-link.desktop-only.header-cta {
    display: none !important;
    visibility: hidden !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-header-row {
    display: flex !important;
  }

  .mobile-cta {
    display: block;
    width: 100%;
    margin-top: 0;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    min-height: 56px !important;
  }

  .header {
    position: fixed;
    top: 0;
  }

  .header .wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 0.5rem 0.8rem;
    padding-left: max(0.8rem, var(--safe-area-inset-left));
    padding-right: max(0.8rem, var(--safe-area-inset-right));
    position: relative;
    gap: 0.5rem;
    row-gap: 0.5rem;
  }

  /* Hide desktop logo on mobile */
  .header .wrap .logo.desktop-only {
    display: none !important;
  }

  /* First row: Burger, Logo, Language in one line - exactly like promo */
  .header .wrap .mobile-header-row {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding: 0;
    justify-self: start;
  }

  .header .wrap .mobile-header-row .burger {
    font-size: 1.35rem;
    padding: 0.3rem;
    flex-shrink: 0;
  }

  .header .wrap .logo.mobile-only {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    font-size: 0.78rem;
    position: static;
    transform: none;
    padding-bottom: 0;
    border-bottom: none;
    margin: 0;
    display: block !important;
    justify-self: center;
    align-self: center;
    overflow: visible;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header .wrap .lang-switch.mobile-top {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
    min-width: fit-content;
  }

  .header .wrap .lang-switch.mobile-top button {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    min-height: 48px;
  }

  .header .wrap .lang-switch.mobile-top button img {
    width: 20px;
    height: 15px;
  }
  
  /* Force CTA to next line - как на главной, с отступами */
  .header .wrap .mobile-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 1.1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    max-width: 100% !important;
    padding-left: max(0.8rem, var(--safe-area-inset-left)) !important;
    padding-right: max(0.8rem, var(--safe-area-inset-right)) !important;
    box-sizing: border-box !important;
  }
  
  .header-cta {
    padding: 0.6rem 1rem !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    min-height: 56px !important;
  }
  
  .header-cta .cta-text {
    font-size: 1.56rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
    display: inline-block !important;
  }
  
  .header-cta .cta-icons {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin-left: auto !important;
  }
  
  .header-cta .cta-icons {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    margin-left: auto !important;
  }
  
  .header-cta .cta-icon-link {
    width: 28px !important;
    height: 28px !important;
    margin-right: 14px !important; /* 0.5x width of icon (28px) */
    flex-shrink: 0 !important;
  }
  
  .header-cta .cta-icon-link:last-child {
    margin-right: 0 !important;
  }
  
  .header-cta .cta-icon-link img {
    width: 28px !important;
    height: 28px !important;
  }
  
  .header-cta .cta-icons {
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  
  .header-cta .cta-icon-link {
    width: 32px !important;
    height: 32px !important;
    margin-right: 16px !important; /* 0.5x width of icon (32px) */
  }
  
  .header-cta .cta-icon-link:last-child {
    margin-right: 0 !important;
  }
  
  .header-cta .cta-icon-link img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Breadcrumbs mobile spacing */
  nav[aria-label="Breadcrumb"] {
    padding-top: 0.3rem !important;
    margin-bottom: 0.8rem !important;
  }

  .nav {
    display: none !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 240px !important;
    left: -100% !important;
    right: unset !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: calc(100vh - 240px) !important;
    background: rgba(11, 30, 89, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 8px 0 0 !important;
    padding: 0.8rem !important;
    gap: 0.15rem !important;
    z-index: 9999 !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4) !important;
    overflow-y: auto !important;
    will-change: left !important;
    transform: none !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
  }

  .nav.open {
    display: flex !important;
    left: 0 !important;
    right: unset !important;
    transform: none !important;
  }

  .nav a {
    padding: 0.6rem 1rem;
    background: transparent;
    border-radius: 8px;
    text-align: left;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .nav a:hover {
    background: rgba(255, 153, 0, 0.15);
    border-left-color: #f90;
    transform: translateX(4px) !important;
  }

  .hero {
    padding: 2rem 0 1rem 0;
    padding-top: 2rem !important;
    margin-top: 2.5rem !important;
    min-height: auto;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    overflow-x: hidden !important;
  }
  
  .hero .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
    min-width: 0 !important;
  }
  
  .hero .grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .hero > .container,
  .hero > .container > div,
  .hero .grid > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    min-width: 0 !important;
  }
  
  .hero .grid > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: visible !important;
  }
  
  .hero p,
  .hero .list,
  .hero .list li,
  .hero p[style],
  .hero ul[style],
  .hero b,
  .hero strong {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    hyphens: auto !important;
    overflow-x: visible !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: block !important;
  }
  
  .hero p,
  .hero p[style] {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  /* Имя/титул: 21px, bold — исключение из .hero p[style] */
  .hero .hero-name-title {
    font-size: 21px !important;
    font-weight: bold !important;
  }
  
  .hero .list li,
  .hero .list li b,
  .hero .list li strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero .list,
  .hero ul[style] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.5rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  
  .hero .list li {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 1rem !important;
    margin-right: 0 !important;
    padding-left: 1.5rem !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }
  
  .hero .list li::before {
    left: 0 !important;
  }
  
  .hero .list li b,
  .hero .list li strong {
    display: inline !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin: 0.8rem 0;
  }

  .hero .list {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero .list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
  }

  .hero-img {
    order: -1;
  }

  .hero-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  
  .hero picture.mobile-only {
    max-width: 100%;
    width: 100%;
  }
  
  .hero-mobile-buttons {
    display: flex !important;
    visibility: visible !important;
  }
  
  /* Mobile portrait image styling */
  .hero picture.mobile-only {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  
  .hero picture.mobile-only img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    object-fit: cover !important;
  }
  
  .hero-mobile-buttons {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 !important;
    width: 100%;
  }

  .hero-mobile-imd,
  .hero .hero-mobile-buttons a.hero-mobile-imd {
    display: flex !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 169px !important;
    height: 46px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: white !important;
    padding: 4px 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .hero-mobile-imd img,
  .hero .hero-mobile-buttons a.hero-mobile-imd img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
  }

  .hero-mobile-buttons .hero-social-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: 60px;
    visibility: visible !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
  }
  
  .hero-mobile-buttons .hero-social-link:hover,
  .hero-mobile-buttons .hero-social-link:hover .hero-social-label {
    color: #f90;
  }
  
  .hero-mobile-buttons .hero-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  .hero-mobile-buttons .hero-social-link[href*="t.me"] .hero-social-icon {
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Перенос как в футере: @Business<wbr>Unfiltered, @shevchenko_<wbr>solutions */
  .hero-mobile-buttons .hero-social-label {
    font-size: 0.7rem;
    text-align: center;
    max-width: 80px;
    word-break: break-word;
    line-height: 1.3;
  }

  .section {
    padding: 2rem 1rem;
  }

  /* Ensure first section doesn't overlap with header */
  body > .section:first-of-type,
  body > main > .section:first-of-type,
  body > main .section:first-of-type {
    padding-top: 3rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .section h3 {
    font-size: 1.3rem;
  }

  .cardgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .case-gallery {
    gap: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .case-gallery img {
    width: 85vw;
    height: 240px;
  }

  .posts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-grid,
  .pricing-grid-two {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .pricing-description {
    min-height: auto;
  }

  #cookie-banner {
    padding: 1rem 1rem;
    padding-bottom: max(1rem, var(--safe-area-inset-bottom));
  }

  .cookie-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Add padding to body when cookie banner is visible on mobile */
  body:has(#cookie-banner:not(.hidden)) {
    padding-bottom: 200px;
  }

  .cookie-text-main {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .cookie-text-main a {
    font-size: 0.9rem;
    font-weight: 600;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-buttons button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  #cookie-modal .cookie-modal-content {
    width: 94%;
    max-width: 400px;
    padding: 1.25rem 1rem;
  }

  #cookie-modal .cookie-modal-content h3 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }

  #cookie-modal .cookie-modal-content label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0.6rem;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 48px;
    font-size: 0.9rem !important;
  }

  #cookie-modal .cookie-modal-content label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px !important;
    height: 20px !important;
  }

  #cookie-modal .cookie-modal-content label span,
  #cookie-modal .cookie-modal-content label strong {
    flex: 1;
    text-align: left;
    line-height: 1.5;
  }

  #cookie-modal .cookie-modal-content .cookie-modal-actions button {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    min-height: 48px;
  }

  #cookie-modal .cookie-modal-content .cookie-close {
    top: 8px;
    right: 12px;
    font-size: 1.5rem;
  }

  .footer {
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
    padding-left: max(1rem, var(--safe-area-inset-left));
    padding-right: max(1rem, var(--safe-area-inset-right));
    line-height: 1.8;
  }
}

/* ===== VERY SMALL SCREENS (max-width: 375px) ===== */
@media (max-width: 375px) {
  body {
    padding-top: 135px;
  }

  .header .wrap {
    padding: 0.4rem 0.6rem;
    gap: 0.3rem;
  }

  .header .wrap .logo.mobile-only {
    font-size: 0.78rem;
    padding-bottom: 0;
  }
  
  .header .wrap .logo.desktop-only {
    display: none !important;
  }

  .header .wrap .mobile-header-row {
    padding: 0.3rem 0;
  }

  .header .wrap .mobile-header-row .burger {
    font-size: 1.25rem;
    padding: 0.25rem;
  }

  .header .wrap .mobile-header-row .lang-switch button {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  .header .wrap .mobile-cta {
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    margin-top: 0.3rem;
  }

  .nav {
    top: 135px !important;
    left: -100% !important;
    right: unset !important;
    height: calc(100vh - 135px);
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  
  .nav.open {
    left: 0 !important;
    right: unset !important;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero .list li {
    font-size: 0.9rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .case-gallery img {
    width: 90vw;
  }
}

/* Hide mobile lang switch on desktop - must be after mobile rules */
@media (min-width: 1101px) {
  .lang-switch.mobile-top,
  .header .wrap .lang-switch.mobile-top,
  .header .wrap .lang-switch.mobile-top button,
  .header .wrap .lang-switch.mobile-top ul {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
}

/* ===== TABLET CONTENT (769px - 1100px) ===== */
@media (min-width: 769px) and (max-width: 1100px) {
  .hero .grid {
    gap: 2rem;
  }

  .cardgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-gallery img {
    width: 350px;
    height: 260px;
  }
}

/* ===== LARGE DESKTOP (1400px+) ===== */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .header .wrap {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ===== EXTRA WIDE FOR RU/UK MENUS (1300px-1400px) ===== */
@media (min-width: 1200px) and (max-width: 1350px) {
  .nav {
    gap: 0.8rem;
  }
  
  .nav a {
    font-size: 0.82rem;
  }
}

/* ===== 404 ERROR PAGE ===== */
.error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0b1e59 0%, #5b2e91 100%);
  position: relative;
  overflow: hidden;
}


.error-container {
  max-width: 720px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
}

.error-code {
  font-family: var(--font-head);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: white;
  margin-bottom: 0.5rem;
}

.error-dot {
  color: #f90;
}

.error-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 600;
  color: white;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.error-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 2.5rem 0;
}

.error-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #f90;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #e88a00;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  border: 1px solid white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f90;
}

.error-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-link:hover {
  color: #f90;
}

/* Mobile styles for 404 page */
@media (max-width: 1100px) {
  .error-page {
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 200px);
  }

  .error-container {
    max-width: 100%;
  }

  .error-code {
    font-size: 110px;
  }

  .error-title {
    font-size: 26px;
    margin-bottom: 1rem;
  }

  .error-description {
    font-size: 16px;
    margin-bottom: 2rem;
  }

  .error-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 48px;
  }

  .error-link {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 375px) {
  .error-code {
    font-size: 80px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-description {
    font-size: 14px;
  }
}

/* ===== PROMO PAGE STYLES ===== */

/* ===== PROMO-MILITARY-CRISIS PAGE: hero-section, white-section, etc. ===== */
.hero-section {
  background: linear-gradient(135deg, #0b1e59 0%, #5b2e91 100%);
  width: 100%;
  max-width: 100%;
  padding: 4rem 0 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-section .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-section .hero-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-section .hero-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-section .hero-title span {
  color: #f90;
}

.hero-section .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.hero-section .hero-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

/* Hero img: full width, adaptive. !important to override .hero-img from main page */
.hero-section img.hero-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  height: auto !important;
}

.white-section {
  background: #fff;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.white-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.white-section .section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.white-section .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.white-section .section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.white-section .section-title.dark {
  color: #1a1f3a;
}

.white-section .section-title.orange {
  color: #f90;
}

.white-section .body-text {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quick-scan {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.quick-scan .scan-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1f3a;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f90;
  font-weight: 700;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.how-item {
  text-align: center;
  padding: 1rem;
}

.how-num {
  font-size: 2rem;
  font-weight: 700;
  color: #f90;
  margin-bottom: 0.25rem;
}

.how-text {
  font-size: 0.95rem;
  color: #555;
}

.price-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
}

.price-tag {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #1a1f3a;
}

.price-note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.white-section .btn-secondary {
  background: transparent;
  color: #1a1f3a;
  border: 2px solid #1a1f3a;
}

.white-section .btn-secondary:hover {
  background: rgba(26, 31, 58, 0.08);
  border-color: #f90;
  color: #1a1f3a;
}

.proof-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.proof-img-grid .proof-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.proof-carousel {
  display: none;
}

.proof-carousel-dots {
  display: none;
}

.priority {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.priority-item {
  flex: 1;
  min-width: 180px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border-left: 4px solid #f90;
}

.p-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.p-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1f3a;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.proof-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.proof-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f90;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric {
  text-align: center;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 12px;
}

.metric-value {
  font-family: var(--font-head);
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f90;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #555;
}

.result-callout {
  background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
  border: 2px solid #f90;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.result-callout p {
  margin: 0;
  font-size: 1.1rem;
  color: #1a1f3a;
  line-height: 1.6;
}

.engagement-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
}

.engagement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.engagement-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.engagement-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f90;
  font-weight: 700;
}

.cta-section {
  background: linear-gradient(135deg, #0b1e59 0%, #5b2e91 100%);
  padding: 4rem 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.cta-headline {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cta-section .cta-group {
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero-section {
    padding: 2rem 0 0;
  }

  .hero-section .hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section .hero-title {
    font-size: 1.75rem;
  }

  .hero-section .hero-subtitle,
  .hero-section .hero-lead {
    font-size: 1rem;
  }

  .white-section {
    padding: 2rem 1rem;
  }

  .white-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .white-section .section-title {
    font-size: 1.5rem;
  }

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

  .proof-img-grid {
    display: none;
  }

  .proof-carousel {
    display: flex;
    margin: 1.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
  }

  .proof-carousel::-webkit-scrollbar {
    display: none;
  }

  .proof-carousel img {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: auto;
    object-fit: cover;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: block;
  }

  .proof-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .proof-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
  }

  .proof-carousel-dot.active {
    background: #f90;
  }

  .priority {
    flex-direction: column;
  }

  .priority-item {
    min-width: 100%;
  }

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

  .price-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-headline {
    font-size: 1.5rem;
  }
}

/* Мобильный header для promo-military-page: flex layout + один CTA */
@media (max-width: 1100px) {
  body.promo-military-page {
    padding-top: 155px !important; /* new compact header CTA: header ~147px tall (was 130px for the old icon CTA) */
  }
  .promo-military-page .hero-section {
    padding-top: 1.6rem !important;
  }
  .promo-military-page .header .wrap .cta-link.desktop-only {
    display: none !important;
  }
  .promo-military-page .header .wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0.8rem !important;
  }
  .promo-military-page .header .wrap .mobile-header-row {
    order: 1;
    flex: 0 0 auto;
  }
  .promo-military-page .header .wrap .logo.mobile-only {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.85rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .promo-military-page .header .wrap .lang-switch.mobile-top {
    order: 3;
    flex-shrink: 0;
  }
  .promo-military-page .header .wrap .mobile-cta {
    order: 4;
    width: 100% !important;
    margin-top: 0.6rem !important;
  }
  .promo-military-page .header-cta .cta-text {
    font-size: 1.1rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 375px) {
  .promo-military-page .header .wrap .logo.mobile-only {
    font-size: 0.78rem !important;
  }
}

/* Футер promo-military на мобильных — стабильная раскладка */
@media (max-width: 1100px) {
  .promo-military-page .footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .promo-military-page .footer .footer-text {
    order: 1;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .promo-military-page .footer .footer-social {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .promo-military-page .footer .footer-social-label {
    max-width: 140px;
    word-break: break-word;
    text-align: center;
  }
}

/* Мобильный header в 1 строку для promo страницы */
@media (max-width: 1100px) {
  .promo-page .header .wrap {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
  }
  
  .promo-page .header .wrap .logo.desktop-only {
    display: none !important;
  }
  
  .promo-page .header .wrap .logo.mobile-only {
    order: 2;
    flex: 1;
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 0.95rem;
    margin: 0;
    display: block !important;
  }
  
  .promo-page .header .wrap .mobile-header-row {
    order: 1;
    flex: 0 0 auto;
    width: auto;
    display: flex;
  }
  
  .promo-page .header .wrap .mobile-header-row .burger {
    flex-shrink: 0;
  }
  
  /* Язык отдельно справа */
  .promo-page .header .wrap .lang-switch.desktop-only {
    display: none !important;
  }
  
  .promo-page .header .wrap .lang-switch.mobile-top {
    order: 3;
    display: block !important;
    flex-shrink: 0;
  }
  
  /* Скрыть mobile-cta в header на promo странице */
  .promo-page .header .mobile-cta {
    display: none !important;
  }
}


/* Back link перед футером (оранжевый, как в cookie policy) — переопределяет .section.legal a */
.faq-back-link {
  display: block;
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  padding: 0 1rem;
}
.faq-back-link a,
.section.legal .faq-back-link a {
  display: inline-block !important;
  background-color: #f90 !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
.faq-back-link a:hover,
.section.legal .faq-back-link a:hover {
  background-color: #e88a00 !important;
}

/* Фиксированная зона под header */
.fixed-top-zone {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: 0.5rem;
}

/* CTA кнопка */
.promo-cta {
  background: #FF9900;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 6px;
  margin: 1.2rem 1rem 0.5rem 1rem;
  width: calc(100% - 2rem);
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.cta-text {
  color: white;
  font-weight: 700;
  font-size: 1.35rem;
  font-family: var(--font-head);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-icons {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.cta-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 22px; /* 0.5x width of icon (44px) */
}

.cta-icon-link:last-child {
  margin-right: 0;
}

.cta-icon-link:hover {
  transform: translateY(-2px);
}

.cta-icon-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 0;
  display: block;
}

/* Промо-баннер */
.promo-banner {
  background-color: #FE5D31;
  color: #FFEB3B;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
  border-radius: 6px;
  margin: 0.5rem 1rem 1rem 1rem;
  width: calc(100% - 2rem);
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(254, 93, 49, 0.3);
  min-height: 50px;
}

.promo-text {
  flex: 1;
  line-height: 1.5;
  color: #FFEB3B;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.promo-icon {
  background: transparent;
  color: #FFEB3B;
  width: auto;
  height: auto;
  min-width: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Отступ для контента promo страницы */
body.promo-page {
  padding-top: 280px;
  overflow-x: hidden;
  max-width: 100vw;
}

.promo-content {
  min-height: calc(100vh - 160px);
  width: 100%;
  max-width: 100%;
}

/* Promo секции */
.promo-about,
.promo-services,
.promo-cases {
  background: white;
  padding: 2rem 1rem;
  width: 100%;
  max-width: 100%;
}

.about-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h3 {
  font-weight: 700;
  font-family: var(--font-head);
  color: #1a1f3a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.about-text p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-align: left;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: #f90;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.15);
}

.service-card h4 {
  font-family: var(--font-body);
  color: #1a1f3a;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.case-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-card {
  display: flex;
  gap: 1rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.case-card:hover {
  border-color: #f90;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.15);
  transform: translateY(-2px);
}

.case-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.case-content h4 {
  font-family: var(--font-body);
  color: #1a1f3a;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.case-content p {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.promo-footer {
  background: #1a1f3a;
  padding: 1.5rem 1rem;
  width: 100%;
  max-width: 100%;
}

.promo-footer .container {
  width: 100%;
  max-width: 100%;
}

.promo-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f90;
}

.promo-footer .footer-social-link {
  color: rgba(255, 255, 255, 0.9);
}

.promo-footer .footer-social-link:hover,
.promo-footer .footer-social-link:hover .footer-social-label {
  color: #f90;
}

@media (min-width: 1101px) {
  .promo-footer .footer-inner {
    justify-content: flex-start;
  }

  .promo-footer .footer-social {
    order: 1;
  }

  .promo-footer .footer-links {
    order: 2;
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .promo-footer .footer-inner {
    justify-content: space-between;
  }

  .promo-footer .footer-links {
    order: 1;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }

  .promo-footer .footer-social {
    order: 2;
  }
}

/* Мобильные адаптации для promo */
@media (max-width: 1100px) {
  .fixed-top-zone {
    top: 60px;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .promo-cta {
    padding: 0.8rem 1rem;
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    border-radius: 24px;
  }
  
  .cta-text {
    font-size: 1.4rem;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .cta-icons {
    flex-shrink: 0;
  }
  
  .cta-icon-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    background: transparent;
  }
  
  .promo-banner {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin: 0 1rem 0.5rem 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    border-radius: 24px;
  }
  
  .promo-icon {
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
    min-width: 22px;
    min-height: 22px;
  }
  
  .fixed-top-zone {
    top: 75px;
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0.4rem;
  }

  .promo-cta {
    padding: 0.75rem 1rem;
    margin: 0.5rem 1rem 0.35rem 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    border-radius: 6px;
  }

  .cta-text {
    font-size: 1.2rem;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cta-icons {
    flex-shrink: 0;
    gap: 0;
  }

  .cta-icon-link {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 8px;
    margin-right: 20px; /* 0.5x width of icon (40px) */
  }

  .cta-icon-link:last-child {
    margin-right: 0;
  }

  .cta-icon-link img {
    width: 40px;
    height: 40px;
  }

  .promo-banner {
    font-size: 1.0rem;
    padding: 0.7rem 1rem;
    margin: 0.5rem 1rem 1rem 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    border-radius: 6px;
    min-height: 44px;
  }

  .promo-text {
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .promo-icon {
    width: auto;
    height: auto;
    font-size: 2rem;
    min-width: 24px;
  }

  body.promo-page {
    padding-top: 175px;
  }
  
  .promo-content {
    width: 100%;
    max-width: 100%;
  }
  
  .promo-about,
  .promo-services,
  .promo-cases {
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
  }
  
  .about-content {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
  }

  .about-text {
    text-align: left;
    width: 100%;
  }

  .about-text h3 {
    font-size: 1.05rem;
    text-align: left;
  }

  .about-text p {
    font-size: 0.85rem;
    text-align: left;
  }

  .about-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .about-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  
  .about-text {
    text-align: left;
    width: 100%;
  }
}

/* Дополнительные исправления для promo страниц */
.promo-page .container {
  width: 100%;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .promo-page .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .promo-page .section {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
}

/* ===== DESKTOP IMPROVEMENTS FOR PROMO PAGES (min-width: 1101px) ===== */
@media (min-width: 1101px) {
  /* 1. Hide duplicate mobile language switcher */
  .promo-page .lang-switch.mobile-top {
    display: none !important;
  }

  /* 2. CTA и плашка скидки - в одну строку, каждая по 20% ширины экрана */
  .promo-page .fixed-top-zone {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    margin-top: 0.5rem;
  }

  .promo-page .promo-cta {
    width: 20vw;
    margin: 1.2rem 0 0.5rem 1rem;
    flex-shrink: 0;
  }

  .promo-page .promo-cta .cta-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
  }

  .promo-page .promo-cta .cta-text .cta-line {
    display: block;
  }

  .promo-page .promo-banner {
    width: 20vw;
    margin: 1.2rem 0 0.5rem 1rem;
    flex-shrink: 0;
  }

  /* 3. Белое поле с контентом - шириной на весь экран */
  .promo-page main.promo-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .promo-page .promo-about,
  .promo-page .promo-services,
  .promo-page .promo-cases {
    width: 100%;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .promo-page .promo-about .container,
  .promo-page .promo-services .container,
  .promo-page .promo-cases .container {
    max-width: 100%;
    width: 100%;
  }

  /* 4. Портрет полноразмерный, как на главной */
  .promo-page .promo-about .about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }

  .promo-page .promo-about .about-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    flex-shrink: 0;
  }

  /* 5. Services cards - 2 columns grid */
  .promo-page .promo-services .service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* 6. Case studies - 2 columns grid */
  .promo-page .promo-cases .case-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* 7. Footer: buttons left, links centered */
  .promo-page .promo-footer .container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
  }

  .promo-page .promo-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .promo-page .promo-footer .footer-links {
    justify-content: center;
  }
}

/* Force mobile nav to open from LEFT - highest specificity - MUST BE LAST */
@media (max-width: 1100px) {
  nav.nav,
  .nav,
  header .nav,
  body .nav,
  header nav.nav,
  body header nav.nav {
    left: -100% !important;
    right: unset !important;
  }
  
  nav.nav.open,
  .nav.open,
  header .nav.open,
  body .nav.open,
  header nav.nav.open,
  body header nav.nav.open {
    left: 0 !important;
    right: unset !important;
    transform: none !important;
  }
}

/* Fix для Safari: уменьшаем левый padding CTA кнопки на desktop */
body .header .cta-link.desktop-only.header-cta,
body header .cta-link.desktop-only.header-cta {
  padding-left: 0.63rem !important;
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
}

/* ===== DESIGN CLEANUP PASS #1 ===== */

/* Case numbering + category tag */
.case-title {
  font-family: var(--font-head);
}

.case-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #0b1e59;
  margin-bottom: 4px;
}

.case-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f90;
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .case-number {
    font-size: 40px;
  }
}

/* Service icons (Lucide) */
.service-icon {
  color: #f90;
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1100px) {
  .service-icon,
  .service-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Testimonial typographic quote mark */
.testimonial blockquote {
  position: relative;
  z-index: 1;
}

.testimonial blockquote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
  color: #0b1e59;
  opacity: 0.12;
  z-index: 0;
  font-style: normal;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .testimonial blockquote::before {
    font-size: 56px;
    top: -6px;
    left: 10px;
  }
}

/* ===== DESIGN CLEANUP PASS #2: PRICING REDESIGN ===== */

/* Manifesto paragraph - sets the editorial tone */
#pricing .manifesto {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #1a1f3a;
  max-width: 720px;
  margin: 0 0 3rem 0;
  font-weight: 400;
}

@media (max-width: 1100px) {
  #pricing .manifesto {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* Engagement row - editorial layout */
.engagement-row {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.engagement-row:first-of-type {
  border-top: 1px solid #e0e0e0;
}

/* Hero retainer row - more vertical space, slightly bigger */
.engagement-row-hero {
  padding: 2rem 0;
  grid-template-columns: 200px 1fr 200px;
  grid-template-areas:
    "tier subtitle price"
    "tier description price";
  gap: 1rem 2rem;
}

.engagement-row-hero .engagement-tier {
  grid-area: tier;
}

.engagement-row-hero .engagement-subtitle {
  grid-area: subtitle;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1f3a;
  margin-bottom: 0.25rem;
}

.engagement-row-hero .engagement-description {
  grid-area: description;
}

.engagement-row-hero .engagement-price {
  grid-area: price;
}

/* Tier label and marker */
.engagement-tier {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0b1e59;
  text-transform: uppercase;
}

.engagement-row-hero .tier-label {
  font-size: 1.1rem;
}

.tier-marker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f90;
  text-transform: uppercase;
}

/* Description text */
.engagement-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Price */
.engagement-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1f3a;
  line-height: 1;
}

.engagement-row-hero .price-amount {
  font-size: 2rem;
}

.price-amount-custom {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
}

.price-unit {
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #888;
}

/* Subgroup heading (Single-issue / Hands-on / Alternative / How I work) */
#pricing .engagements-subgroup {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 3rem 0 1rem 0;
  text-align: left;
}

/* Alternative arrangements block */
.alternative-arrangements {
  margin-top: 3rem;
  padding: 2rem;
  background: #f9f9f9;
  border-left: 3px solid #f90;
  border-radius: 0 8px 8px 0;
}

.alternative-arrangements .engagements-subgroup {
  font-weight: 700;
  font-family: var(--font-body);
  margin-top: 0;
  margin-bottom: 1rem;
  color: #1a1f3a;
}

.alternative-arrangements p {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin: 0;
}

/* How I work block */
.how-i-work {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.how-i-work .engagements-subgroup {
  font-weight: 700;
  font-family: var(--font-body);
  margin-top: 0;
  color: #1a1f3a;
}

.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.principles-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
}

.principles-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -0.2em;
  color: #f90;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

/* Mobile adaptations for pricing redesign */
@media (max-width: 1100px) {
  .engagement-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem 0;
  }

  .engagement-row-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tier"
      "subtitle"
      "description"
      "price";
    gap: 0.75rem;
    padding: 2rem 0;
  }

  .engagement-tier {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .engagement-price {
    text-align: left;
    align-items: flex-start;
    flex-direction: row;
    gap: 0.5rem;
    align-items: baseline;
  }

  .price-amount {
    font-size: 1.5rem;
  }

  .engagement-row-hero .price-amount {
    font-size: 1.75rem;
  }

  #pricing .engagements-subgroup {
    margin: 2rem 0 1rem 0;
  }

  .alternative-arrangements {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .how-i-work {
    margin-top: 2rem;
  }
}

/* ===== ENGAGEMENT GROUPS: Retainer hero + Consultations / Special Protocols / Presence Formats ===== */

:root {
  --accent-retainer: #f90;
  --accent-consult: #64748B;
  --accent-special: #8B6F47;
  --accent-presence: #A8A29E;
}

/* Shared card treatment: RETAINER hero + every grouped card render as
   full-width rows with a left accent bar, soft shadow, rounded corners, and
   a subtle hover lift. Per-group differentiation is by left-border color
   and (for the CRISIS-READY card) a warm-cream background. */
.engagement-row-hero,
.engagement-row-consult,
.engagement-row-presence,
.engagement-row-special {
  background: #fff;
  border-top: none;
  border-bottom: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  margin: 0.75rem 0;
  border-left: 4px solid var(--accent-consult);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.engagement-row-hero {
  border-left-color: var(--accent-retainer);
  padding: 1.75rem 1.5rem;
  margin: 1.25rem 0 2rem 0;
}

.engagement-row-presence {
  border-left-color: var(--accent-presence);
}

.engagement-row-special {
  background: #FAF7F1;
  border-left-width: 6px;
  border-left-color: var(--accent-special);
  margin: 1rem 0;
}

.engagement-row-special .engagement-description {
  color: #1a1f3a;
}

/* Suppress the .engagement-row :first-of-type top-border for any styled card */
.engagement-row-hero:first-of-type,
.engagement-row-consult:first-of-type,
.engagement-row-presence:first-of-type,
.engagement-row-special:first-of-type {
  border-top: none;
}

.engagement-row-hero:hover,
.engagement-row-consult:hover,
.engagement-row-presence:hover,
.engagement-row-special:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

/* Tier column: icon next to label, horizontal */
.engagement-row-consult .engagement-tier,
.engagement-row-presence .engagement-tier,
.engagement-row-special .engagement-tier {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

/* Inline icon */
.engagement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.engagement-icon svg {
  width: 32px;
  height: 32px;
}

.engagement-row-consult .engagement-icon svg {
  stroke: var(--accent-consult);
}

.engagement-row-presence .engagement-icon svg {
  stroke: var(--accent-presence);
}

.engagement-row-special .engagement-icon svg {
  stroke: var(--accent-special);
}

/* Inline "Learn more" link inside CRISIS-READY description */
.engagement-learn-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-special);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.engagement-learn-more:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Mobile: shrink icon + softer padding */
@media (max-width: 768px) {
  .engagement-icon svg {
    width: 24px;
    height: 24px;
  }

  .engagement-row-hero,
  .engagement-row-consult,
  .engagement-row-presence,
  .engagement-row-special {
    padding: 1.25rem;
  }
}

/* ===== SERVICE LADDER (Phase 1, Task 1.2) — engagement staircase + collapsible disclosures ===== */

.ladder {
  margin: 1.25rem 0 0 0;
}

/* Each rung = a white card with a left accent bar (mirrors the engagement card treatment) */
.ladder-step {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #0b1e59;
  padding: 1.5rem 1.75rem;
  margin: 0.85rem 0;
  scroll-margin-top: 96px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ladder-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

/* The anchor format (Установка процесса) gets the orange accent + heavier bar */
.ladder-step-main {
  border-left-width: 6px;
  border-left-color: #f90;
}

/* Header: number + title on the left, price on the right */
.ladder-step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.ladder-step-id {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  min-width: 0;
}

.ladder-step-num {
  font-family: var(--font-head);
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: #f90;
  font-variant-numeric: tabular-nums;
}

.ladder-step-titles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ladder-step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0b1e59;
}

.ladder-step-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f90;
}

/* Price block reuses .price-amount / .price-unit text styles */
.ladder-step-price {
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  white-space: nowrap;
}

.ladder-step-note {
  font-weight: 400;
  font-family: var(--font-body);
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.1rem;
}

/* Body text under the header */
.ladder-step-body {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  max-width: 64ch;
}

.ladder-step-body p {
  margin: 0;
}

.ladder-step-body p + p {
  margin-top: 0.7rem;
}

.ladder-step-body a {
  color: #0b1e59;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ladder-step-body a:hover {
  color: #f90;
}

/* "Индивидуально" amount: no italic inside the ladder (global .price-amount-custom stays italic for en/uk) */
.ladder-step-price .price-amount-custom {
  font-style: normal;
}

/* Projects list (rung 3) — orange-bullet treatment with a bold lead-in */
.ladder-projects {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0 0;
}

.ladder-projects li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #444;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ladder-projects li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: -0.2em;
  color: #f90;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

.ladder-projects li strong {
  color: #0b1e59;
}

/* Collapsible disclosure (rung 2 "Какие процессы я ставлю" / rung 3 "Примеры проектов") — native details/summary, no JS */
.ladder-disclosure {
  margin-top: 1.1rem;
  border-top: 1px solid #ececec;
}

.ladder-disclosure > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.9rem 2rem 0.9rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.ladder-disclosure > summary::-webkit-details-marker {
  display: none;
}

.ladder-disclosure > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: #f90;
}

.ladder-disclosure[open] > summary::after {
  content: "\2212";
}

.ladder-disclosure > summary:hover {
  color: #f90;
}

.ladder-disclosure > summary:focus-visible {
  outline: 2px solid #f90;
  outline-offset: 2px;
  border-radius: 2px;
}

.ladder-disclosure-body {
  padding-bottom: 0.4rem;
}

/* Flattened process rows: pain heading + result description, zebra-striped (tone separates, no hairlines) */
.process-row {
  border-top: none;
  padding: 0.85rem 1rem;
  border-radius: 6px;
}

.process-row:nth-child(odd) {
  background: #f6f7f9;
}

.process-row-pain {
  margin: 0 0 0.25rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0b1e59;
}

.process-row-result {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #555;
}

.process-item-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
}

/* On-site add-on — visually distinct from the numbered rungs */
.ladder-addon {
  border-left-style: solid;
  border-left-color: #c9ccd6;
  background: #fafafa;
}

@media (max-width: 1100px) {
  .ladder-step {
    padding: 1.25rem;
  }

  .ladder-step-head {
    flex-direction: column;
    gap: 0.6rem;
  }

  .ladder-step-price {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
  }

  .ladder-step-note {
    flex-basis: 100%;
    white-space: normal;
  }

  .ladder-step-title {
    font-size: 1.1rem;
  }
}

/* ===== PAID-TRAFFIC LANDING (Phase 2, ru/_promo.html) ===== */

.hero-section .hero-eyebrow {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f90;
  max-width: 660px;
  margin: 0 0 1.1rem;
}

.hero-section .hero-bullets {
  max-width: 680px;
  margin: 1.75rem 0 0;
  text-align: left;
}

.hero-section .hero-bullets li {
  color: rgba(255, 255, 255, 0.9);
}

.hero-section .hero-bullets li strong {
  color: #fff;
}

/* Hero with portrait: flat navy like the main site (no gradient), text column + photo */
.promo-landing-page .hero-section {
  background: #0b1e59;
  padding-bottom: 3rem;
}

/* Thank-you confirmation (ru/_promo-thank-you.html): a single centered column
   that fills the viewport. The landing hero is a left-aligned 2-column grid
   (text + portrait); this page has no portrait, so center everything instead
   of leaving the text hugging the left. Scoped to .promo-thankyou-page so the
   main landing (_promo.html) is never affected. */
.promo-thankyou-page .hero-section {
  min-height: calc(100vh - 60px); /* fill screen below the 60px header - no dead space under the footer */
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.promo-thankyou-page .hero-inner {
  max-width: 680px;
  text-align: center;
}

.promo-thankyou-page .hero-eyebrow,
.promo-thankyou-page .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.promo-thankyou-page .hero-subtitle {
  max-width: 600px;
}

/* The site-wide mobile rule pads body 200px for the tall main header; the landing header is minimal */
@media (max-width: 1100px) {
  body.promo-landing-page {
    padding-top: 60px;
  }

  html:has(body.promo-landing-page) {
    scroll-padding-top: 80px;
  }

  /* Landing footer: stack centered (the site-wide text-left/icons-right split collapses at narrow widths) */
  .promo-landing-page .footer .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .promo-landing-page .footer .footer-social {
    order: 1;
    gap: 1.5rem;
  }

  .promo-landing-page .footer .footer-text {
    order: 2;
    text-align: center;
    flex: 0 0 auto;
  }
}

/* Slightly larger slogan on the landing, with more air above and below */
.promo-landing-page .hero-title {
  font-family: var(--font-head);
  font-size: 2.6rem;
  margin: 1.75rem 0 1.5rem;
}

.promo-hero-grid {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.promo-hero-main {
  flex: 1 1 auto;
  min-width: 0;
}

.promo-hero-portrait {
  flex: 0 0 auto;
  width: 300px;
  max-width: 32vw;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: block;
  /* pin to the bottom of the text column so the portrait top lands at the
     slogan level instead of floating up to the eyebrow (grid stays centered) */
  align-self: flex-end;
}

.promo-cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

.promo-cta-wrap.promo-cta-left {
  text-align: left;
}

.promo-cta-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #888;
  max-width: 540px;
}

.promo-cta-wrap:not(.promo-cta-left) .promo-cta-note {
  margin-left: auto;
  margin-right: auto;
}

.hero-section .promo-cta-note {
  color: rgba(255, 255, 255, 0.72);
}

.promo-case-card p {
  margin-bottom: 0.55rem;
}

.promo-case-card p:last-child {
  margin-bottom: 0;
}

/* Equal-height cards in a row: pin the author block / case link to the bottom */
.promo-case-card {
  display: flex;
  flex-direction: column;
}

.promo-case-card .actions {
  margin-top: auto;
  padding-top: 1.25rem;
}

/* Case number in ladder-accent orange */
.promo-case-card .case-number {
  font-size: 2rem;
  font-weight: 800;
  color: #f90;
  margin-bottom: 0.5rem;
}

/* "Читать кейс" with a light warm highlight */
.promo-case-card .linkbtn {
  background: #fff7ec;
  border-color: rgba(255, 153, 0, 0.4);
  color: #0b1e59;
}

.promo-case-card .linkbtn:hover {
  background: #ffedd2;
  border-color: #f90;
}

/* Landing footer: labels must not break mid-word */
.promo-landing-page .footer-social-label {
  max-width: none;
  word-break: normal;
  white-space: nowrap;
}

.promo-quote-card {
  display: flex;
  flex-direction: column;
}

.promo-quote-card blockquote {
  flex: 1 1 auto;
}

.promo-quote-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-style: italic;
}

.promo-quote-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececec;
}

/* Client photo avatar */
.promo-quote-author .promo-quote-photo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.promo-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.promo-quote-author strong {
  color: #0b1e59;
  font-size: 0.98rem;
}

.promo-quote-author span {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.45;
}

.process-turnaround {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #fff7ec;
  border-left: 3px solid #f90;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1f3a;
}

.promo-principles {
  margin-top: 2rem;
}

.promo-principles .engagements-subgroup {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 1rem 0;
}

.promo-ladder-close {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #1a1f3a;
}

.promo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.promo-form-grid > * {
  min-width: 0;
}

.promo-aside-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b1e59;
  margin-bottom: 1rem;
}

.promo-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.75rem;
}

.promo-form-field {
  margin-bottom: 1.1rem;
}

.promo-form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1f3a;
  margin-bottom: 0.4rem;
}

.promo-req {
  color: #f90;
}

.promo-form-field input,
.promo-form-field textarea,
.promo-form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #1a1f3a;
  background: #fff;
  border: 1px solid #ccd0da;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.promo-form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
}

.promo-form-field input::placeholder,
.promo-form-field textarea::placeholder {
  color: #9aa0ad;
}

.promo-form-field input:focus,
.promo-form-field textarea:focus,
.promo-form-field select:focus {
  outline: none;
  border-color: #f90;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

.promo-form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.promo-form-submit {
  width: 100%;
  margin-top: 0.25rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  font-family: inherit;
  white-space: normal;
}

@media (max-width: 768px) {
  .promo-form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .promo-form {
    padding: 1.25rem;
  }

  .promo-hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .promo-hero-portrait {
    width: min(280px, 75%);
    max-width: none;
    margin: 0 auto;
  }

  .promo-landing-page .hero-title {
    font-size: 2rem;
    margin: 1.25rem 0 1rem;
  }
}

/* ===== HEADER CTA REDESIGN (laconic book button + WhatsApp float, 2026-06-10) =====
   New header CTA = plain .cta-link anchor (no .header-cta wrapper, no icons).
   Selectors use :not(.header-cta) so pages still on the old markup are untouched. */
@media (min-width: 1101px) {
  /* center label; overrides .desktop-only{display:block} */
  .header .wrap .cta-link:not(.header-cta) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
}
@media (max-width: 1100px) {
  /* restore flex centering over .mobile-cta{display:block};
     label scales with viewport and may wrap to 2 lines on narrow screens */
  .header .wrap .mobile-cta.cta-link:not(.header-cta) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-size: clamp(1.25rem, 6.4vw, 1.5rem) !important; /* beats .header .wrap .mobile-cta{font-size:.9rem!important} */
    white-space: normal;
    line-height: 1.2;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }
  /* mobile header polish: bigger logo (crisis page keeps its own tuned sizes) */
  body:not(.promo-military-page) .header .wrap .logo.mobile-only {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }
  /* tighter gap between fixed header and hero (index pages only carry .hero);
     selector matches legacy section.hero{...!important} to out-cascade it */
  section.hero {
    margin-top: 0 !important;
    padding-top: 1.25rem !important;
  }
  /* new compact header is ~146px tall on mobile; legacy body paddings
     (200px at <=1100px, 135px at <=375px) were sized for the old icon CTA.
     :has() scopes this to pages already on the new header markup. */
  html:has(.header .wrap .mobile-cta.cta-link:not(.header-cta)) {
    scroll-padding-top: 160px;
  }
  body:has(.header .wrap .mobile-cta.cta-link:not(.header-cta)) {
    padding-top: 150px;
  }
}

/* Floating WhatsApp button (WA moved out of the header CTA) */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500; /* above header (1000), below cookie banner (2000) */
  display: block;
  width: 56px;
  height: 56px;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
}

.wa-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1100px) {
  .wa-float {
    width: 52px;
    height: 52px;
    right: max(1rem, var(--safe-area-inset-right));
    bottom: max(1rem, var(--safe-area-inset-bottom));
  }
}

/* ============================================================================
   THANK-YOU PAGES (post-Calendly: en/ru/uk thank_you.html)
   Extracted verbatim from the en/thank_you.html inline <style> so all three
   localized pages share one source of truth. Scoped to .thank-you-page.
   ============================================================================ */
.thank-you-hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, #0b1e59 0%, #5b2e91 100%);
  min-height: calc(100vh - 140px);
}
.thank-you-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.thank-you-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.thank-you-hero h1 {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  color: white;
}
.thank-you-confirm {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.4;
}
.thank-you-confirm .check { color: #22c55e; font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.thank-you-confirm .check::after { content: '\00a0'; } /* nbsp after emoji */
.thank-you-email {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.thank-you-details {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.thank-you-details .event-type {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.75rem;
}
.thank-you-details .detail-line {
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.thank-you-details .detail-line:last-child { margin-bottom: 0; }
.thank-you-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f90;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.thank-you-home:hover { background: #e88a00; }
.thank-you-home .arrow { font-size: 1.1rem; }
.thank-you-actions { display: flex; justify-content: flex-start; margin-top: 0.5rem; }
.thank-you-actions .thank-you-home { align-self: flex-start; }
/* Post-conversion engagement buttons (Telegram / YouTube) on the thank-you hero */
.thank-you-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.thank-you-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #0b1e59;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.thank-you-social-btn img { display: block; }
.thank-you-social-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.thank-you-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
/* Hide CTA on thank-you (user already booked) */
.thank-you-page .header .cta-link.desktop-only,
.thank-you-page .header .mobile-cta { display: none !important; }
.thank-you-img img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
@media (min-width: 1101px) {
  .thank-you-actions { justify-content: flex-start; }
}
@media (max-width: 1100px) {
  .thank-you-hero { padding: 0 0 1.5rem; min-height: auto; }
  .thank-you-hero .container { padding: 0 1rem; }
  .thank-you-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .thank-you-hero h1 { font-size: 1.75rem; }
  .thank-you-img { order: -1; }
  .thank-you-img img { max-width: 100%; }
  .thank-you-actions { justify-content: flex-start; }
  /* Mobile header: compact single row like promo */
  body.thank-you-page { padding-top: 70px !important; }
  .thank-you-page .header { border-bottom: none !important; }
  .thank-you-page .header .wrap .logo.mobile-only { border-bottom: none !important; padding-bottom: 0 !important; }
  .thank-you-page .header .wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0.8rem !important;
    gap: 0.5rem !important;
  }
  .thank-you-page .header .wrap .logo.desktop-only { display: none !important; }
  .thank-you-page .header .wrap .nav { display: none !important; }
  .thank-you-page .header .wrap .nav.open {
    display: flex !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: auto !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: calc(100vh - 70px) !important;
    flex-direction: column !important;
    background: rgba(11,30,89,0.98) !important;
    padding: 0.8rem !important;
    z-index: 10001 !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4) !important;
    transition: left 0.3s ease !important;
  }
  .thank-you-page .header,
  .thank-you-page .header .wrap { overflow: visible !important; }
  .thank-you-page .header .wrap .mobile-header-row {
    order: 1;
    flex: 0 0 auto;
  }
  .thank-you-page .header .wrap .logo.mobile-only {
    order: 2;
    flex: 1;
    text-align: center;
    display: block !important;
  }
  .thank-you-page .header .wrap .lang-switch.desktop-only { display: none !important; }
  .thank-you-page .header .wrap .lang-switch.mobile-top {
    order: 3;
    display: block !important;
    flex-shrink: 0;
  }
  .thank-you-page .header .mobile-cta { display: none !important; }
}

/* ============================================================================
   LEAD-CAPTURE FORM-GATE - shared modal (main site) + form extras (both forms)
   Modal markup is injected by script.js. Fields reuse the global
   .promo-form-field / .promo-req styles. Consent / honeypot / error blocks are
   shared by the modal and the promo inline form (.promo-form).
   ============================================================================ */
body.lead-modal-open { overflow: hidden; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 3000; /* above cookie banner (2000), header (1000), wa-float (1500) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(11, 30, 89, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  overflow-y: auto;
}
.lead-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.lead-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lead-modal-close:hover { background: #f1f2f6; color: #1a1f3a; }
.lead-modal-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b1e59;
  margin: 0 1.5rem 0.4rem 0;
  line-height: 1.25;
}
.lead-modal-sub {
  font-size: 0.95rem;
  color: #4b5161;
  margin-bottom: 1.25rem;
}
.lead-form-submit {
  width: 100%;
  margin-top: 0.25rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  font-family: inherit;
  white-space: normal;
}

/* Submit stays inactive until required fields are filled (set via JS) */
.lead-form-submit:disabled,
.promo-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Consent row (GDPR) - shared by modal + promo form */
.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 1.1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #4b5161;
  cursor: pointer;
}
.lead-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: #f90;
  cursor: pointer;
}
.lead-consent a {
  color: #0b1e59;
  text-decoration: underline;
}
.lead-consent a:hover { color: #f90; }

/* Honeypot - visually hidden but present in the DOM for bots to fill */
.lead-form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline error / fallback message - shown by JS on validation failure */
.lead-form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #8a1c1c;
  background: #fdecec;
  border: 1px solid #f5c2c2;
  border-radius: 8px;
}
.lead-form-error a {
  color: #0b1e59;
  text-decoration: underline;
  font-weight: 600;
}
.lead-form-error a:hover { color: #f90; }

/* Field validation highlight (set by JS) */
.promo-form-field input.lead-invalid,
.promo-form-field textarea.lead-invalid {
  border-color: #d94a4a;
  box-shadow: 0 0 0 3px rgba(217, 74, 74, 0.12);
}

@media (max-width: 768px) {
  .lead-modal-content { padding: 1.75rem 1.25rem 1.5rem; }
  .lead-modal-title { font-size: 1.25rem; }
}
