/* ==========================================================================
   v3-style.css — АБ Технология права — v3 Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTS
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('initial_assets/PFBeauSansPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PF BeauSans Pro';
  src: url('initial_assets/PFBeauSansPro-SeBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-blue:       #527fb9;   /* Pantone 2727 C */
  --color-gray:       #666666;   /* Pantone Cool Gray 10 C */
  --color-dark:       #333333;   /* CMYK 0/0/0/70 */
  --color-white:      #ffffff;
  --color-bg:         #f8f9fa;   /* Off-white section alt */
  --color-footer:     #1a1a1a;

  /* Typography */
  --font-main:        'PF BeauSans Pro', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --nav-height:       88px;
  --section-h-pad:    8%;
  --max-content:      1600px;

  /* Transitions */
  --ease-premium:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-reveal:      cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* --------------------------------------------------------------------------
   SNAP SCROLL CONTAINER
   -------------------------------------------------------------------------- */
.snap-container {
  /* height: 100vh; */
  /* overflow-y: scroll; */
  /* scroll-snap-type: y mandatory; */
  scroll-behavior: smooth;
  position: relative;
}

.snap-container.snap-off {
  scroll-snap-type: none !important;
}

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section {
  min-height: 100vh;
  /* scroll-snap-align: start; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) 0 60px;
  background-color: var(--color-white);
}

.section-alt {
  background-color: var(--color-bg);
}

.section-inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--section-h-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border-bottom: none;
  z-index: 1000;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}



/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-svg {
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-line-top {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 300;
  color: var(--color-gray);
  letter-spacing: 0.8px;
  text-transform: lowercase;
  margin-bottom: 3px;
}

.logo-line-bottom {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: -0.3px;
  text-transform: lowercase;
  line-height: 1;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 300;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--color-blue);
}

/* Snap Toggle Button */
#snap-toggle {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-blue);
  background: transparent;
  border: 1px solid var(--color-blue);
  border-radius: 3px;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

#snap-toggle:hover,
#snap-toggle.snap-active {
  background: var(--color-blue);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  padding: 0;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 560px;
  margin-left: 0;
  margin-right: auto;
  padding-top: 40px;
}

.hero-content h1 {
  font-family: var(--font-main);
  font-size: 68px;
  font-weight: 600;
  color: var(--color-blue);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  white-space: pre-line;
}

.hero-content p {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.65;
  margin-bottom: 44px;
  white-space: pre-line;
}

/* Hero CTA Button */
.btn-hero {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
  padding: 16px 40px;
  border-radius: 2px;
  transition:
    background 0.4s var(--ease-premium),
    color 0.4s var(--ease-premium);
}

.btn-hero:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-heading {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-main);
  font-size: 46px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 64px;
}

.section-subtitle {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 56px;
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   GRID SYSTEMS
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  padding: 48px 40px;
  border-top: 2px solid var(--color-blue);
  transition:
    transform 0.5s var(--ease-premium),
    box-shadow 0.5s var(--ease-premium);
  text-align: left;
  cursor: default;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(82, 127, 185, 0.12);
}

.card-tag {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.card-body {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.75;
}

/* Case card variant */
.card-case .card-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
}

/* --------------------------------------------------------------------------
   CTA SECTION (Section 4)
   -------------------------------------------------------------------------- */
#section-cta {
  background: var(--color-blue);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta-inner {
  max-width: 720px;
}

.cta-inner h2 {
  font-family: var(--font-main);
  font-size: 60px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.cta-inner p {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 48px;
}

.btn-cta {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 18px 48px;
  border-radius: 2px;
  transition:
    background 0.4s var(--ease-premium),
    border-color 0.4s var(--ease-premium),
    color 0.4s var(--ease-premium);
}

.btn-cta:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-footer);
  scroll-snap-align: end;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 72px var(--section-h-pad) 48px;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo-text .logo-line-top {
  color: rgba(255, 255, 255, 0.5);
}

