/* ==========================================
   SAYTY DLYA BIZNESA — ad landing page
   Full-page scroll, mobile-first, premium positioning
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-1: #0f0c29;
  --navy-2: #1a1a2e;
  --navy-3: #16213e;
  --navy-4: #0f3460;
  --navy-5: #1a1a40;
  --gold: #c9a13b;
  --gold-light: #e2c17a;
  --red: #c1503d;
  --green: #4a9d6f;
  --ink: #14141a;
  --ink-soft: #4a4a54;
  --line: #e7e5df;
  --border-strong: #9b9890;
  --paper: #ffffff;
  --paper-soft: #f7f6f2;
  --radius: 0.75rem;
  --shadow-lg: 0 16px 48px rgba(15, 12, 41, 0.12);
  --shadow-sm: 0 2px 10px rgba(15, 12, 41, 0.05);
  --bg-gradient: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 25%, var(--navy-3) 50%, var(--navy-4) 75%, var(--navy-5) 100%);

  /* Fibonacci-derived spacing scale — base unit 4px x Fibonacci sequence
     (1,2,3,5,8,13,21,34,55). Consecutive terms converge on the golden
     ratio (phi ~1.618), giving a spacing scale that grows the same way
     the golden ratio does, without needing irrational rem values. */
  --space-1: 0.25rem;  /* 4px  - F(1) */
  --space-2: 0.5rem;   /* 8px  - F(2) */
  --space-3: 0.75rem;  /* 12px - F(3) */
  --space-4: 1.25rem;  /* 20px - F(4) */
  --space-5: 2rem;     /* 32px - F(5) */
  --space-6: 3.25rem;  /* 52px - F(6) */
  --space-7: 5.25rem;  /* 84px - F(7) */
  --space-8: 8.5rem;   /* 136px - F(8) */

  --page-padding-x: var(--space-4); /* 20px on mobile — see 720px breakpoint for desktop */
  --page-max-width: 1400px;

  --h2-size: clamp(1.4rem, 3.2vw, 2.6rem); /* scaled to always stay ~80% of .hero h1's clamp() so h2 is never larger than h1 at any viewport width */
  --header-height: 5.5rem; /* rendered height of the fixed .mini-header, incl. its own padding */

  --text-base: 1rem; /* 16px accessibility floor for body/paragraph copy */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}

/* ---------- hero-wrap: sits on the shared body gradient, controls hero layout ---------- */
.hero-wrap {
  padding-top: var(--header-height); /* compensates for .mini-header being fixed, out of flow */
  display: flex;
  flex-direction: column;
}

/* ---------- mini header: fixed to the viewport top, stays visible while scrolling ---------- */
.mini-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.25s ease;
}

