/* === BASE.CSS — Переменные, reset, фон, body === */

:root {
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --primary-blue: #00529b;
    --text-dark: #1d1d1f;
}

html, body {
    scrollbar-gutter: stable;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

main.container {
  padding-bottom: 150px;
}

body {
    background-color: #1a3a5c;
    font-family: 'Aldrich', 'Montserrat', 'Tektur', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    color: var(--text-dark);
    min-height: 100vh;
    padding: 0;
    background-size: cover;
    top: 0 !important;
    padding-top: env(safe-area-inset-top);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
                url('../img/654f7c1a-6e79-4c0e-be34-b7254616a776.jpeg') no-repeat center center;
    background-size: cover;
}

p {
    color: #3a3a3a;
    font-size: 1.00rem;
    line-height: 1.5;
    font-weight: 495;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p1 {
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

h1, h2, h3 {
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-display: swap;
    font-family: 'Aldrich';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/aldrich-v22-latin-regular.woff2') format('woff2');
}

/* tektur-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Tektur';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/tektur-v6-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-800.woff2') format('woff2');
}

@keyframes gradientBG {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@-webkit-keyframes fadeInUp {
    from { opacity: 0; -webkit-transform: translateY(16px); }
    to   { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