.footer-logo-text .logo-line-bottom {
  color: var(--color-white);
}

.footer-tagline {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  max-width: 280px;
}

/* Footer Nav */
.footer-nav-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-links a {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-nav-links a:hover {
  color: var(--color-white);
}

/* Footer Contacts */
.footer-contacts-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-address {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  margin-bottom: 16px;
}

.footer-phone {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: var(--color-white);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px var(--section-h-pad);
  max-width: 100%;
}

.footer-bottom-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.4s var(--ease-reveal),
    transform 1.4s var(--ease-reveal);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.60s; }

/* --------------------------------------------------------------------------
   INNER PAGES (About, Contacts)
   -------------------------------------------------------------------------- */
.page-body {
  padding-top: calc(var(--nav-height) + 60px);
  min-height: 100vh;
}

.page-hero {
  padding: 80px var(--section-h-pad) 80px;
  max-width: var(--max-content);
  margin: 0 auto;
}

.page-hero-label {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-blue);
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-main);
  font-size: 56px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 28px;
  max-width: 700px;
}

.page-hero-sub {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.7;
  max-width: 600px;
}

.page-section {
  padding: 80px var(--section-h-pad);
  max-width: var(--max-content);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   CONTACTS PAGE
   -------------------------------------------------------------------------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Contact Form */
.contact-form-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-blue);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gray);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(102, 102, 102, 0.3);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-blue);
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(102, 102, 102, 0.45);
  font-weight: 300;
}

.btn-submit {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  background: var(--color-blue);
  border: 1px solid var(--color-blue);
  padding: 16px 44px;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.4s var(--ease-premium),
    color 0.4s var(--ease-premium);
  margin-top: 8px;
}

.btn-submit:hover {
  background: transparent;
  color: var(--color-blue);
}

/* Contact Info Block */
.contact-info-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-blue);
  margin-bottom: 48px;
}

.contact-info-item {
  margin-bottom: 40px;
}

.contact-info-item-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(102, 102, 102, 0.6);
  margin-bottom: 8px;
}

.contact-info-item-value {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.6;
}