.mini-header.is-scrolled {
  background: rgba(15, 12, 41, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mini-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.6rem var(--page-padding-x);
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.mini-logo {
  height: 4.25rem;
  width: auto;
}

.mini-wordmark {
  font-family: 'Andika', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
}

.mini-nav-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.mini-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.mini-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s;
}

.mini-nav a:hover {
  color: #fff;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: #1a1305;
  font-weight: 700;
  font-size: var(--text-base);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-nav-cta:hover {
  background: var(--gold-light);
}

/* ---------- hero ---------- */
.hero {
  color: #fff;
  padding: 2.5rem 0 3rem;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero .container {
  width: 100%;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.25rem); /* 3.25rem = 52px on desktop */
  line-height: 1.3;
  font-weight: 700;
  margin: 0 auto 1.75rem;
}

.hero-highlight {
  position: relative;
  font-family: "PT Serif", serif;
  font-style: italic;
  white-space: nowrap;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: -0.12em;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transform: rotate(-1.2deg);
}

.hero-sub {
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  width: 100%;
  margin: 0 auto 2.25rem;
}

.hero-cta-note {
  font-size: var(--text-base);
  color: var(--ink-soft);
  margin-top: 1rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.hero-founder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-5);
  text-align: left;
}

.hero-founder-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero-founder-quote {
  font-size: var(--text-base);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.hero-founder-name {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.hero-founder-name span {
  font-weight: 400;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card-visual {
  min-height: 220px;
}

.hero-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-form {
  padding: 1.75rem;
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
}

.hero-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.hero-form-sub {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.hero-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-lead-input {
  width: 100%;
  font-family: inherit;
  font-size: var(--text-base);
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink);
}

.hero-lead-input::placeholder {
  color: var(--ink-soft);
}

.hero-lead-input:focus {
  outline: none;
  border-color: var(--gold);
}

.hero-lead-submit {
  width: 100%;
  justify-content: center;
}

.hero-lead-form .hero-cta-note {
  text-align: center;
  margin-top: 0;
}

.hero-lead-success {
  color: var(--ink);
  text-align: center;
  padding: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #1a1305;
  font-weight: 700;
  font-size: var(--text-base);
  padding: var(--space-4);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(201, 161, 59, 0.35);
  transition: transform 0.15s, background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: rgba(201, 161, 59, 0.15);
  color: var(--gold);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---------- generic section ---------- */
section {
  padding: var(--space-6) 0;
}

.section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-base);
  line-height: 1.6;
}

.section-head p + p {
  margin-top: 1rem;
}

/* ---------- problem ---------- */
.problem-table {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 12, 41, 0.15);
  overflow: hidden;
}

.problem-table-label {
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.03);
}

.problem-table-label.problem-table-before {
  color: var(--red);
}

.problem-table-label.problem-table-after {
  color: var(--gold);
}

.problem-table-cell {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.problem-table-cell.problem-table-before {
  border-left: 3px solid var(--red);
}

.problem-table-cell.problem-table-after {
  border-left: 3px solid var(--gold);
}

.problem-table-icon {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.problem-table-before .problem-table-icon {
  color: var(--red);
}

.problem-table-after .problem-table-icon {
  color: var(--gold);
}

.problem-table-cell strong {
  display: block;
  font-size: var(--text-base);
  color: #fff;
  margin-bottom: 0.35rem;
}

.problem-table-cell p {
  font-size: var(--text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.problem-bridge {
  max-width: 640px;
  margin: var(--space-6) auto 0;
  text-align: center;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.problem-bridge strong {
  color: #fff;
}

/* ---------- system positioning ---------- */
.system-subhead {
  text-align: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.system-subhead:not(:first-of-type) {
  margin-top: var(--space-7);
}

.system-tools {
  text-align: center;
}

.tools-quadrant {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .tools-quadrant {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.tools-flow {
  display: none;
}

@media (min-width: 720px) {
  .tools-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--navy-2);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    box-shadow: 0 4px 14px rgba(15, 12, 41, 0.45);
    z-index: 2;
  }

  .tools-flow svg {
    width: 26px;
    height: 26px;
  }
}

.tools-category {
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-4);
}

.tools-category-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
}

.tools-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.tools-logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  height: 60px;
  padding: 0 var(--space-4);
}

.tools-logo-chip img {
  max-height: 34px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.system-phases-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 12, 41, 0.15);
  overflow: hidden;
}

.system-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.system-phase-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4) var(--space-3);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.system-phase-tab:last-child {
  border-right: none;
}

.system-phase-tab-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s ease;
}

.system-phase-tab-label {
  font-size: var(--text-base);
  font-weight: 600;
}

.system-phase-tab:hover {
  color: #fff;
}

.system-phase-tab.is-active {
  background: linear-gradient(135deg, rgba(201, 161, 59, 0.18), rgba(201, 161, 59, 0.03));
  color: #fff;
}

.system-phase-tab.is-active .system-phase-tab-number {
  color: var(--gold);
}

.system-phase-panels {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5);
}

.system-phase-panel-intro {
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.system-phase-panel ul {
  list-style: none;
}

.system-phase-panel li {
  font-size: var(--text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}

.system-phase-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- pricing ---------- */
.pricing-card-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.pricing-step-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.pricing-card {
  position: relative;
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.pricing-drawer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-drawer-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-drawer-summary::-webkit-details-marker {
  display: none;
}

.pricing-drawer-summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.pricing-drawer[open] .pricing-drawer-summary::after {
  content: "–";
}

.pricing-drawer-heading {
  display: flex;
  flex-direction: column;
}

.pricing-drawer-heading .pricing-step-label {
  margin-bottom: 0.3rem;
}

.pricing-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.pricing-drawer-price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.pricing-drawer-body {
  padding-top: 1.5rem;
}

.pricing-drawer-body .pricing-tagline {
  margin-bottom: 1.25rem;
}

.pricing-drawer-body .pricing-features {
  margin-bottom: 0;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.pricing-tagline {
  font-size: var(--text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
}

.pricing-price-old {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.4rem;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.pricing-price-note {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  font-size: var(--text-base);
  line-height: 1.5;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-features li strong {
  font-weight: 700;
}

.btn-pricing {
  display: block;
  text-align: center;
  width: 100%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.pricing-card.featured .btn-pricing {
  background: var(--gold);
  color: #1a1305;
}

.pricing-note {
  font-size: var(--text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  margin-top: 1.25rem;
}

.system-goal {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  max-width: 620px;
  margin: var(--space-7) auto 0;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(201, 161, 59, 0.28) 0%, rgba(201, 161, 59, 0.04) 55%, transparent 80%),
    var(--navy-2);
  border: 1px solid rgba(201, 161, 59, 0.35);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-lg);
}

.pricing-guarantee-icon {
  flex-shrink: 0;
  font-size: 4rem;
  line-height: 1;
}

.pricing-guarantee h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.pricing-guarantee p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.btn-pricing:hover {
  opacity: 0.88;
}

/* ---------- examples ---------- */
.examples-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
}

.example-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-3);
  box-shadow: 0 8px 24px rgba(15, 12, 41, 0.15);
}

@media (min-width: 720px) {
  .example-card {
    max-width: 65%;
    margin: 0 auto;
  }
}

.example-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-1);
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.example-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--navy-1);
}

.example-gallery-main {
  overflow: hidden;
}

.example-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.example-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.example-gallery-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.example-image img:focus-visible,
.example-gallery-main img:focus-visible,
.example-gallery-thumbs img:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
}

