/* ========================================================
   LANDIX.PRO — MOBILE 2026 OPTIMIZATIONS
   Targets: 375px–430px + foldables. iOS & Android PWA-grade.
   ======================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-deep: #0A0B0E;
  --bg-surface: #111218;
  --bg-card: rgba(17, 18, 24, 0.78);
  --text-primary: #F0EFEB;
  --text-secondary: #E3EDF7;
  --text-muted: rgba(227,237,247,0.65);
  --text-subtle: rgba(227,237,247,0.40);
  --border: rgba(227,237,247,0.08);
  --teal: #00E5E5;
  --teal-rgb: 0,229,229;
  --glow-sm: 0 0 16px rgba(0,229,229,0.35);
  --glow-lg: 0 0 45px rgba(0,229,229,0.55);
  --touch-min: 48px;          /* WCAG 2.5.8 minimum touch target */
  --gap-touch: 10px;          /* gap between tappable rows */
  --radius-card: 20px;
  --radius-btn: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

section[id], [id] {
  scroll-margin-top: 96px;
}

body {
  background-color: var(--bg-deep);
  background-image: radial-gradient(circle at 50% 0%, rgba(0,229,229,0.045) 0%, transparent 65%);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1, h2, h3, .font-heading {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.03em;
}
.font-display { font-family: 'Syne', 'Outfit', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }
.font-logo, .logo-font { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important; font-weight: 900 !important; }

/* ---------- Stretched Logo Sub-Label (Edge-to-Edge with LANDIX.PRO) ---------- */
.brand-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 7.8px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.85;
  letter-spacing: normal;
  line-height: 1;
  margin-top: 4px;
}
.brand-sub span {
  display: inline-block;
  line-height: 1;
}
.brand-sub .brand-space {
  width: 5px;
  flex-shrink: 0;
}

/* ---------- Touch Targets — minimum 48×48 for interactive controls ---------- */
button, [role="button"], select, input[type="submit"], input[type="button"] {
  min-height: var(--touch-min);
}

.mobile-cta-bar a, header nav a {
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

/* Preserve block-level anchors for cards */
a.bento-card, .bento-card > a { display: flex; }

/* ---------- Bento Cards ---------- */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 1px rgba(227,237,247,0.10), 0 16px 40px -12px rgba(0,0,0,0.70);
  position: relative;
}
.bento-card:hover {
  border-color: rgba(0,229,229,0.35);
  box-shadow: inset 0 1px 2px rgba(0,229,229,0.20), 0 24px 60px -8px rgba(0,0,0,0.85), 0 0 30px rgba(0,229,229,0.10);
  transform: translateY(-3px);
}

/* ---------- 3D Phone Mockup ---------- */
.perspective-1500 { perspective: 1500px; }
.phone-3d-model {
  transform: perspective(1400px) scale(0.86) rotateY(-8deg) rotateX(4deg) rotateZ(-1.5deg);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s;
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-3d-model:hover {
  transform: perspective(1400px) scale(0.90) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
}
.glass-glare {
  background: linear-gradient(132deg, rgba(227,237,247,0.18) 0%, rgba(227,237,247,0.04) 30%, transparent 60%, rgba(0,229,229,0.05) 100%);
  pointer-events: none;
}
.hero-mockup-wrapper { max-width: 100%; }

/* ---------- Hero 3D iPhone 17 Pro Stories Slider (Interactive JS Engine) ---------- */
.hero-phone-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.03) !important;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero-phone-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.story-bar-fill {
  transition: width 0.1s linear;
}

/* Glass glare reflection for 3D iPhone display */
.glass-glare {
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 30%, transparent 58%, rgba(0,229,229,0.08) 100%);
  pointer-events: none;
}

/* ---------- Founder Avatar ---------- */
.founder-avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  object-fit: cover; object-position: center bottom;
  display: block;
  background: linear-gradient(135deg, #0f3b36 0%, #0a211e 100%);
}