.contact-info-item-value a {
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.contact-info-item-value a:hover {
  color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   ABOUT PAGE
   -------------------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-intro-text p {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-intro-text p:first-child {
  font-size: 22px;
  color: var(--color-dark);
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding-top: 8px;
}

.stat-block {
  padding: 32px 0;
  border-top: 2px solid var(--color-blue);
}

.stat-number {
  font-family: var(--font-main);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.5;
}

.about-values {
  border-top: 1px solid rgba(82, 127, 185, 0.12);
  padding-top: 64px;
  margin-top: 64px;
}

.about-values-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-blue);
  margin-bottom: 40px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  padding: 36px 32px;
  background: var(--color-bg);
  border-top: 2px solid var(--color-blue);
}

.value-item h3 {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.value-item p {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   VERSION SWITCHER
   -------------------------------------------------------------------------- */
.version-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  padding: 4px;
  border: 1px solid rgba(82, 127, 185, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.version-switcher a {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray);
  padding: 7px 14px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.version-switcher a.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.version-switcher a:not(.active):hover {
  color: var(--color-blue);
}

/* --------------------------------------------------------------------------
   DIVIDER
   -------------------------------------------------------------------------- */
.divider {
  width: 40px;
  height: 2px;
  background: var(--color-blue);
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 54px; }
  .cta-inner h2 { font-size: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .contacts-grid { gap: 48px; }
  .about-intro { gap: 48px; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-h-pad: 24px; }

  .snap-container {
    scroll-snap-type: none;
    height: auto;
    overflow-y: auto;
  }

  .section {
    min-height: auto;
    padding: calc(var(--nav-height) + 40px) var(--section-h-pad) 60px;
  }

  #hero {
    min-height: 100vh;
    padding: 0;
  }

  .hero-content {
    margin-left: 0;
    padding: 0;
    padding-top: 100px;
  }

  .hero-content h1 { font-size: 40px; letter-spacing: -0.5px; }
  .hero-content p { font-size: 17px; }

  .section-title { font-size: 32px; }
  .cta-inner h2 { font-size: 36px; }

  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .navbar-links { display: none; }

  .contacts-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: 1fr; }

  .page-hero-title { font-size: 36px; }
}


.navbar-logo-svg-full, .footer-logo-svg-full {
  height: 48px;
  width: auto;
  display: block;
}
.footer-logo-svg-full {
  height: 32px;
}
@media (max-width: 768px) {
  .navbar-logo-svg-full { height: 32px; }
  .footer-logo-svg-full { height: 26px; }
}

/* Dark Theme Overrides for Transparent Navbar */
.navbar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.navbar.theme-dark .navbar-logo-svg-full path {
  fill: #ffffff !important;
}
.navbar.theme-dark .navbar-links a {
  color: #ffffff !important;
}
.navbar.theme-dark .navbar-links a:hover {
  color: rgba(255,255,255,0.7) !important;
}
.navbar.theme-dark #snap-toggle {
  color: #ffffff !important;
  border-color: #ffffff !important;
}
.navbar.theme-dark #snap-toggle:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* --------------------------------------------------------------------------
   APPROACH / TABS SECTION
   -------------------------------------------------------------------------- */
.approach-tabs {
  display: flex;
  gap: 12px;
  background: var(--color-white);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid rgba(82, 127, 185, 0.15);
}

.approach-tab {
  font-family: var(--font-main);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--color-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.approach-tab:hover {
  color: var(--color-blue);
}

.approach-tab.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.approach-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.approach-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Variant 1: Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.principle-card {
  background: var(--color-white);
  padding: 40px;
  border-top: 2px solid var(--color-blue);
}
.principle-num {
  font-size: 48px;
  font-weight: 300;
  color: rgba(102, 102, 102, 0.15);
  margin-bottom: 16px;
  line-height: 1;
}
.principle-title {
  font-size: 20px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

/* Variant 2: Process Stepper */
.process-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  padding-top: 20px;
}
.process-stepper::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(82, 127, 185, 0.3);
  z-index: 1;
}
.step {
  position: relative;
  z-index: 2;
  background: transparent;
  padding-right: 20px;
}
.step-marker {
  width: 24px;
  height: 24px;
  background: var(--color-white);
  border: 2px solid var(--color-blue);
  border-radius: 50%;
  margin-bottom: 24px;
}
.step-title {
  font-size: 18px;
  color: var(--color-blue);
  margin-bottom: 12px;
}

/* Variant 3: Portrait */
.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.portrait-intro h3 {
  font-size: 28px;
  color: var(--color-blue);
  margin-bottom: 20px;
}
.portrait-intro p {
  font-size: 16px;
  color: var(--color-gray);
  line-height: 1.7;
}
.portrait-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.portrait-card {
  background: var(--color-white);
  padding: 30px;
  border-left: 3px solid var(--color-blue);
}
.portrait-card h4 {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

/* Responsive Media Queries for new section */
@media (max-width: 992px) {
  .principles-grid, .portrait-cards { grid-template-columns: 1fr 1fr; }
  .process-stepper { grid-template-columns: repeat(2, 1fr); }
  .process-stepper::before { display: none; }
  .step-marker { margin-bottom: 16px; }
  .portrait-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .principles-grid, .portrait-cards, .process-stepper { grid-template-columns: 1fr; }
  .approach-tabs { flex-wrap: wrap; }
  .approach-tab { flex: 1; text-align: center; }
}

/* --------------------------------------------------------------------------
   MOBILE MENU
   -------------------------------------------------------------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-blue);
  transition: all 0.3s ease;
}

.navbar.theme-dark .menu-toggle span {
  background-color: var(--color-white);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-blue) !important;
}

.menu-toggle.active span:nth-child(2) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-blue) !important;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.mobile-phone {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

.navbar-inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--section-h-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