.example-body {
  padding: 1.75rem;
}

.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.example-tags span {
  font-size: var(--text-base);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  color: rgba(255, 255, 255, 0.85);
}

.example-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.example-summary {
  font-size: var(--text-base);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.example-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0;
}

.example-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
}

.example-highlights li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
}

.example-link {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.example-testimonial {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.example-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.example-testimonial-quote {
  margin: 0 0 0.4rem;
}

.example-testimonial-quote p {
  font-size: var(--text-base);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.example-testimonial-quote p + p {
  margin-top: 0.6rem;
}

.example-testimonial-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
}

.example-details {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.example-details summary {
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gold-light);
  list-style: none;
}

.example-details summary::-webkit-details-marker {
  display: none;
}

.example-details summary::after {
  content: "Подробнее о проекте";
}

.example-details[open] summary::after {
  content: "Свернуть";
}

.example-details-body {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
}

.example-details-body p {
  margin-bottom: 0.85rem;
}

.example-details-body ul {
  list-style: none;
  margin-bottom: 0.6rem;
}

.example-details-body ul li {
  padding: 0.2rem 0 0.2rem 1.2rem;
  position: relative;
}

.example-details-body ul li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--gold-light);
}

.example-meta {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.6rem;
}

.example-meta strong {
  color: #fff;
}

/* ---------- about / founder ---------- */
.about-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 12, 41, 0.15);
  padding: var(--space-5);
}

.about-card > .btn-primary {
  display: table;
  margin: 0 auto;
}

.about-founder {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-founder-photo {
  width: 100%;
  max-width: 160px;
  text-align: center;
}

.about-founder-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-founder-caption {
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-top: 0.5rem;
}

.about-founder-text p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
}

.text-emphasis {
  color: #fff;
  font-style: italic;
}

.about-credibility {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.about-credibility-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.about-credibility ul {
  list-style: none;
}

.about-credibility li {
  font-size: var(--text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}

.about-credibility li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- consult / lead form ---------- */
.consult-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.consult-intro h2 {
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.85rem;
}

.consult-intro > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.consult-checklist-label {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.consult-checklist {
  list-style: none;
}

.consult-checklist li {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
}

.consult-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.consult-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.consult-field {
  margin-bottom: 1.25rem;
}

.consult-field-reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0s linear 0.4s;
}

.consult-field.consult-field-reveal {
  margin-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0s linear 0.4s, margin-bottom 0.4s ease;
}

.consult-field-reveal.is-visible {
  max-height: 320px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: max-height 0.4s ease, opacity 0.4s ease 0.1s;
}

.consult-field.consult-field-reveal.is-visible {
  margin-bottom: 1.25rem;
}

.consult-label {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

.required-mark {
  color: var(--gold);
}

.consult-input,
.consult-textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--text-base);
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.consult-input:focus,
.consult-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.consult-textarea {
  resize: vertical;
}

.consult-submit {
  width: 100%;
  justify-content: center;
  box-shadow: none;
}

.consult-cta-note {
  font-size: var(--text-base);
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1rem;
}

.consult-note {
  font-size: var(--text-base);
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.35rem;
}

.consult-success {
  text-align: center;
  font-size: var(--text-base);
  color: var(--ink);
  padding: 1rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1.4rem 1.75rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1rem;
}

/* ---------- footer CTA ---------- */
.footer-cta {
  position: relative;
  color: #fff;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  margin-bottom: var(--space-6);
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201, 161, 59, 0.22) 0%, rgba(201, 161, 59, 0.07) 40%, transparent 75%),
    var(--navy-2);
  box-shadow: var(--shadow-sm);
}

