/* =========================================================
   KVANTUM STAGE / LANDING PAGE
   style.css
   ========================================================= */

/* ------------------------------
   Fonts
   Рекомендуется подключить в <head>:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap" rel="stylesheet">
------------------------------ */

/* ------------------------------
   Root
------------------------------ */
:root {
    --bg: #081a34;
    --bg-soft: #0d2447;
    --bg-deep: #050f24;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.16);
    --surface-light: #f5f3fb;
    --surface-white: #ffffff;
  
    --text: #f7f8fc;
    --text-soft: rgba(247, 248, 252, 0.78);
    --text-dark: #161b2b;
    --text-muted: #5f6c82;
  
    --line: rgba(255, 255, 255, 0.16);
    --line-dark: rgba(20, 34, 59, 0.12);
  
    --primary: #123d73;
    --primary-2: #6f4fa5;
    --primary-3: #b88f57; /* тёплое золото из логотипа */
    --accent: #8f72c7;
    --accent-soft: rgba(143, 114, 199, 0.18);
    --accent-gold-soft: rgba(184, 143, 87, 0.16);
  
    --success: #2f8c61;
    --danger: #b14646;
  
    --shadow-lg: 0 26px 74px rgba(3, 11, 24, 0.32);
    --shadow-md: 0 18px 44px rgba(8, 20, 44, 0.2);
    --shadow-sm: 0 12px 28px rgba(8, 20, 44, 0.12);
  
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
  
    --container: 1240px;
    --header-height: 86px;
  
    --transition: 0.28s ease;
    --transition-slow: 0.45s ease;
  }
  
  /* ------------------------------
     Reset
  ------------------------------ */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(111, 79, 165, 0.22), transparent 28%),
      radial-gradient(circle at top right, rgba(184, 143, 87, 0.18), transparent 24%),
      linear-gradient(180deg, #091a36 0%, #07142b 100%);
    min-width: 320px;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  svg {
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition), border-color var(--transition);
  }

  a:focus-visible,
  button:focus-visible,
  .input:focus-visible,
  .select:focus-visible,
  .textarea:focus-visible {
    outline: 2px solid rgba(184, 143, 87, 0.9);
    outline-offset: 2px;
  }
  
  button,
  input,
  textarea,
  select {
    font: inherit;
  }
  
  button {
    cursor: pointer;
    border: none;
    background: none;
  }
  
  ul,
  ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
  }
  
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* ------------------------------
     Utilities
  ------------------------------ */
  .container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
  }
  
  .section {
    position: relative;
    padding: 112px 0;
    scroll-margin-top: calc(var(--header-height) + 12px);
  }
  
  .section--tight {
    padding: 76px 0;
  }

  .block-mt {
    margin-top: 2rem;
  }

  .list-narrow {
    margin-top: 1rem;
    max-width: 640px;
  }
  
  .section--light {
    color: var(--text-dark);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,247,252,0.98) 100%);
  }
  
  .section--light .section-title,
  .section--light .section-lead,
  .section--light .card-title,
  .section--light .card-text,
  .section--light .list-check li,
  .section--light .timeline-item,
  .section--light .info-item {
    color: var(--text-dark);
  }
  
  .section--light .section-kicker,
  .section--light .section-subtitle,
  .section--light .muted {
    color: var(--text-muted);
  }
  
  .grid {
    display: grid;
    gap: 24px;
  }
  
  .two-col {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
    align-items: center;
  }
  
  .center {
    text-align: center;
  }
  
  .muted {
    color: var(--text-soft);
  }
  
  .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247, 248, 252, 0.68);
  }
  
  .section-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-3), var(--accent));
  }
  
  .section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 2.8vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
  }

  .section-head.center .section-title {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-subtitle {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-soft);
    max-width: 760px;
  }
  
  .section-lead {
    font-size: clamp(1.06rem, 1.2vw, 1.22rem);
    line-height: 1.8;
    color: var(--text-soft);
    max-width: 800px;
    margin-top: 18px;
  }
  
  .section-head {
    margin-bottom: 48px;
  }
  
  .section-head.center .section-subtitle,
  .section-head.center .section-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ------------------------------
     Decorative waves / glows
  ------------------------------ */
  .wave-line {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    opacity: 0.55;
  }
  
  .wave-line svg {
    width: 100%;
    height: 100%;
  }
  
  .wave-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: waveFloat 7.5s ease-in-out infinite;
  }
  
  .wave-path--a {
    stroke: rgba(111, 79, 165, 0.9);
  }
  
  .wave-path--b {
    stroke: rgba(18, 61, 115, 0.9);
    animation-delay: 1.4s;
  }
  
  .wave-path--c {
    stroke: rgba(184, 143, 87, 0.75);
    animation-delay: 2.2s;
  }
  
  @keyframes waveFloat {
    0%, 100% {
      transform: translate3d(0, 0, 0) scaleX(1);
      opacity: 0.78;
    }
    50% {
      transform: translate3d(14px, -8px, 0) scaleX(1.03);
      opacity: 1;
    }
  }

  .wave-line--subtle {
    height: 80px;
    opacity: 0.38;
  }

  /* Фоновый декор блока «Как проходит» — волны в общей стилистике */
  #steps {
    overflow: hidden;
  }

  .steps-bg-decor {
    position: absolute;
    left: 0;
    top: 0;
    width: 58%;
    max-width: 720px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .steps-bg-decor__svg {
    width: 100%;
    height: 100%;
    opacity: 0.22;
  }

  .steps-bg-decor__path {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: stepsWaveFloat 12s ease-in-out infinite;
  }

  .steps-bg-decor__path--1 {
    stroke: rgba(111, 79, 165, 0.85);
  }

  .steps-bg-decor__path--2 {
    stroke: rgba(18, 61, 115, 0.8);
    animation-delay: 1.5s;
  }

  .steps-bg-decor__path--3 {
    stroke: rgba(184, 143, 87, 0.5);
    animation-delay: 3s;
  }

  .steps-bg-decor__path--4 {
    stroke: rgba(111, 79, 165, 0.5);
    animation-delay: 2s;
  }

  @keyframes stepsWaveFloat {
    0%, 100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.7;
    }
    50% {
      transform: translate3d(18px, -6px, 0) scale(1.02);
      opacity: 1;
    }
  }

  #steps .container {
    position: relative;
    z-index: 1;
  }
  
  .glow-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.55;
  }
  
  .glow-orb--violet {
    width: 240px;
    height: 240px;
    background: rgba(111, 79, 165, 0.35);
  }
  
  .glow-orb--gold {
    width: 220px;
    height: 220px;
    background: rgba(184, 143, 87, 0.26);
  }
  
  .glow-orb--blue {
    width: 280px;
    height: 280px;
    background: rgba(18, 61, 115, 0.28);
  }
  
  /* ------------------------------
     Header
  ------------------------------ */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background:
      linear-gradient(90deg, rgba(5, 14, 30, 0.96), rgba(8, 26, 52, 0.92));
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  
  .site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }
  
  .site-brand__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 8px 26px rgba(0,0,0,0.15);
    flex-shrink: 0;
  }
  
  .site-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .site-brand__text {
    min-width: 0;
  }
  
  .site-brand__title {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
  }
  
  .site-brand__subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: rgba(247,248,252,0.66);
    white-space: nowrap;
  }
  
  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  
  .site-nav a {
    position: relative;
    font-size: 0.96rem;
    color: rgba(247,248,252,0.82);
  }
  
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-3), var(--accent));
    transition: width var(--transition);
  }
  
  .site-nav a:hover {
    color: var(--text);
  }
  
  .site-nav a:hover::after {
    width: 100%;
  }
  
  .site-nav__item--has-sub {
    position: relative;
  }
  
  .site-nav__item--has-sub > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-3), var(--accent));
    transition: width var(--transition);
  }
  
  .site-nav__item--has-sub:hover > a::after {
    width: 100%;
  }
  
  .site-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 240px;
    padding: 10px 0;
    background: rgba(6, 18, 38, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 100;
  }
  
  .site-nav__item--has-sub:hover .site-nav__sub {
    display: flex;
  }
  
  .site-nav__sub a {
    display: block;
    padding: 10px 18px;
    font-size: 0.94rem;
    color: rgba(247,248,252,0.88);
    white-space: nowrap;
  }
  
  .site-nav__sub a::after {
    display: none;
  }
  
  .site-nav__sub a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
  }
  
  .page-guarantees .site-nav__sub a[href="guarantees.php"] {
    color: var(--text);
    background: rgba(255,255,255,0.06);
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--text);
  }
  
  /* ------------------------------
     Buttons
  ------------------------------ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition:
      transform var(--transition),
      box-shadow var(--transition),
      background-position var(--transition),
      background var(--transition),
      border-color var(--transition),
      color var(--transition);
    white-space: nowrap;
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 62%, var(--primary-3) 120%);
    background-size: 160% 160%;
    box-shadow: 0 16px 34px rgba(18, 61, 115, 0.34);
  }
  
  .btn--primary:hover {
    box-shadow: 0 20px 40px rgba(18, 61, 115, 0.42);
    background-position: 100% 0;
  }
  
  .btn--secondary {
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
  }
  
  .btn--secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.24);
  }
  
  .section--light .btn--secondary {
    color: var(--text-dark);
    border-color: rgba(20, 34, 59, 0.12);
    background: rgba(20, 34, 59, 0.03);
  }
  
  /* ------------------------------
     Hero
  ------------------------------ */
