/* =========================================================
   ОКОННЫЙ ЭКСПЕРТ — GLOBAL SITE CSS
   Общий стиль для всех 13 Vibe-блоков
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #090705;
  --bg-2: #100b07;
  --bg-card: rgba(255,255,255,0.055);

  --gold: #d6b35a;
  --gold-l: #f1d98a;
  --gold-d: #8d6c28;

  --white: #fffaf0;
  --text: #eadfc9;
  --muted: #9f927f;

  --border: rgba(214,179,90,0.20);
  --border-w: rgba(255,255,255,0.075);

  --radius: 14px;
  --radius-lg: 22px;

  --shadow: 0 15px 45px rgba(0,0,0,0.18);

  --ease: cubic-bezier(0.22,1,0.36,1);
  --trans: 0.35s cubic-bezier(0.22,1,0.36,1);
}

/* Общая типографика */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Общий контейнер */
.oe-container {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

/* Общая секция */
.oe-section {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
}

/* Альтернативный фон */
.oe-section--alt {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.018),
      rgba(255,255,255,0)
    ),
    var(--bg-2);
}

/* Разделительная линия */
.oe-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, 88%);
  height: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(214,179,90,.08),
      rgba(214,179,90,.25),
      rgba(241,217,138,.32),
      rgba(214,179,90,.25),
      rgba(214,179,90,.08),
      transparent
    );
  pointer-events: none;
}

/* Золотой акцент */
.oe-gold-line {
  width: 62px;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--gold-l)
  );
  box-shadow: 0 0 20px rgba(214,179,90,.25);
}

/* Общие заголовки */
.oe-title {
  max-width: 850px;
  margin: 0 0 16px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.oe-sub {
  max-width: 650px;
  margin: 0 0 50px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Общие кнопки */
.oe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    background var(--trans);
}

.oe-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.32),
      transparent
    );
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}

.oe-btn:hover::before {
  left: 140%;
}

.oe-btn--gold {
  color: #0b0805;
  background:
    linear-gradient(
      135deg,
      #b9923f 0%,
      #e7c96f 50%,
      #c29c46 100%
    );
  box-shadow: 0 10px 30px rgba(214,179,90,.14);
}

.oe-btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(214,179,90,.28);
}

/* Общие карточки */
.oe-card {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.018)
    );
  border: 1px solid rgba(255,255,255,.075);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    var(--shadow);
}

/* Адаптив */
@media (max-width: 960px) {
  .oe-section {
    padding: 80px 0;
  }

  .oe-container {
    width: min(1240px, calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .oe-section {
    padding: 64px 0;
  }

  .oe-container {
    width: calc(100% - 36px);
  }

  .oe-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .oe-sub {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}