.footer-cta h2 {
  position: relative;
  font-size: var(--h2-size);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.footer-cta p {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.footer-cta a.btn-footer-cta {
  position: relative;
  display: inline-block;
  background: var(--gold);
  color: #1a1305;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-cta a.btn-footer-cta:hover {
  opacity: 0.88;
  color: #1a1305;
}

.footer-cta-reassure {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-top: 1.5rem;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
}

.footer-cta-reassure li {
  padding-left: 1.2rem;
  position: relative;
}

.footer-cta-reassure li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- footer ---------- */
.landing-footer {
  position: relative;
  overflow: hidden;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: var(--space-6) 0;
  font-size: var(--text-base);
}

.landing-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNDAiIGhlaWdodD0iMjQwIiBmaWxsPSIjYzlhMTNiIj48Y2lyY2xlIGN4PSIxNTEuOCIgY3k9IjExLjciIHI9IjEuMyIgZmlsbC1vcGFjaXR5PSIwLjYiLz48Y2lyY2xlIGN4PSI1Ni45IiBjeT0iMTczLjkiIHI9IjEuOCIgZmlsbC1vcGFjaXR5PSIwLjY2Ii8+PGNpcmNsZSBjeD0iMjA5LjQiIGN5PSIyNS44IiByPSIxLjUiIGZpbGwtb3BhY2l0eT0iMS4wIi8+PGNpcmNsZSBjeD0iMTIuOCIgY3k9IjU1LjgiIHI9IjEuNiIgZmlsbC1vcGFjaXR5PSIwLjgyIi8+PGNpcmNsZSBjeD0iMTU0LjIiIGN5PSIxMzAuMiIgcj0iMS4zIiBmaWxsLW9wYWNpdHk9IjAuNzIiLz48Y2lyY2xlIGN4PSIxNDAuNCIgY3k9IjE5MC42IiByPSIxLjAiIGZpbGwtb3BhY2l0eT0iMC43NiIvPjxjaXJjbGUgY3g9IjE4OS43IiBjeT0iMTY1LjIiIHI9IjEuNCIgZmlsbC1vcGFjaXR5PSIwLjU2Ii8+PGNpcmNsZSBjeD0iNDEuNCIgY3k9IjIyNC4yIiByPSIxLjQiIGZpbGwtb3BhY2l0eT0iMC42MSIvPjxjaXJjbGUgY3g9IjI3LjEiIGN5PSIyOC4xIiByPSIyLjAiIGZpbGwtb3BhY2l0eT0iMC42NyIvPjxjaXJjbGUgY3g9IjIyNy45IiBjeT0iOTIuMyIgcj0iMS43IiBmaWxsLW9wYWNpdHk9IjAuNzkiLz48Y2lyY2xlIGN4PSIyMDIuNSIgY3k9IjEzNy42IiByPSIxLjgiIGZpbGwtb3BhY2l0eT0iMC42MiIvPjxjaXJjbGUgY3g9IjcyLjAiIGN5PSIyNC4yIiByPSIxLjMiIGZpbGwtb3BhY2l0eT0iMC42MSIvPjxjaXJjbGUgY3g9IjE1MC45IiBjeT0iODkuMiIgcj0iMS40IiBmaWxsLW9wYWNpdHk9IjAuNTQiLz48Y2lyY2xlIGN4PSI1My44IiBjeT0iNjYuOSIgcj0iMi4xIiBmaWxsLW9wYWNpdHk9IjAuODIiLz48Y2lyY2xlIGN4PSIyMzEuNiIgY3k9IjE1MS45IiByPSIxLjciIGZpbGwtb3BhY2l0eT0iMC42MSIvPjxjaXJjbGUgY3g9IjE4Mi45IiBjeT0iNTguMiIgcj0iMS4wIiBmaWxsLW9wYWNpdHk9IjAuOTUiLz48Y2lyY2xlIGN4PSIxMzQuMCIgY3k9IjY1LjkiIHI9IjEuNyIgZmlsbC1vcGFjaXR5PSIwLjkzIi8+PGNpcmNsZSBjeD0iMTIyLjIiIGN5PSIyNi43IiByPSIxLjEiIGZpbGwtb3BhY2l0eT0iMC41NCIvPjxjaXJjbGUgY3g9IjMxLjAiIGN5PSIxNDkuMSIgcj0iMi4wIiBmaWxsLW9wYWNpdHk9IjAuNjIiLz48Y2lyY2xlIGN4PSI5My4wIiBjeT0iMjMzLjEiIHI9IjEuNiIgZmlsbC1vcGFjaXR5PSIwLjgzIi8+PGNpcmNsZSBjeD0iMjI3LjQiIGN5PSIyMDIuMyIgcj0iMS4wIiBmaWxsLW9wYWNpdHk9IjAuNjEiLz48Y2lyY2xlIGN4PSIxMDUuMSIgY3k9IjEwOS40IiByPSIyLjEiIGZpbGwtb3BhY2l0eT0iMC41NyIvPjxjaXJjbGUgY3g9Ijc0LjAiIGN5PSIxNTEuNyIgcj0iMS43IiBmaWxsLW9wYWNpdHk9IjAuOTciLz48Y2lyY2xlIGN4PSIxOS4yIiBjeT0iMjA2LjIiIHI9IjIuMSIgZmlsbC1vcGFjaXR5PSIwLjc5Ii8+PGNpcmNsZSBjeD0iMjUuNSIgY3k9IjExNi44IiByPSIxLjEiIGZpbGwtb3BhY2l0eT0iMC43NCIvPjxjaXJjbGUgY3g9IjU0LjMiIGN5PSIxMjkuMCIgcj0iMS45IiBmaWxsLW9wYWNpdHk9IjAuODkiLz48L3N2Zz4=");
  background-repeat: repeat;
  background-size: 240px 240px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 100%);
  opacity: 0;
  transition: opacity 1.5s ease-out;
  animation: footer-pattern-drift 60s linear infinite;
  animation-play-state: paused;
  z-index: 0;
}