/* ---------- Contacts aligned grid ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.25rem;
  row-gap: 0.45rem;
  align-items: center;
}
.contacts-grid > span { white-space: nowrap; }
.contacts-grid a {
  min-height: auto !important;
  display: inline-flex;
  align-items: center;
  padding-block: 2px;
  line-height: 1.35;
}

.footer-contacts-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.875rem;
  row-gap: 0.35rem;
  align-items: center;
}
.footer-contacts-grid > span { white-space: nowrap; }
.footer-contacts-grid a {
  min-height: auto !important;
  display: inline-flex;
  align-items: center;
  padding-block: 1px;
  line-height: 1.35;
}

footer a {
  min-height: auto !important;
  line-height: 1.35;
  padding-block: 2px;
}
footer .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.35rem !important;
}

/* ========================================================
   MOBILE-SPECIFIC OVERRIDES (max-width: 767px)
   ======================================================== */
@media (max-width: 767px) {

  /* ---- Header ---- */
  header .h-20 { height: 60px; }
  header .px-4 { padding-inline: 16px; }

  /* Hide "ОБСУДИТЬ ПРОЕКТ" in header on mobile to save space */
  /* Instead, floating CTA at bottom */
  header > div > div.flex > a {
    display: none;
  }

  /* ---- Floating CTA Bar (mobile only) ---- */
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    padding: 8px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: rgba(10,11,14,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(227,237,247,0.10);
    gap: 8px;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-cta-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-cta-bar a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 10px !important;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    min-height: 48px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }
  .mobile-cta-bar a:first-child {
    flex: 1.2;
    background: var(--teal);
    color: var(--bg-deep);
    box-shadow: 0 0 25px rgba(0,229,229,0.35);
  }
  .mobile-cta-bar a:last-child {
    flex: 1;
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.15);
  }

  /* Extra bottom padding for page so content doesn't hide behind bar */
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 20px)); }

  /* ---- Hero Section ---- */
  section.relative.pt-36 {
    padding-top: 80px;
    padding-bottom: 32px;
  }

  /* Stack left col + mockup vertically; mockup goes below copy */
  section.relative.pt-36 > div > div.flex {
    flex-direction: column;
    gap: 32px;
  }

  /* H1 sizing */
  h1.text-3xl { font-size: clamp(28px, 8vw, 40px); line-height: 1.1; }

  /* Subtitle */
  section p.text-lg { font-size: 15px; }

  /* Metrics strip — horizontal scroll on tiny screens */
  .flex.items-center.divide-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 0;
    padding-bottom: 4px;
  }
  .flex.items-center.divide-x::-webkit-scrollbar { display: none; }
  .flex.items-center.divide-x > div { flex-shrink: 0; }

  /* Hero CTA buttons — full-width stack */
  .flex.flex-wrap.items-center.gap-4 {
    flex-direction: column;
    gap: 10px;
  }
  .flex.flex-wrap.items-center.gap-4 > a {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: var(--radius-btn);
  }

  /* iPhone mockup — centered & appropriately sized on mobile */
  .hero-mockup-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .phone-3d-model {
    transform: perspective(1000px) scale(0.92) rotateY(-4deg) rotateX(2deg) rotateZ(-0.5deg);
    width: 290px !important;
    height: 590px !important;
  }
  /* scale phone sizes */
  .relative.w-\[316px\] {
    width: 290px !important;
    height: 590px !important;
    border-radius: 48px !important;
  }
  #hero-phone-slider {
    border-radius: 38px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }
  .hero-phone-slide {
    border-radius: 38px !important;
    overflow: hidden !important;
  }
  .hero-phone-slide img {
    border-radius: 38px !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  /* ---- Advantages Bento Grid — single column ---- */
  #advantages .grid.grid-cols-1 { gap: 10px; }
  #advantages .bento-card { padding: 24px 20px; border-radius: var(--radius-card); }
  /* Bottom row 8+4 → both full-width */
  #advantages .md\:col-span-8,
  #advantages .md\:col-span-4 { grid-column: 1 / -1; }

  /* ---- Cases Slider Mobile Navigation ---- */

  /* Navigation arrows — smaller on mobile */
  #cases-prev, #cases-next {
    width: 44px; height: 44px;
    font-size: 18px;
    border-radius: 12px;
  }

  /* ---- Pricing — vertical stack with better spacing ---- */
  #pricing .grid.grid-cols-1 { gap: 12px; }
  #pricing .bento-card,
  #pricing > div > div > div {
    padding: 20px 18px;
    border-radius: var(--radius-card);
  }
  /* Landing page accent card — keep teal but adjust padding */
  #pricing .bg-\[\#00E5E5\] { padding: 20px 18px; border-radius: var(--radius-card); }

  /* ---- About Us Bento Grid — mobile adjustments ---- */
  #about .grid.grid-cols-1 { gap: 12px; }
  #about .bento-card { padding: 24px 20px; border-radius: var(--radius-card); }

  /* Pricing CTA buttons — 48px+ touch targets */
  #pricing a[href="#contacts"] {
    min-height: 54px;
    padding-block: 14px;
    border-radius: 30px;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  /* ---- Contacts Form & Compact Details ---- */
  #contacts .bento-card { padding: 22px 16px; border-radius: var(--radius-card); }
  #contacts .grid.grid-cols-1 { gap: 14px; }

  /* Founder col on mobile: clean compact flow */
  #contacts .founder-avatar-wrap {
    width: 84px !important;
    height: 84px !important;
  }
  #contacts .status-pill {
    width: auto !important;
    min-width: 110px !important;
    max-width: 150px !important;
    height: auto !important;
    min-height: 28px !important;
    padding: 4px 12px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    letter-spacing: 0.06em !important;
  }
  #contacts .flex.flex-col.items-start.gap-3\.5 {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  #contacts h3.text-2xl {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  #contacts .text-xs.font-mono.text-\[\#00E5E5\] {
    margin-top: 2px !important;
    margin-bottom: 8px !important;
  }
  #contacts p.text-sm {
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }
  #contacts .pt-6.border-t {
    padding-top: 10px !important;
  }
  #contacts .contacts-grid {
    column-gap: 10px !important;
    row-gap: 4px !important;
    line-height: 1.25 !important;
    font-size: 13px !important;
  }
  #contacts .contacts-grid a,
  #contacts .contacts-grid > span {
    line-height: 1.25 !important;
    padding-block: 0 !important;
    min-height: auto !important;
  }

  /* Form inputs — 44px+ height, touch friendly */
  #contacts input,
  #contacts select,
  #contacts textarea {
    min-height: 48px;
    font-size: 16px !important; /* prevents zoom on iOS */
    border-radius: 12px;
    padding: 12px 16px;
  }
  /* Focus ring — visible for accessibility */
  #contacts input:focus-visible,
  #contacts select:focus-visible,
  #contacts textarea:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-color: var(--teal) !important;
  }
  #contacts textarea { min-height: 88px; resize: none; }
  /* Submit button */
  #contacts button[type="submit"] {
    min-height: 54px;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 14px;
    white-space: nowrap !important;
  }

  /* Form grid — single column on mobile */
  #contacts .grid.grid-cols-1.sm\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* ---- Blog cards — single column with lazy loading ---- */
  #blog .grid.grid-cols-1 { gap: 10px; }
  #blog .bento-card { padding: 20px; border-radius: var(--radius-card); }

  /* ---- Final CTA Section ---- */
  .flex.flex-col.sm\:flex-row.items-center.justify-center {
    flex-direction: column;
    gap: 10px;
  }
  .flex.flex-col.sm\:flex-row.items-center.justify-center > a {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    padding-inline: 16px !important;
  }

  /* Universal nowrap on mobile for action links & telegram */
  a[href*="t.me"] {
    white-space: nowrap !important;
  }

  /* ========================================================
     ЕДИНЫЙ РАЗМЕР ШРИФТА ДЛЯ ВСЕХ КНОПОК НА МОБИЛКЕ: 15px
     ======================================================== */
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  .btn,
  a.btn,
  .concept-cta-btn,
  .final-cta-btn,
  .mobile-cta-bar a,
  #pricing a[href="#contacts"],
  #contacts button[type="submit"],
  .flex.flex-wrap.items-center.gap-4 > a,
  aside a[href="#contacts"] {
    font-size: 15px !important;
  }

  /* ---- Footer — single column ---- */
  footer .grid.grid-cols-1 { gap: 20px; }
  footer .pt-8.flex { flex-direction: column; gap: 12px; }

  /* ---- Reassurance badges — wrap tightly ---- */
  .flex.flex-wrap.items-center.justify-center.gap-3 {
    gap: 8px;
  }
  .flex.flex-wrap.items-center.justify-center.gap-3 > div {
    font-size: 11px;
    padding: 6px 10px;
    min-height: 36px; /* badges can be smaller */
    align-items: center;
  }

  /* ---- Quickline contacts row ---- */
  .pt-8.border-t.border-white\/\[0\.08\].w-full.flex.flex-wrap {
    gap: 14px;
    justify-content: flex-start;
  }
  .pt-8.border-t.border-white\/\[0\.08\].w-full.flex.flex-wrap > a {
    min-height: var(--touch-min);
    padding-block: 4px;
  }

  /* ---- Section headings ---- */
  h2.text-2xl { font-size: clamp(20px, 6vw, 28px); }
  h2.text-3xl { font-size: clamp(22px, 6.5vw, 34px); }
  section .py-24 { padding-block: 48px; }
  section .py-16 { padding-block: 36px; }
  section .mb-16 { margin-bottom: 32px; }
  section .mb-10 { margin-bottom: 20px; }

  /* ---- Global padding shrink on mobile ---- */
  .max-w-7xl { padding-inline: 16px; }
  .px-4.sm\:px-6.lg\:px-8 { padding-inline: 16px !important; }

  /* ---- Advantages section header ---- */
  #advantages .flex.flex-col.md\:flex-row { flex-direction: column; gap: 12px; }
  #advantages .mb-16 { margin-bottom: 24px; }

  /* ---- Cases section header ---- */
  #cases .flex.flex-col.md\:flex-row { 
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
  #cases .mb-16 { margin-bottom: 20px; }

  /* ---- Blog section header ---- */
  #blog .flex.flex-col.sm\:flex-row { flex-direction: column; gap: 12px; }
  #blog .mb-14 { margin-bottom: 24px; }

  /* ---- Final CTA section headings ---- */
  section h2.text-3xl.sm\:text-5xl.lg\:text-6xl { font-size: clamp(26px, 8vw, 40px); }

  /* ---- Ambient orbs — hide on mobile for performance ---- */
  .fixed.inset-0.pointer-events-none > div { display: none; }

  /* ---- Reduce heavy card hover shadows on mobile ---- */
  @media (hover: none) {
    .bento-card:hover { transform: none; box-shadow: inset 0 1px 1px rgba(227,237,247,0.10), 0 16px 40px -12px rgba(0,0,0,0.70); }
  }
}