.hero {
    position: relative;
    padding: 112px 0 110px;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%),
      radial-gradient(circle at 80% 20%, rgba(143, 114, 199, 0.16), transparent 24%),
      radial-gradient(circle at 18% 16%, rgba(184, 143, 87, 0.12), transparent 18%);
    pointer-events: none;
  }
  
  .hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
  }
  
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
  }
  
  .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(247,248,252,0.78);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .hero__title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 5vw, 5.45rem);
    line-height: 1.24;
    letter-spacing: -0.045em;
    color: var(--text);
    max-width: 10.5ch;
  }
  
  .hero__title span {
    display: block;
  }

  .hero__title span:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f3e3c4 45%, #c9a36b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
.hero__subtitle {
    margin-top: 22px;
    max-width: 640px;
    font-size: clamp(1.04rem, 1.25vw, 1.18rem);
    line-height: 1.8;
    color: rgba(247,248,252,0.82);
  }
  
  .hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }
  
  .hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(247,248,252,0.88);
    font-size: 0.94rem;
    box-shadow: var(--shadow-sm);
  }
  
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
  }
  
  .hero__note {
    margin-top: 18px;
    font-size: 0.92rem;
    color: rgba(247,248,252,0.66);
  }
  
  .hero__visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-card {
    position: relative;
    width: min(100%, 520px);
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    z-index: 2;
  }
  
  .hero-card__logo {
    width: 164px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,0.22));
  }
  
  .hero-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  
  .hero-stat {
    padding: 18px 18px 16px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .hero-stat__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247,248,252,0.58);
  }
  
  .hero-stat__value {
    margin-top: 8px;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .hero-stat__value strong {
    font-size: 1.5rem;
    font-weight: 800;
  }
  
  .hero-visual-wave {
    position: absolute;
    width: min(740px, 130%);
    height: 320px;
    opacity: 0.88;
    pointer-events: none;
    z-index: 1;
  }
  
  .hero-visual-wave svg {
    width: 100%;
    height: 100%;
  }
  
  /* ------------------------------
     Cards
  ------------------------------ */
  .cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  /* Более широкие карточки только в блоке "О фестивале" (десктоп) */
  #about .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
  }
  
  .cards-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  
  .card {
    position: relative;
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
                rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow-sm);
    transition:
      transform var(--transition),
      box-shadow var(--transition),
      border-color var(--transition);
    overflow: hidden;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,255,255,0.16);
  }
  
  .section--light .card {
    background: var(--surface-white);
    border: 1px solid rgba(20, 34, 59, 0.12);
  }
  
  .card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-3), var(--primary-2));
    opacity: 0.95;
  }
  
  .card-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(18, 61, 115, 0.16), rgba(111, 79, 165, 0.2));
    color: var(--text);
    margin-bottom: 18px;
  }
  
  .section--light .card-icon {
    color: var(--primary);
  }
  
  .card-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
  }
  
  .card-text {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--text-soft);
  }
  
  .card-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
  }
  
  .card-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.55;
  }
  
  .card-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  }
  
  /* ------------------------------
     Feature / benefit list
  ------------------------------ */
  .feature-list {
    display: grid;
    gap: 18px;
  }
  
  .feature-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
  }
  
  .feature-item__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
  }
  
  .section--light .feature-item__icon {
    background: rgba(18, 61, 115, 0.05);
    border-color: rgba(18, 61, 115, 0.08);
  }
  
  .feature-item__title {
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .feature-item__text {
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.72;
    color: var(--text-soft);
  }
  
  /* ------------------------------
     Audience / chips
  ------------------------------ */
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .chip {
    min-height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.94rem;
    font-weight: 700;
    color: rgba(247,248,252,0.9);
  }
  
  .section--light .chip {
    color: var(--text-dark);
    background: rgba(18, 61, 115, 0.04);
    border-color: rgba(18, 61, 115, 0.08);
  }

  .chip.is-active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 62%, var(--primary-3) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(18, 61, 115, 0.35);
  }

  .section--light .chip.is-active {
    color: #fff;
  }
  
  /* ------------------------------
     Steps / timeline
  ------------------------------ */
  .timeline {
    display: grid;
    gap: 18px;
    position: relative;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 35px;
    width: 2px;
    background: linear-gradient(180deg, rgba(111,79,165,0.4), rgba(184,143,87,0.4));
    pointer-events: none;
  }
  
  .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-sm);
  }

  .timeline-item::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 28px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid rgba(184,143,87,0.9);
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(184,143,87,0.24);
  }
  
  .section--light .timeline-item {
    background: var(--surface-white);
    border-color: var(--line-dark);
  }
  
  .timeline-item__num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(18, 61, 115, 0.24);
  }
  
  .timeline-item__title {
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .timeline-item__text {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.72;
  }
  
  /* ------------------------------
     Tabs / switches
  ------------------------------ */
  .tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  
  .tab-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 800;
    color: rgba(247,248,252,0.84);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    transition:
      background var(--transition),
      color var(--transition),
      box-shadow var(--transition),
      transform var(--transition),
      border-color var(--transition);
  }
  
  .tab-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
  }
  
  .tab-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(18, 61, 115, 0.24);
    transform: translateY(-1px);
  }
  
  .section--light .tab-btn {
    color: var(--text-dark);
    background: rgba(18, 61, 115, 0.04);
    border-color: rgba(18, 61, 115, 0.08);
  }
  
  .section--light .tab-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 62%, var(--primary-3) 100%);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(18, 61, 115, 0.3), 0 4px 12px rgba(111, 79, 165, 0.2);
  }
  
  .tab-panel {
    display: none;
  }
  
  .tab-panel.is-active {
    display: block;
    animation: fadeInPanel 0.35s ease;
  }
  
  @keyframes fadeInPanel {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ------------------------------
     Direction cards / lists
  ------------------------------ */
  .direction-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  
  .direction-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-sm);
  }
  
  .section--light .direction-card {
    background: var(--surface-white);
    border-color: var(--line-dark);
  }
  
  .direction-card__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
  }
  
  .direction-card__sub {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--text-soft);
  }
  
  .direction-list {
    margin-top: 20px;
    display: grid;
    gap: 12px;
  }
  
  .direction-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-soft);
  }
  
  .direction-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  }

  /* Лучше читаемая палитра для светлого блока "Направления" */
  .section--light .direction-card__title {
    color: var(--text-dark);
  }

  .section--light .direction-list li {
    color: var(--text-muted);
  }
  
  /* Строки цен (страница «Гарантии и оплата») */
  .price-list {
    margin-top: 20px;
    display: grid;
    gap: 14px;
  }
  
  .price-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .price-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .section--light .price-row {
    border-bottom-color: var(--line-dark);
  }
  
  .price-row__label {
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.5;
  }
  
  .section--light .price-row__label {
    color: var(--text-dark);
  }
  
  .price-row__value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
  }
  
  .section--light .price-row__value {
    color: var(--text-dark);
  }
  
  .price-row__note {
    width: 100%;
    margin-top: 2px;
    font-size: 0.86rem;
    color: var(--text-soft);
  }
  
  .section--light .price-row__note {
    color: var(--text-muted);
  }
  
  /* ------------------------------
     Info stats
  ------------------------------ */
  .info-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  
  .info-item {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
                rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow-sm);
  }
  
  .section--light .info-item {
    background: var(--surface-white);
    border-color: var(--line-dark);
  }
  
  .info-item__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: rgba(247,248,252,0.58);
  }
  
  .section--light .info-item__label {
    color: var(--text-muted);
  }
  
  .info-item__value {
    margin-top: 10px;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
  }
  
  .info-item__text {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-soft);
  }

  /* Лучше читаемая палитра для светлых карточек "Что получает участник" и "Сроки" */
  .section--light .info-item__value {
    color: var(--text-dark);
  }

  .section--light .info-item__text {
    color: var(--text-muted);
  }
  
  /* ------------------------------
     CTA block
  ------------------------------ */
  .cta-box {
    position: relative;
    padding: 42px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(18, 61, 115, 0.96) 0%, rgba(111, 79, 165, 0.92) 58%, rgba(184, 143, 87, 0.76) 140%);
    box-shadow: var(--shadow-lg);
  }
  
  .cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 90% 10%, rgba(255,255,255,0.14), transparent 20%),
      radial-gradient(circle at 18% 85%, rgba(255,255,255,0.08), transparent 18%);
    pointer-events: none;
  }
  
  .cta-box__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }
  
  .cta-box__title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1.08;
    color: #fff;
  }
  
  .cta-box__text {
    margin-top: 12px;
    max-width: 720px;
    color: rgba(255,255,255,0.86);
    font-size: 1rem;
    line-height: 1.72;
  }