.landing-footer.is-visible::before {
  opacity: 0.45;
  animation-play-state: running;
}

@keyframes footer-pattern-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240px 240px;
  }
}

.landing-footer .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.landing-footer a:hover {
  color: #fff;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  margin: 0 0.5rem;
}

.footer-legal {
  max-width: 640px;
  margin: 0 auto var(--space-2);
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   DESKTOP
   ========================================== */
@media (min-width: 720px) {
  :root {
    --page-padding-x: var(--space-6); /* 52px on desktop */
  }

  .mini-nav {
    display: flex;
  }

  section {
    padding: var(--space-7) 0;
  }

  .hero {
    padding: 4.5rem 0 3rem;
  }

  .problem-table {
    grid-template-columns: 1fr 1fr;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }

  .section-head {
    margin-bottom: 4rem;
  }

  .consult-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .about-card {
    max-width: 65%;
    margin: 0 auto;
  }

  .about-founder {
    flex-direction: row-reverse;
    align-items: flex-start;
  }

  .about-founder-photo {
    flex-shrink: 0;
  }

}

/* ---------- lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 2rem;
  background: rgba(15, 12, 41, 0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- legal pages (Реквизиты, Условия, Конфиденциальность, Согласие, Контакты) ---------- */
.legal-wrap {
  padding-top: var(--header-height);
}

.legal-section {
  padding: var(--space-6) 0 var(--space-8);
}

.legal-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
}

.legal-sidebar {
  flex-shrink: 0;
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-2);
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
}

.legal-sidebar a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: 0.4rem;
  font-size: var(--text-base);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.legal-sidebar a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.legal-sidebar a.active {
  background: rgba(201, 161, 59, 0.14);
  color: #fff;
  font-weight: 700;
}

.legal-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 719px) {
  .legal-layout {
    flex-direction: column;
  }

  .legal-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
}

.legal-header {
  margin-bottom: var(--space-5);
}

.legal-header h1 {
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--space-2);
}

.legal-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-base);
}

.legal-card {
  background: var(--navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
}

.legal-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: var(--space-5) 0 var(--space-2);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-2);
}

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

.legal-card ul {
  margin: var(--space-2) 0 var(--space-3);
  padding-left: 1.2rem;
}

.legal-card li {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-1);
}

.legal-card a {
  color: var(--gold-light);
}

.legal-card strong {
  color: #fff;
}

.legal-back {
  display: inline-block;
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-base);
  text-decoration: underline;
}

.legal-back:hover {
  color: #fff;
}

.legal-footer {
  padding: var(--space-5) 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-base);
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.legal-footer a:hover {
  color: #fff;
}

.legal-footer .footer-legal {
  max-width: 640px;
  margin: 0 auto var(--space-2);
  color: rgba(255, 255, 255, 0.4);
}