/* ---- Focus-visible global ---- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Skip-link for screen readers ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--teal);
  color: var(--bg-deep);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }


/* ========================================================
   MOBILE BURGER MENU & DRAWER (2026 Minimalist Dark UI)
   ======================================================== */
/* Mobile Burger Menu Button */
.mobile-burger-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 70 !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}
@media (min-width: 768px) {
  .mobile-burger-btn { display: none !important; }
}
.mobile-burger-btn:active,
.mobile-burger-btn:hover {
  background: rgba(0, 229, 229, 0.08);
  border-color: rgba(0, 229, 229, 0.40);
}
.mobile-burger-btn .b-line {
  width: 20px;
  height: 1.5px;
  background: #F0EFEB;
  border-radius: 9999px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.3s ease, background-color 0.3s ease;
}
.mobile-burger-btn .b-line-3 {
  width: 13px;
  background: var(--teal);
  align-self: flex-end;
  margin-right: 11px;
}
.mobile-burger-btn.is-open .b-line-1 {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-burger-btn.is-open .b-line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-burger-btn.is-open .b-line-3 {
  width: 20px;
  margin-right: 0;
  align-self: center;
  background: #F0EFEB;
  transform: translateY(-6.5px) rotate(-45deg);
}


.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #F0EFEB;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  min-height: 52px !important;
}
.mobile-drawer-link:active,
.mobile-drawer-link:hover {
  color: var(--teal);
  padding-left: 6px;
}