.cta-box__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.cta-box__actions .btn {
  width: 220px;
  min-width: 220px;
}
  
  /* ------------------------------
     Contact box
  ------------------------------ */
  .contact-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--surface-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line-dark);
  }
  
  .contact-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
  }
  
  .contact-card__text {
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.72;
  }
  
  .contact-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-size: 0.98rem;
    line-height: 1.6;
  }
  
  .contact-item strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 800;
  }
  
  /* ------------------------------
     Footer
  ------------------------------ */
  .site-footer {
    padding: 34px 0 44px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(5, 14, 30, 0.88);
  }
  
  .site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
  }
  
  .site-footer__text {
    font-size: 0.92rem;
    color: rgba(247,248,252,0.62);
  }
  
  .site-footer__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  
  .site-footer__links a {
    font-size: 0.92rem;
    color: rgba(247,248,252,0.72);
  }
  
  .site-footer__links a:hover {
    color: #fff;
  }

  .site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.9rem;
    color: rgba(247,248,252,0.68);
  }

  .site-footer__social a {
    color: rgba(247,248,252,0.82);
  }

  .site-footer__social a:hover {
    color: #fff;
    text-decoration: underline;
  }

/* Кнопка «наверх» */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  background: radial-gradient(circle at 30% 0, rgba(255,255,255,0.18), transparent 55%), rgba(5,14,30,0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1200;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: var(--shadow-md);
}
  
  /* ------------------------------
     Simple form styles
  ------------------------------ */
  .form-box {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-sm);
  }

  .form-box--apply-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 220px;
    text-align: center;
  }

  #apply .form-box {
    max-width: 540px;
    margin-left: auto;
  }
  
  .section--light .form-box {
    background: var(--surface-white);
    border-color: var(--line-dark);
  }

  /* Форма в разработке — серая, неактивная, с табличкой */
  .form-box--under-dev {
    position: relative;
  }

  .form-under-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px 0;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5a6578;
    background: linear-gradient(135deg, #e8eaef 0%, #d1d5dc 100%);
    border: 1px solid rgba(20, 34, 59, 0.12);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(20, 34, 59, 0.08);
  }

  .form-box--under-dev .form-grid {
    pointer-events: none;
    opacity: 0.72;
    filter: saturate(0.65);
  }

  .form-box--under-dev .input,
  .form-box--under-dev .select,
  .form-box--under-dev .textarea {
    background: #eef0f4;
    border-color: rgba(20, 34, 59, 0.12);
    color: #6b7280;
    cursor: not-allowed;
  }

  .form-box--under-dev .form-label {
    color: #6b7280;
  }

  .form-box--under-dev .btn[type="submit"] {
    background: linear-gradient(135deg, #b0b8c4 0%, #9ca3af 100%);
    color: rgba(255,255,255,0.9);
    cursor: not-allowed;
    box-shadow: none;
  }

  .form-box--under-dev .form-note {
    opacity: 0.85;
    color: #9ca3af;
  }

  .form-box--under-dev .form-note a {
    color: #6b7280;
    text-decoration: underline;
  }
  
  .form-grid {
    display: grid;
    gap: 18px;
  }
  
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

.participants-duet-row,
.participants-ensemble-row,
.participants-choir-row {
  position: relative;
  padding-left: 46px;
}

.participant-remove-btn {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(20, 34, 59, 0.12);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #9ca3af;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.participant-remove-btn:hover {
  color: #6b7280;
  border-color: rgba(20, 34, 59, 0.25);
}
  
  .form-field {
    display: grid;
    gap: 8px;
    border: 0;
    margin: 0;
    padding: 0;
  }
  
  .form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
  }
  
