
:root {
      --bg-deep: #08080A;
      --bg-warm: #15120D;
      --bg-card: #111113;
      --bg-card-hover: #18181B;
      --bg-elevated: #1C1B1F;
      --gold: #C4A265;
      --gold-light: #D4BA85;
      --gold-pale: #E8D5B0;
      --gold-glow: rgba(196, 162, 101, 0.12);
      --gold-glow-strong: rgba(196, 162, 101, 0.25);
      --text-primary: #F2EDE7;
      --text-secondary: rgba(242, 237, 231, 0.88);
      --text-muted: rgba(242, 237, 231, 0.50);
      --border: rgba(196, 162, 101, 0.1);
      --border-hover: rgba(196, 162, 101, 0.25);

      /* ── Финальная типо-система ── */
      --font-display: 'Italiana', serif;                 /* wordmark, логотип */
      --font-head: 'Plus Jakarta Sans', sans-serif;      /* h1 / h2 / h3 */
      --font-body: 'Raleway', sans-serif;                /* body */
      --font-italic: 'Libre Caslon Text', serif;         /* tagline / italic-акценты */
      --font-num: 'Plus Jakarta Sans', sans-serif;       /* все цифры */
      --font-stats: 'Plus Jakarta Sans', sans-serif;     /* легаси-алиас */
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    .num { font-family: var(--font-stats); font-weight: 500; letter-spacing: 0.02em; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      font-weight: 300;
      letter-spacing: 0.04em;
      background: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    body::before {
      content: '';
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(196,162,101,0.04), transparent),
                  radial-gradient(ellipse 60% 80% at 80% 90%, rgba(196,162,101,0.03), transparent);
      pointer-events: none; z-index: 0;
    }

    /* ── Чередующиеся фоны секций ── */
    :root {
      --bg-cool: #0A0B10;
      --bg-forest: #090D0A;
    }
    .bg-warm  { background: var(--bg-warm) !important; }
    .bg-cool  { background: var(--bg-cool) !important; }
    .bg-forest { background: var(--bg-forest) !important; }
    .bg-deep  { background: var(--bg-deep) !important; }

    /* NAV */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 18px 48px;
      display: flex; justify-content: space-between; align-items: center;
      background: rgba(8,8,10,0.8); backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border);
      transition: all 0.4s ease;
    }
    .nav.scrolled { padding: 12px 48px; }
    .nav-logo {
      display: flex; align-items: center; gap: 14px;
      text-decoration: none; line-height: 1;
    }
    .nav-logo-stack {
      display: flex; flex-direction: column; gap: 0;
    }
    .nav-logo-main {
      font-family: var(--font-display); font-size: 1.7rem; font-weight: 400;
      color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase;
    }
    .nav-logo-mid {
      font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
      color: var(--text-secondary); letter-spacing: 0.35em; text-transform: uppercase;
      margin-top: 2px;
    }
    .nav-logo-divider {
      width: 1px; height: 36px; background: var(--border-hover);
    }
    .nav-logo-sub {
      font-family: var(--font-body); font-size: 0.58rem; font-weight: 400;
      color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase;
      line-height: 1.5; white-space: nowrap;
    }
    .nav-links { display: flex; gap: 36px; align-items: center; }
    .nav-links a {
      font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
      text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s;
    }
    .nav-links a:hover { color: var(--gold); }
    .nav-cta {
      padding: 10px 24px !important; background: var(--gold) !important; color: var(--bg-deep) !important;
      border-radius: 50px; font-weight: 600 !important; letter-spacing: 0.04em !important; transition: all 0.3s ease !important;
    }
    .nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger span { width: 24px; height: 1.5px; background: var(--gold); transition: 0.3s; }

    .mobile-menu {
      display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(8,8,10,0.97); backdrop-filter: blur(24px); z-index: 99;
      flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    }
    .mobile-menu.active { display: flex; }
    .mobile-menu a { font-family: var(--font-head); font-size: 1.4rem; font-weight: 400; color: var(--text-primary); text-decoration: none; letter-spacing: 0.03em; }
    .mobile-menu a:hover { color: var(--gold); }
    .mobile-close { position: absolute; top: 20px; right: 28px; font-size: 1.8rem; background: none; border: none; color: var(--gold); cursor: pointer; }

    /* HERO */
    .hero { min-height: 100vh; display: flex; align-items: flex-end; padding: 0 48px 80px; position: relative; overflow: hidden; }
    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
    }
    .hero-bg img {
      width: 100%; height: 100%; object-fit: cover; object-position: center top;
    }
    .hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(0deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.7) 35%, rgba(8,8,10,0.15) 60%, transparent 100%),
                  linear-gradient(90deg, rgba(8,8,10,0.5) 0%, transparent 50%);
    }
    .hero-silk {
      position: absolute; top: 0; right: -200px; width: 900px; height: 100%;
      background: radial-gradient(ellipse at center, rgba(196,162,101,0.06) 0%, transparent 70%);
      animation: silkDrift 12s ease-in-out infinite alternate;
      z-index: 1;
    }
    @keyframes silkDrift { 0% { transform: translate(0,0) rotate(0deg); opacity:0.6; } 100% { transform: translate(-60px,40px) rotate(2deg); opacity:1; } }
    .hero-particles { position: absolute; top:0; left:0; right:0; bottom:0; overflow: hidden; }
    .particle { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; opacity: 0; animation: sparkle 4s ease-in-out infinite; }
    @keyframes sparkle { 0%,100% { opacity:0; transform:translateY(0); } 50% { opacity:0.6; transform:translateY(-30px); } }

    .hero-inner {
      max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 48px;
      position: relative; z-index: 2;
    }
    .hero-eyebrow {
      font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.30em;
      color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
    }
    .hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
    .hero-eyebrow .num,
    .section-eyebrow .num { font-family: var(--font-num); font-weight: 500; letter-spacing: 0.04em; }
    .hero h1 { font-family: var(--font-display); font-size: clamp(2.6rem,4.5vw,3.8rem); font-weight: 400; line-height: 1.12; margin-bottom: 24px; letter-spacing: 0.04em; }
    .hero h1 em { font-family: var(--font-italic); font-style: italic; color: var(--gold); letter-spacing: 0.005em; font-weight: 400; }
    .hero-sub { font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; margin-bottom: 40px; max-width: 520px; letter-spacing: 0.04em; }
    .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

    .btn {
      display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; border-radius: 60px;
      font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
      text-decoration: none; cursor: pointer; border: none; transition: all 0.4s ease; position: relative; overflow: hidden;
    }
    .btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--bg-deep); box-shadow: 0 4px 24px rgba(196,162,101,0.25); }
    .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(196,162,101,0.35); }
    .btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--border-hover); }
    .btn-ghost:hover { background: var(--gold-glow); border-color: var(--gold); }

    /* STATS */
    .stats-ribbon { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 48px; position: relative; z-index: 2; }
    .stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
    .stat { text-align: center; }
    .stat-num { font-family: var(--font-num); font-size: 2.4rem; font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 8px; letter-spacing: 0.02em; }
    .stat-label { font-family: var(--font-body); font-size: 0.62rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }

    /* SECTIONS */
    .section { padding: 100px 0; position: relative; z-index: 2; }
    .section:nth-of-type(odd)  { background: radial-gradient(ellipse 70% 60% at 20% 50%, rgba(196,162,101,0.06) 0%, transparent 55%), var(--bg-warm); }
    .section:nth-of-type(even) { background: var(--bg-deep); }
    .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
    .section-eyebrow {
      font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.30em;
      color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
    }
    .section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
    .section-title { font-family: var(--font-head); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 400; line-height: 1.18; margin-bottom: 18px; letter-spacing: 0.03em; color: var(--text-primary); }
    .section-title em { font-family: var(--font-italic); font-style: italic; color: var(--gold); font-weight: 400; letter-spacing: 0.005em; }
    .section-subtitle { font-family: var(--font-body); font-size: 1rem; font-weight: 300; color: var(--text-secondary); max-width: 600px; line-height: 1.75; margin-bottom: 56px; letter-spacing: 0.04em; }

    /* ABOUT */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
    .about-photo {
      width: 100%; aspect-ratio: 4/5; border-radius: 24px;
      background: linear-gradient(165deg, #1a1815, #0f0e0c); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center; overflow: hidden;
    }
    .about-photo img {
      width: 100%; height: 100%; object-fit: cover; object-position: top center;
    }
    .about-photo-label { font-family: var(--font-italic); font-style: italic; font-size: 1rem; color: var(--text-muted); }
    .about-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 400; line-height: 1.18; margin-bottom: 22px; letter-spacing: 0.03em; color: var(--text-primary); }
    .about-text h2 em { font-family: var(--font-italic); font-style: italic; color: var(--gold); letter-spacing: 0.005em; font-weight: 400; }
    .about-text > p { font-family: var(--font-body); font-size: 0.98rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px; letter-spacing: 0.04em; }
    .credentials-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
    .credential { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }
    .credential::before { content: '◆'; color: var(--gold); font-size: 0.55rem; margin-top: 5px; flex-shrink: 0; }

    /* DIRECTIONS */
    .directions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .dir-card {
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 28px;
      padding: 48px 40px; position: relative; overflow: hidden; transition: all 0.5s ease;
    }
    .dir-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.4s; }
    .dir-card:hover::before { opacity: 1; }
    .dir-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
    .dir-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 50%; height: 50%; background: radial-gradient(ellipse at bottom right, var(--gold-glow), transparent); pointer-events: none; }
    .dir-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--gold-glow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 24px; }
    .dir-card h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 400; margin-bottom: 14px; letter-spacing: 0.03em; color: var(--text-primary); }
    .dir-card p { font-family: var(--font-body); font-size: 0.92rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; letter-spacing: 0.04em; }
    .dir-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
    .dir-feat { font-size: 0.72rem; font-weight: 500; padding: 7px 16px; border-radius: 30px; background: rgba(196,162,101,0.08); color: var(--gold-pale); border: 1px solid var(--border); }

    /* SERVICES */
    .services-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--bg-card); }
    .srv-item { padding: 48px 40px; border-right: 1px solid var(--border); transition: background 0.4s; }
    .srv-item:last-child { border-right: none; }
    .srv-item:hover { background: var(--bg-card-hover); }
    .srv-item h4 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 400; margin-bottom: 10px; letter-spacing: 0.03em; color: var(--text-primary); }
    .srv-item p { font-family: var(--font-body); font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; letter-spacing: 0.04em; }
    .srv-price { font-family: var(--font-num); font-size: 1.05rem; font-weight: 500; color: var(--gold); letter-spacing: 0.02em; }

    /* COMPARE */
    .compare-section { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .compare-table { width: 100%; border-collapse: collapse; }
    .compare-table thead th { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; padding: 24px 20px; text-align: center; border-bottom: 1px solid var(--border); letter-spacing: 0.03em; color: var(--text-primary); }
    .compare-table thead th:first-child { text-align: left; }
    .compare-table thead th:nth-child(2) { color: var(--gold); }
    .compare-table thead th:nth-child(3) { color: var(--text-muted); }
    .compare-table td { padding: 18px 20px; font-size: 0.88rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); text-align: center; }
    .compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
    .compare-table td:nth-child(2) { color: var(--gold-pale); }
    .compare-table td:nth-child(3) { color: var(--text-muted); }

    /* CASES */
    .cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .case-card {
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
      padding: 36px; display: flex; gap: 28px; align-items: center; transition: all 0.4s;
    }
    .case-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0,0,0,0.25); }
    .case-photo { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(145deg, #1a1815, #0f0e0c); border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .case-photo-label { font-size: 0.65rem; color: var(--text-muted); font-style: italic; }
    .case-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 400; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.03em; }
    .case-income { display: flex; gap: 32px; }
    .ci-label { font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--text-muted); margin-bottom: 4px; }
    .ci-val { font-family: var(--font-num); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.02em; }
    .ci-before .ci-val { color: var(--text-secondary); }
    .ci-after .ci-val { color: var(--gold); }
    .ci-sub { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }

    /* REVIEWS */
    .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; transition: all 0.4s; }
    .review-card:hover { border-color: var(--border-hover); }
    .review-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 16px; }
    .review-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
    .review-author { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
    .review-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

    /* CTA */
    .cta-section { padding: 100px 48px; position: relative; z-index: 2; }
    .cta-box {
      max-width: 800px; margin: 0 auto; text-align: center;
      background: var(--bg-card); border: 1px solid var(--border); border-radius: 32px;
      padding: 64px 48px; position: relative; overflow: hidden;
    }
    .cta-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at center, var(--gold-glow), transparent 60%); animation: ctaPulse 6s ease-in-out infinite alternate; }
    @keyframes ctaPulse { 0% { opacity: 0.4; transform: scale(1); } 100% { opacity: 0.8; transform: scale(1.1); } }
    .cta-box > * { position: relative; z-index: 2; }
    .cta-box .section-title { margin-bottom: 12px; }
    .cta-box .section-subtitle { margin: 0 auto 32px; max-width: 480px; }
    .cta-box .section-eyebrow { justify-content: center; }
    .cta-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .cta-form input {
      padding: 16px 24px; border-radius: 60px; border: 1px solid var(--border);
      background: rgba(255,255,255,0.04); color: var(--text-primary); font-family: var(--font-body);
      font-size: 0.88rem; width: 220px; outline: none; transition: all 0.3s;
    }
    .cta-form input::placeholder { color: var(--text-muted); }
    .cta-form input:focus { border-color: var(--gold); background: rgba(196,162,101,0.05); }
    .cta-disclaimer { font-size: 0.68rem; color: var(--text-muted); margin-top: 16px; }

    /* FOOTER */
    .footer { border-top: 1px solid var(--border); padding: 40px 48px; position: relative; z-index: 2; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
    .footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
    .footer-brand span { color: var(--gold); }
    .footer-links { display: flex; gap: 28px; }
    .footer-links a { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
    .footer-links a:hover { color: var(--gold); }
    .footer-copy { font-size: 0.7rem; color: var(--text-muted); }

    /* ANIMATIONS */
    .fade-up { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .hero-inner { gap: 40px; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .directions-grid { grid-template-columns: 1fr; }
      .services-scroll { grid-template-columns: 1fr; }
      .srv-item { border-right: none; border-bottom: 1px solid var(--border); }
      .srv-item:last-child { border-bottom: none; }
      .cases-grid { grid-template-columns: 1fr; }
      .reviews-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .nav { padding: 14px 20px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero { padding: 100px 20px 60px; }
      .section { padding: 64px 0; }
      .cta-section { padding: 64px 20px; }
      .cta-box { padding: 40px 24px; }
      .cta-form { flex-direction: column; align-items: center; }
      .cta-form input { width: 100%; max-width: 300px; }
      .footer { padding: 32px 20px; }
      .footer-inner { flex-direction: column; text-align: center; }
      .case-card { flex-direction: column; text-align: center; }
      .case-income { justify-content: center; }
      .compare-table { font-size: 0.8rem; }
      .compare-table td, .compare-table th { padding: 12px 8px; }
    }
  
  /* ===== MULTI-PAGE ADDITIONS ===== */
  
  /* Active nav link */
  .nav-links a.active { color: var(--gold); }

  /* Page hero (smaller than main hero) */
  .page-hero {
    min-height: 420px;
    display: flex; align-items: center;
    padding: 140px 48px 80px;
    position: relative; overflow: hidden;
    background: var(--bg-warm);
  }
  .page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(196,162,101,0.07), transparent);
  }
  .page-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
  .page-hero h1 { font-family: var(--font-head); font-size: clamp(2.4rem,5vw,4rem); font-weight: 400; color: var(--text-primary); line-height: 1.12; margin-bottom: 20px; letter-spacing: 0.03em; }
  .page-hero h1 em { font-family: var(--font-italic); color: var(--gold); font-style: italic; font-weight: 400; letter-spacing: 0.005em; }
  .page-hero p { font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); max-width: 600px; line-height: 1.75; letter-spacing: 0.04em; }
  .page-hero-badge { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--gold); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 20px; }

  /* Service cards (studio page) */
  .service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
  .service-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px 32px;
    transition: all 0.4s ease;
  }
  .service-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }
  .service-card-icon { font-size: 1.6rem; margin-bottom: 20px; }
  .service-card h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; letter-spacing: 0.03em; }
  .service-card p { font-family: var(--font-body); color: var(--text-secondary); font-size: 0.92rem; font-weight: 300; line-height: 1.75; margin-bottom: 20px; letter-spacing: 0.04em; }
  .service-card-price { font-family: var(--font-num); font-size: 1.4rem; font-weight: 500; color: var(--gold); margin-bottom: 8px; letter-spacing: 0.02em; }
  .service-card-note { font-size: 0.75rem; color: var(--text-muted); }
  .service-card-link { display: inline-block; margin-top: 20px; font-size: 0.8rem; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.3s; }
  .service-card-link:hover { opacity: 0.75; }

  /* Process steps */
  .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; margin-top: 48px; }
  .process-step { background: var(--bg-card); padding: 36px 28px; position: relative; }
  .process-step:first-child { border-radius: 16px 0 0 16px; }
  .process-step:last-child { border-radius: 0 16px 16px 0; }
  .process-num { font-family: var(--font-num); font-size: 3rem; font-weight: 400; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 16px; letter-spacing: 0.02em; }
  .process-step h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 400; color: var(--text-primary); margin-bottom: 10px; letter-spacing: 0.03em; }
  .process-step p { font-family: var(--font-body); font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; letter-spacing: 0.04em; }

  /* FAQ */
  .faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; }
  .faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
  .faq-item:hover { border-color: var(--border-hover); }
  .faq-q { padding: 22px 28px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .faq-q span { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }
  .faq-q::after { content: '+'; color: var(--gold); font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; }
  .faq-item.open .faq-q::after { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .faq-a p { padding: 0 28px 22px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
  .faq-item.open .faq-a { max-height: 300px; }

  /* Portfolio grid */
  .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 48px; }
  .portfolio-item { aspect-ratio: 4/5; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.3s; }
  .portfolio-item:hover { transform: scale(1.02); }
  .portfolio-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
  .portfolio-placeholder span:first-child { font-size: 2rem; opacity: 0.3; }
  .portfolio-placeholder span:last-child { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
  .portfolio-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
  .filter-btn { padding: 8px 20px; border: 1px solid var(--border); border-radius: 50px; background: transparent; color: var(--text-secondary); font-size: 0.8rem; font-family: var(--font-body); cursor: pointer; letter-spacing: 0.06em; transition: all 0.3s; }
  .filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

  /* About timeline */
  .timeline { margin-top: 48px; display: flex; flex-direction: column; gap: 0; position: relative; }
  .timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--border); }
  .timeline-item { padding-left: 56px; padding-bottom: 36px; position: relative; }
  .timeline-dot { position: absolute; left: 12px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-deep); }
  .timeline-year { font-family: var(--font-stats); font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 6px; }
  .timeline-text { font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
  .timeline-sub { font-size: 0.83rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }

  /* Contacts */
  .contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
  @media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr; } }
  .contact-block h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; color: var(--text-primary); margin-bottom: 20px; letter-spacing: 0.03em; }
  .contact-line { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .contact-line:last-child { border-bottom: none; }
  .contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
  .contact-label { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
  .contact-val { font-size: 0.95rem; color: var(--text-primary); }
  .contact-val a { color: var(--gold); text-decoration: none; }
  .contact-val a:hover { opacity: 0.8; }
  .map-placeholder { width: 100%; height: 320px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-top: 24px; }
  .map-placeholder span { color: var(--text-muted); font-size: 0.85rem; }

  /* School program */
  .program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
  .program-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; }
  .program-card-icon { font-size: 1.8rem; margin-bottom: 16px; }
  .program-card h4 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
  .program-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
  .program-card ul { list-style: none; margin-top: 12px; }
  .program-card ul li { font-size: 0.82rem; color: var(--text-secondary); padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
  .program-card ul li::before { content: '✓'; color: var(--gold); font-size: 0.75rem; }
  .program-card ul li:last-child { border-bottom: none; }

  /* Pricing box */
  .pricing-box { background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-warm) 100%); border: 1px solid var(--border-hover); border-radius: 20px; padding: 48px; margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 768px) { .pricing-box { grid-template-columns: 1fr; padding: 32px 24px; } }
  .pricing-price { font-family: var(--font-stats); font-size: 3.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
  .pricing-period { font-size: 0.85rem; color: var(--text-secondary); margin-top: 8px; }
  .pricing-includes { display: flex; flex-direction: column; gap: 10px; }
  .pricing-inc { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
  .pricing-inc::before { content: '✦'; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }

/* Nav mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,10,0.97);
  backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 99;
}
.nav-mobile.active { display: flex; }
.nav-mobile a { font-size: 1.2rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--gold); }
.nav-links-a {
  font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links-a:hover { color: var(--gold); }
.nav-links-a.active { color: var(--gold); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .page-hero { padding: 120px 24px 60px; }
}

/* ── Booking Cards ── */
.booking-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.booking-card {
  border: 1px solid rgba(196,162,101,0.18);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(196,162,101,0.03);
  transition: border-color 0.3s;
}
.booking-card:hover { border-color: rgba(196,162,101,0.35); }
.booking-card--accent { background: rgba(196,162,101,0.06); border-color: rgba(196,162,101,0.28); }
.booking-card-icon { font-size: 1.5rem; }
.booking-card-title { font-size: 1rem; font-weight: 500; color: var(--text-primary); letter-spacing: 0.03em; }
.booking-card-text { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.btn-messenger {
  flex: 1;
  padding: 9px 6px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 0.1em;
  background: #229ED9;
  display: block;
}
.btn-messenger--max { background: #005FF9; }
.btn-messenger--vk  { background: #0077FF; }
@media (max-width: 768px) {
  .booking-cards { grid-template-columns: 1fr; }
}

/* ── Floating Messenger Buttons (mobile) ── */
.float-messengers {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 16px;
  flex-direction: column;
  gap: 10px;
  z-index: 8000;
}
@media (max-width: 768px) {
  .float-messengers { display: flex; }
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn--tg  { background: #229ED9; }
.float-btn--max { background: #005FF9; }
.float-btn--vk  { background: #0077FF; }

/* ── Form consent checkbox (152-ФЗ) ── */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.form-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  border: 1px solid rgba(196,162,101,0.4);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.form-consent input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.form-consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 0;
  width: 5px; height: 10px;
  border: solid #08080A;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,162,101,0.35);
  transition: border-color 0.2s;
}
.form-consent a:hover { border-bottom-color: var(--gold); }

/* ── Mobile overflow safety net (хард) ── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
section, footer, header, nav.nav, main {
  max-width: 100vw;
}
.aw-track-wrap, .studio-slider, .pf-row-wrap, .pm-vr-grid, #tl-sticky, #tl-outer {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Brand story block (Что такое Agent Permanent) */
.brand-story-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}
.brand-story-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .brand-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-story-text-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Footer-links wrap on mobile */
.footer-links { flex-wrap: wrap !important; max-width: 100%; }
@media (max-width: 700px) {
  .footer-links {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .footer-inner { flex-direction: column !important; gap: 24px !important; align-items: center !important; text-align: center !important; }
}

/* Mobile: arina section не должна форсить 100vh + center */
@media (max-width: 900px) {
  #arina {
    min-height: auto !important;
    display: block !important;
    padding: 80px 0 60px !important;
  }
}