/* ---- Cases Swiper Slider (Flawless Desktop & Mobile) ---- */
.cases-swiper {
  width: 100%;
  overflow: hidden !important;
  padding-block: 8px;
}
.cases-swiper .swiper-wrapper {
  display: flex !important;
  gap: 0 !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  box-sizing: content-box;
}
.cases-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
  flex-shrink: 0;
}
.cases-swiper .swiper-slide > .bento-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}




/* Off-canvas Right Drawer Styling */
#mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: rgba(10, 11, 14, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow-y: auto;
}
#mobile-drawer.is-open {
  transform: translateX(0) !important;
}
#mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-drawer-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #F0EFEB;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  min-height: 48px !important;
}
.mobile-drawer-link:active,
.mobile-drawer-link:hover {
  color: var(--teal) !important;
  padding-left: 6px;
}


/* ========================================================
   RIGHT OFF-CANVAS MOBILE DRAWER (Rock-Solid & Bulletproof)
   ======================================================== */
/* Mobile Burger Menu Button */
.mobile-burger-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 70 !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}
@media (min-width: 768px) {
  .mobile-burger-btn { display: none !important; }
}
.mobile-burger-btn:active,
.mobile-burger-btn:hover {
  background: rgba(0, 229, 229, 0.08);
  border-color: rgba(0, 229, 229, 0.40);
}
.mobile-burger-btn .b-line {
  width: 20px;
  height: 1.5px;
  background: #F0EFEB;
  border-radius: 9999px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.3s ease;
}
.mobile-burger-btn .b-line-3 {
  width: 13px;
  background: var(--teal);
  align-self: flex-end;
  margin-right: 11px;
}
.mobile-burger-btn.is-open .b-line-1 {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-burger-btn.is-open .b-line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-burger-btn.is-open .b-line-3 {
  width: 20px;
  margin-right: 0;
  align-self: center;
  background: #F0EFEB;
  transform: translateY(-6.5px) rotate(-45deg);
}

#mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(310px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: #0A0B0E;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-drawer.is-visible {
  display: flex !important;
}
#mobile-drawer.is-open {
  transform: translateX(0) !important;
}

#mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity 0.3s ease;
}
#mobile-drawer-backdrop.is-visible {
  display: block !important;
}
#mobile-drawer-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #F0EFEB;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  min-height: 48px !important;
}
.mobile-drawer-link:active,
.mobile-drawer-link:hover {
  color: var(--teal) !important;
  padding-left: 6px;
}


/* ========================================================
   STRICT DESKTOP BUTTON TYPOGRAPHY STANDARD (min-width: 768px)
   font-family: 'JetBrains Mono', monospace;
   font-size: 12px (text-xs);
   font-weight: 700 (font-bold);
   text-transform: uppercase;
   letter-spacing: 0.05em (tracking-wider);
   ======================================================== */
@media (min-width: 768px) {
  #pricing a[href="#contacts"],
  #contacts button[type="submit"],
  section a[href="#contacts"],
  section a[href="#cases"],
  header a.header-cta-btn,
  a[href="https://t.me/tequila0sunset"].whitespace-nowrap,
  button[type="submit"],
  .btn-unified {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }
}

/* ========================================================
   STRICT MOBILE BUTTON TYPOGRAPHY STANDARD (max-width: 767px)
   Matched to https://fernandes-media.com/#advantages:
   font-size: 16px !important;
   font-weight: 600 !important;
   ======================================================== */