.form-label-required {
  margin-left: 4px;
  color: var(--danger);
}

  .section--light .form-label {
    color: var(--text-dark);
  }
  
  .input,
  .select,
  .textarea {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  }
  
  .textarea {
    min-height: 130px;
    padding-top: 16px;
    padding-bottom: 16px;
    resize: vertical;
  }
  
  .input::placeholder,
  .textarea::placeholder {
    color: rgba(247,248,252,0.48);
  }
  
  .input:focus,
  .select:focus,
  .textarea:focus {
    border-color: rgba(143, 114, 199, 0.56);
    box-shadow: 0 0 0 4px rgba(143, 114, 199, 0.14);
  }
  
  .section--light .input,
  .section--light .select,
  .section--light .textarea {
    color: var(--text-dark);
    background: #fff;
    border-color: rgba(20, 34, 59, 0.12);
  }
  
  .section--light .input::placeholder,
  .section--light .textarea::placeholder {
    color: rgba(20,34,59,0.36);
  }
  
  .form-note {
    font-size: 0.88rem;
    color: var(--text-soft);
  }
  
.field-error {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--danger);
}

.agreement-field {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.agreement-field .form-label {
  flex: 0 1 auto;
}

.agreement-field input[type="checkbox"] {
  margin: 0;
}

.agreement-field .field-error {
  flex: 0 0 100%;
  margin-top: 6px;
}

.input--error,
.select--error {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(177, 70, 70, 0.16);
}

.form-field--error .form-label {
  color: var(--danger);
}

  .section--light .form-note {
    color: var(--text-muted);
  }

  /* Более компактная форма на странице заявки */
  .page-application .form-box {
    padding: 24px 24px 26px;
  }

  .page-application .form-grid {
    gap: 14px;
  }

  .page-application .form-field {
    gap: 6px;
  }

  .page-application .form-note {
    font-size: 0.86rem;
  }

  /* Отступы для кнопок добавления участников в заявке */
  .page-application [data-participants-add],
  .page-application [data-ensemble-add],
  .page-application [data-choir-add] {
    margin-top: 8px;
  }

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--danger);
}
  
  /* ------------------------------
     Animations on reveal helper
  ------------------------------ */
  .reveal-up {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  
  .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .cards-3 .reveal-up:nth-child(1),
  .info-strip .reveal-up:nth-child(1),
  .timeline .reveal-up:nth-child(1) {
    transition-delay: 0.02s;
  }

  .cards-3 .reveal-up:nth-child(2),
  .info-strip .reveal-up:nth-child(2),
  .timeline .reveal-up:nth-child(2) {
    transition-delay: 0.08s;
  }

  .cards-3 .reveal-up:nth-child(3),
  .info-strip .reveal-up:nth-child(3),
  .timeline .reveal-up:nth-child(3) {
    transition-delay: 0.14s;
  }

  .cards-3 .reveal-up:nth-child(4),
  .info-strip .reveal-up:nth-child(4),
  .timeline .reveal-up:nth-child(4) {
    transition-delay: 0.18s;
  }
  
  /* ------------------------------
     Responsive
  ------------------------------ */
  @media (max-width: 1200px) {
    .hero__grid,
    .two-col {
      grid-template-columns: 1fr;
    }
  
    .hero__visual {
      min-height: 420px;
    }
  
    .cta-box__inner {
      grid-template-columns: 1fr;
    }
  
    .cards-4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .info-strip {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 980px) {
    .site-nav,
    .header-actions .btn--secondary {
      display: none;
    }
  
    .nav-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .site-header.is-nav-open {
      background: rgba(7, 18, 38, 0.96);
      box-shadow: 0 18px 40px rgba(3, 11, 24, 0.72);
    }

    .site-header.is-nav-open .site-nav {
      position: absolute;
      left: 16px;
      right: 16px;
      top: calc(var(--header-height) + 10px);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 18px 20px 20px;
      border-radius: 22px;
      background: rgba(6, 18, 38, 0.98);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow-lg);
      animation: fadeInPanel 0.3s ease;
      z-index: 999;
    }

    .site-header.is-nav-open .site-nav a {
      width: 100%;
      padding: 8px 2px;
      font-size: 1rem;
    }

    .site-header.is-nav-open .site-nav__item--has-sub {
      width: 100%;
    }

    .site-header.is-nav-open .site-nav__sub {
      position: static;
      display: flex;
      flex-direction: column;
      margin-top: 8px;
      margin-left: 12px;
      padding: 0 0 0 12px;
      min-width: auto;
      background: transparent;
      border: none;
      border-left: 1px solid rgba(255,255,255,0.2);
      box-shadow: none;
      gap: 4px;
    }

    .site-header.is-nav-open .site-nav__sub a {
      padding: 6px 0;
      font-size: 0.94rem;
    }

    body.is-nav-open {
      overflow: hidden;
    }
  
    .hero {
      padding: 72px 0 80px;
    }
  
    .section {
      padding: 88px 0;
    }
  
    .cards-3,
    .direction-grid {
      grid-template-columns: 1fr;
    }

    /* На планшетах и мобильных три карточки "О фестивале" тоже в одну колонку */
    #about .cards-3 {
      grid-template-columns: 1fr;
      max-width: none;
    }
  
    .hero-card__stats {
      grid-template-columns: 1fr 1fr;
    }

    .hero__content {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .hero__meta,
    .hero__actions {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    :root {
      --header-height: 74px;
    }
  
    .container {
      width: min(100% - 22px, var(--container));
    }
  
    .section,
    .section--tight {
      padding: 64px 0;
    }
  
    .hero__title {
      max-width: none;
    }
  
    .hero__actions,
    .hero__meta,
    .chips,
    .tabs {
      gap: 10px;
    }
  
    .btn {
      min-height: 54px;
      padding: 0 22px;
    }
  
    .hero-meta-item,
    .chip,
    .tab-btn {
      min-height: 44px;
      font-size: 0.9rem;
    }
  
    .card,
    .direction-card,
    .timeline-item,
    .info-item,
    .cta-box,
    .contact-card {
      padding: 22px;
    }

    /* Все сетки из трёх карточек — по одной в строке на мобильных */
    .cards-3 {
      grid-template-columns: 1fr;
    }

    /* Сбрасываем дополнительное ограничение ширины в блоке "О фестивале" */
    #about .cards-3 {
      max-width: none;
    }

    /* Более компактные карточки преимуществ на мобильных */
    #benefits .cards-3 {
      gap: 16px;
    }

    #benefits .card {
      width: 100%;
      padding: 18px 18px 20px;
      border-radius: 22px;
    }

    #benefits .card-title {
      font-size: 1.08rem;
    }

    #benefits .card-text {
      font-size: 0.92rem;
      line-height: 1.6;
    }
  
    .hero-card {
      padding: 24px;
      border-radius: 28px;
    }
  
    .hero-card__logo {
      width: 138px;
    }
  
    .feature-item {
      grid-template-columns: 46px 1fr;
      gap: 14px;
    }
  
    .feature-item__icon,
    .card-icon {
      width: 46px;
      height: 46px;
      border-radius: 14px;
    }
  
    .timeline-item {
      grid-template-columns: 54px 1fr;
    }
  
    .cta-box__title {
      line-height: 1.15;
    }
  
    .form-grid--2,
    .cards-4,
    .info-strip {
      grid-template-columns: 1fr;
    }

    #apply .form-box {
      max-width: none;
      margin-left: 0;
      margin-right: 0;
    }
  
    .site-footer__inner {
      align-items: flex-start;
      flex-direction: column;
    }
  }
  
  @media (max-width: 560px) {
    .hero__eyebrow {
      font-size: 0.74rem;
      letter-spacing: 0.06em;
    }
  
    .hero__title {
      font-size: clamp(2.3rem, 11.5vw, 3.6rem);
    }
  
    .hero__subtitle,
    .section-subtitle,
    .section-lead,
    .card-text,
    .feature-item__text,
    .timeline-item__text,
    .info-item__text {
      font-size: 0.95rem;
      line-height: 1.7;
    }
  
    .hero-card__stats {
      grid-template-columns: 1fr;
    }
  
    .hero__actions .btn,
    .cta-box .btn {
      width: 100%;
    }
  
    .hero__actions,
    .cta-box__inner {
      gap: 14px;
    }
  
    .site-brand__subtitle {
      display: none;
    }
  }
  
  /* ------------------------------
     Reduced motion
  ------------------------------ */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
  }