@media (max-width: 767px) {
  header a.header-cta-btn,
  section a[href="#contacts"]:not(.concept-cta-btn):not(.final-cta-btn),
  section a[href="#cases"],
  #pricing a[href="#contacts"],
  #contacts button[type="submit"],
  #mobile-drawer a[href="#contacts"],
  a[href="https://t.me/tequila0sunset"].whitespace-nowrap:not(.final-cta-btn),
  #blog a[href="https://landix.pro/blog"],
  button[type="submit"],
  .btn-unified,
  .btn-mobile-16 {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    min-height: 52px;
  }
}

/* ========================================================
   FINAL CTA & QUICK START CONCEPT STYLING POLISH
   ======================================================== */
.final-cta-heading {
  line-height: 1.18 !important;
}

.final-cta-btn {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  min-height: 56px !important;
  padding-block: 16px !important;
  line-height: 1.2 !important;
}

.concept-cta-btn {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  min-height: 54px !important;
  line-height: 1.2 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.concept-cta-btn:hover {
  background: var(--teal) !important;
  color: var(--bg-deep) !important;
  box-shadow: 0 0 45px rgba(0, 229, 229, 0.65) !important;
  transform: translateY(-2px) scale(1.02);
}

/* Strict Header Nav Font Protection (Manrope, Normal Case) */
header nav a {
  font-family: Manrope, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ========================================================
   CONTACT METHOD SELECTOR (TELEGRAM / MAX)
   ======================================================== */
.contact-method-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #a1a1aa !important;
}
.contact-method-card:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}
.contact-method-card.is-active,
.contact-method-card:has(input:checked) {
  border-color: #00E5E5 !important;
  background-color: rgba(0, 229, 229, 0.1) !important;
  color: #00E5E5 !important;
  box-shadow: 0 0 20px rgba(0, 229, 229, 0.18) !important;
}

/* ========================================================
   COOKIE CONSENT BANNER (152-FZ / YANDEX METRIKA)
   ======================================================== */
.ckbar {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 20px !important;
  z-index: 99998 !important;
  display: flex;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 229, 229, 0.35) !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 229, 229, 0.15) !important;
  max-width: min(720px, calc(100vw - 32px)) !important;
  width: max-content !important;
  box-sizing: border-box !important;
  color: #E2E8F0 !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  animation: ckSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}
@keyframes ckSlideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.ck-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
}
.ck-icon {
  font-size: 22px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.ck-text {
  color: #CBD5E1 !important;
  font-size: 0.84rem !important;
}
.ck-text a {
  color: #00E5E5 !important;
  text-decoration: underline !important;
  transition: opacity 0.15s !important;
}
.ck-text a:hover {
  opacity: 0.85 !important;
}
.ckbtns {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.ck-btn-accept {
  background: #00E5E5 !important;
  color: #0A0B0E !important;
  font-family: 'Unbounded', sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 229, 229, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.ck-btn-accept:hover {
  background: #00d2d2 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 229, 229, 0.45) !important;
}
.ck-btn-decline {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94A3B8 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.ck-btn-decline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
}
@media (max-width: 680px) {
  .ckbar {
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    bottom: 14px !important;
  }
  .ck-content {
    align-items: flex-start !important;
  }
  .ckbtns {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .ck-btn-accept, .ck-btn-decline {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}


