/*!
Theme Name: turpohod
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: turpohod
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

turpohod is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/* 1. БАЗОВАЯ ДИЗАЙН-СИСТЕМА */
    :root {
      --color-white: #ffffff;
      --color-dark-blue: #0a2540;
      --color-blue: #0066cc;
      --color-light-blue: #e6f0fa;
      --color-turquoise: #00d2c4;
      --font-headers: 'Montserrat', sans-serif;
      --font-body: 'Inter', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

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

    /* 2. ШАПКА И НАВИГАЦИЯ (АДАПТИВНАЯ) */
.header {
  background: var(--color-white);
  box-shadow: 0 2px 15px rgba(10, 37, 64, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

.logo-zone {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--color-blue);
  font-size: 1.3rem;
  text-decoration: none;
  z-index: 1001;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-dark-blue);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap; /* Запрещаем перенос текста ссылок в две строки */
}

.main-nav a:hover, .main-nav a.active {
  color: var(--color-turquoise);
}

.lk-btn {
  background-color: var(--color-turquoise);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 1001;
}

.lk-btn:hover {
  background-color: #00b8ab;
  transform: translateY(-1px);
}

/* Кнопка мобильного меню (гамбургер) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark-blue);
  border-radius: 2px;
  transition: 0.3s;
}

/* МЕДИА-ЗАПРОС ДЛЯ ПЛАНШЕТОВ И МОБИЛЬНЫХ */
@media (max-width: 868px) {
  .menu-toggle {
    display: flex; /* Показываем кнопку бургер-меню */
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 15px rgba(10, 37, 64, 0.08);
    border-top: 1px solid #e6f0fa;
    max-height: 0; /* Изначально скрыто */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  /* Класс, который будет добавляться через JS для открытия меню */
  .main-nav.open {
    max-height: 300px; 
  }

  .main-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f4f8;
    width: 100%;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
  
  .lk-btn {
    padding: 8px 16px; /* Чуть компактнее кнопка на мобильных */
    margin-right: 15px; /* Отступ перед иконкой меню */
    margin-left: auto; /* Сдвигаем кнопку вправо к гамбургеру */
  }
}

/* Анимация иконки при открытии */
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    .bg-light {
      background-color: var(--color-light-blue);
    }

    /* Декоративный плавный переход между блоками */
    .section-divider {
      height: 40px;
      background: linear-gradient(to bottom, var(--color-light-blue), var(--color-white));
    }

    .section-title {
      font-family: var(--font-headers);
      font-size: 2.2rem;
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 70px;
      height: 4px;
      background: var(--color-turquoise);
      margin: 12px auto 0;
      border-radius: 2px;
    }

    /* 3. ФОТО-СЛАЙДЕР */
    .slider-container {
      max-width: 1200px;
      margin: 30px auto;
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(10, 37, 64, 0.1);
    }

    .slider {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .slide {
      min-width: 100%;
      position: relative;
      height: 480px;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slide-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(10, 37, 64, 0.9));
      color: var(--color-white);
      padding: 50px 40px;
    }

    .slide-overlay h2 {
      font-family: var(--font-headers);
      font-size: 2.2rem;
      margin-bottom: 12px;
    }

    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: background-color 0.2s, transform 0.2s translateY;
    }
    .slider-btn:hover {
      background: var(--color-white);
    }

    .slider-prev { left: 25px; }
    .slider-next { right: 25px; }


    /* СТИЛИ ДЛЯ ГЛАВНОГО ЗАГОЛОВКА И ИКОНОК */
.main-title-section {
  max-width: 1200px;
  margin: 40px auto 10px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.main-contest-title {
  font-family: var(--font-headers);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-contest-title span {
  color: var(--color-blue); /* Выделяем вторую строку синим */
  font-size: 2.2rem;
}

/* Контейнеры для непрерывной анимации */
.title-icon-animated {
  background: var(--color-light-blue);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.05);
  flex-shrink: 0;
  animation: floatMotion 4s ease-in-out infinite;
}

/* Небольшая задержка для правой иконки, чтобы они двигались асинхронно */
.delay-animation {
  animation-delay: 2s;
}

/* Эффект мягкого «покачивания» в походе */
@keyframes floatMotion {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(5deg);
  }
}

/* Адаптивность для мобильных экранов */
@media (max-width: 768px) {
  .main-title-section {
    flex-direction: column;
    gap: 15px;
    margin: 25px auto 5px;
  }
  .main-contest-title {
    font-size: 1.6rem;
  }
  .main-contest-title span {
    font-size: 1.4rem;
  }
  .title-icon-animated {
    width: 48px;
    height: 48px;
  }
  .title-icon-animated svg {
    width: 26px;
    height: 26px;
  }
}

/* СТИЛИ КОННЕКТОРА МЕЖДУ БЛОКАМИ О конкурсе и Задачи */

.block-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  width: 100%;
  max-width: 600px;
  cursor: pointer;
}

/* Пунктирная линия маршрута */
.route-line-dashed {
  position: absolute;
  top: -20px;
  bottom: -20px;
  width: 2px;
  border-left: 2px dashed #cbd5e1; /* Серый цвет по умолчанию */
  z-index: 1;
  transition: border-color 0.4s ease; /* Плавное изменение цвета линии */
}

/* Контейнер для иконки путешественника */
.hiker-icon-box {
  background: var(--color-white);
  border: 2px solid var(--color-light-blue);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.06);
  animation: hikeMotion 3s ease-in-out infinite;
  transition: border-color 0.4s ease, transform 0.3s ease;
}

/* Изменение элементов иконки при наведении */
.hiker-icon-box svg stroke {
  transition: stroke 0.4s ease;
}

/* ЛОГИКА ЭФФЕКТА НАВЕДЕНИЯ (HOVER) */
.block-connector:hover .route-line-dashed {
  border-left-color: var(--color-turquoise); /* Линия становится бирюзовой */
}

.block-connector:hover .hiker-icon-box {
  border-color: var(--color-turquoise); /* Ободок иконки становится бирюзовым */
}

.block-connector:hover .hiker-icon-box svg stroke {
  stroke: var(--color-turquoise); /* Сам человечек окрашивается в бирюзовый */
}

/* Анимация "шагов" (покачивания) */
@keyframes hikeMotion {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(3deg);
  }
}


/* Корректировка заголовка "Задачи", чтобы он аккуратно смотрелся под коннектором */
h2.section-title {
  position: relative;
  z-index: 3;
  margin-top: 20px;
}

    /* 4. КАРТОЧКИ ЗАДАЧ (О КОНКУРСЕ) с динамичной микро-анимацией блок перед  */
    .about-text {
      font-size: 1.15rem;
      text-align: center;
      max-width: 950px;
      margin: 0 auto 50px;
      color: #334e68;
    }

    .tasks-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
      margin-top: 30px;
    }

    .task-card {
      background: var(--color-white);
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
      border-top: 4px solid var(--color-blue);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    }

    /* Анимация карточек задач при наведении */
    .task-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(10, 37, 64, 0.12);
    }

    .task-card svg {
      margin-bottom: 15px;
    }

    .task-number {
      font-family: var(--font-headers);
      font-weight: 700;
      color: var(--color-blue);
      font-size: 0.95rem;
      margin-bottom: 12px;
      text-transform: uppercase;
    }

    /* 5. СХЕМА ЭТАПОВ (ТАЙМЛАЙН) */
    /* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ БЛОКА ЭТАПОВ */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  border-left: 6px solid var(--color-turquoise);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
  width: 100%;
  transition: transform 0.2s ease;
}

.timeline-item:hover {
  transform: translateY(-2px);
}

.timeline-date {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.timeline-item h3 {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-dark-blue);
}

.timeline-item p {
  color: #486581;
  font-size: 0.95rem;
}
.timeline_background {background-color: var(--color-light-blue);}
/* Стили для походных разделителей */
/* ОБНОВЛЕННЫЕ ИНТЕРАКТИВНЫЕ РАЗДЕЛИТЕЛИ ЭТАПОВ */
.timeline-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  position: relative;
  height: 80px;
  width: 100%;
  cursor: pointer;
}

/* Пунктирная линия маршрута */
.timeline-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  border-left: 2px dashed #cbd5e1; /* Серый цвет по умолчанию */
  z-index: 1;
  transition: border-color 0.4s ease; /* Плавная смена цвета линии */
}

/* Круглый контейнер для иконки этапа */
.timeline-icon-box {
  background: var(--color-white);
  border: 2px solid var(--color-light-blue);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.05);
  transition: border-color 0.4s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Плавный переход цвета для элементов внутри SVG */
.timeline-icon-box svg stroke {
  transition: stroke 0.4s ease;
}

/* ЛОГИКА HOVER-ЭФФЕКТОВ */
.timeline-divider:hover::before {
  border-left-color: var(--color-turquoise); /* Вся линия становится бирюзовой */
}

.timeline-divider:hover .timeline-icon-box {
  border-color: var(--color-turquoise); /* Ободок круга становится бирюзовым */
  transform: scale(1.1); /* Иконка слегка увеличивается при наведении */
}

.timeline-divider:hover .timeline-icon-box svg stroke {
  stroke: var(--color-turquoise); /* Иконка внутри меняет цвет на бирюзовый */
}


    /* 6. ТРЕБОВАНИЯ */
    .requirements-box {
      background: var(--color-white);
      border: 1px solid #d0e2f3;
      border-radius: 16px;
      padding: 40px;
    }

    /* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ СПИСКА ТРЕБОВАНИЙ */
.req-list {
  list-style: none;
  margin-top: 25px;
}

.req-list li {
  margin-bottom: 24px;
  position: relative;
  padding-left: 0; /* Обнуляем старый отступ под галочку */
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 15px; /* Расстояние между иконкой и текстом */
  line-height: 1.6;
}

/* Убираем старый маркер-галочку ::before */
.req-list li::before {
  display: none;
}

/* Контейнер для новой круглой иконки */
.req-icon-wrapper {
  background-color: var(--color-light-blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Защищает кружок от сжатия при длинном тексте */
  margin-top: 2px;
}


    /* 7. СЕТКА НОМИНАЦИЙ И ПЛАШКИ ЭКСПЕДИЦИЙ */
    .nom-section {
      margin-bottom: 45px;
    }

    .nom-section h3 {
      font-family: var(--font-headers);
      color: var(--color-blue);
      margin-bottom: 25px;
      font-size: 1.4rem;
    }

    .nom-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .nom-item {
      background: #fff;
      padding: 25px 15px;
      border-radius: 10px;
      font-weight: 600;
      text-align: center;
      color: var(--color-dark-blue);
      box-shadow: 0 2px 8px rgba(10, 37, 64, 0.02);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nom-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 5px 15px rgba(10, 37, 64, 0.08);
    }

    .exp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .nom-item.turquoise-bg {
      background-color: var(--color-turquoise);
      color: var(--color-white);
      padding: 30px 25px;
      font-size: 1.05rem;
    }

    .nom-item.turquoise-bg stroke {
      stroke: var(--color-white);
    }
    .nom-item.turquoise-bg fill {
      fill: var(--color-white);
    }

    /* 8. АТМОСФЕРНЫЙ БЛОК (ГАЛЕРЕЯ) */
    .atmosphere-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 30px;
    }

    .atmosphere-card {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      height: 250px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .atmosphere-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .atmosphere-card:hover img {
      transform: scale(1.08);
    }

    .atmosphere-desc {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(transparent, rgba(10, 37, 64, 0.8));
      color: var(--color-white);
      padding: 15px;
      font-size: 0.95rem;
      font-weight: 500;
    }

    /* 9. ПОДВАЛ С ФОРМОЙ */
   /* ОБНОВЛЕННЫЕ СТИЛИ ПОДВАЛА */
.footer {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  margin-top: 60px;
}

.footer .container.footer-container-layout {
  padding: 50px 20px 40px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-title {
  font-family: var(--font-headers);
  font-size: 1.3rem;
  color: var(--color-dark-blue);
  margin-bottom: 25px;
  position: relative;
}

/* Карточки кураторов */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.curator-card {
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-blue);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.02);
}

.curator-role {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #627d98;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.curator-name {
  display: block;
  font-family: var(--font-headers);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  margin-bottom: 8px;
}

.curator-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.curator-link:hover {
  color: var(--color-turquoise);
}

/* Форма */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback-form input, .feedback-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.feedback-form input:focus, .feedback-form textarea:focus {
  border-color: var(--color-turquoise);
}

.feedback-form button {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.feedback-form button:hover {
  background-color: #0052a3;
}

/* Нижняя полоса копирайта */
.footer-bottom {
  background-color: var(--color-dark-blue);
  color: #9aa5b1;
  padding: 20px 20px;
  font-size: 0.85rem;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Адаптивность для планшетов и телефонов */
@media (max-width: 768px) {
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


    /* АДАПТИВНОСТЬ */
    @media (max-width: 992px) {
      .tasks-grid { grid-template-columns: repeat(2, 1fr); }
      .nom-grid { grid-template-columns: repeat(2, 1fr); }
      .atmosphere-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .header-container { flex-direction: column; gap: 15px; }
      .tasks-grid { grid-template-columns: 1fr; }
      .nom-grid { grid-template-columns: 1fr; }
      .exp-grid { grid-template-columns: 1fr; }
      .atmosphere-grid { grid-template-columns: 1fr; }
      .footer-layout { grid-template-columns: 1fr; gap: 40px; }
    }

    /* СТИЛИ ДЛЯ БЛОКА СКАЧИВАНИЯ ДОКУМЕНТОВ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.doc-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.03);
  border: 1px solid #e6f0fa;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none; /* Убираем подчеркивание со всей карточки */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 37, 64, 0.08);
  border-color: var(--color-turquoise);
}

/* Контейнер иконок с абсолютным позиционированием для смены */
.doc-icon-box {
  background-color: var(--color-light-blue);
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.doc-svg, .download-svg {
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Состояния по умолчанию */
.download-svg {
  opacity: 0;
  transform: translateY(-20px); /* Вылетает сверху */
}

.doc-svg {
  opacity: 1;
  transform: translateY(0);
}

/* ЛОГИКА АНИМАЦИИ ПРИ НАВЕДЕНИИ КУРСОРA */
.doc-card:hover .doc-icon-box {
  background-color: #d1e7fc;
}

.doc-card:hover .doc-svg {
  opacity: 0;
  transform: translateY(20px); /* Улетает вниз */
}

.doc-card:hover .download-svg {
  opacity: 1;
  transform: translateY(0); /* Встает по центру */
  animation: bounceArrow 1.5s ease infinite; /* Слегка подпрыгивает */
}

/* Текстовая зона */
.doc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-name {
  font-family: var(--font-headers);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark-blue);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.doc-card:hover .doc-name {
  color: var(--color-blue);
}

.doc-meta {
  font-size: 0.8rem;
  color: #627d98;
}

/* Анимация пульсации стрелки скачивания */
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
/* ИЗОЛИРОВАННЫЕ ДЕКОРАТИВНЫЕ УЗОРЫ ДЛЯ БЕЛЫХ СЕКЦИЙ */
.white-bg-pattern {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white) !important;
}

/* Силуэт гор в левом нижнем углу */
.white-bg-pattern::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 280px;
  height: 180px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 21 7-13 9 13'/%3E%3Cpath d='m14 15 4-5 3 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}

/* Компас в правом верхнем углу */
.white-bg-pattern::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Гарантия безопасности: поднимаем контент над фоновым рисунком */
.white-bg-pattern > * {
  position: relative;
  z-index: 2;
}

/* Фикс для голубого фона: жестко возвращаем исходные параметры */
.bg-light {
  background-color: var(--color-light-blue) !important;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}
.bg-light::before, .bg-light::after {
  display: none !important; /* Полностью исключаем появление узоров на голубом фоне */
}


  

/* ==========================================================
   ДОПОЛНЕННАЯ ВИЗУАЛЬНАЯ СИСТЕМА — «СОВРЕМЕННАЯ ЭКСПЕДИЦИЯ»
   Все правила ниже переопределяют исходные стили, не меняя
   содержание и ссылки страницы.
   ========================================================== */

:root {
  --color-dark-blue: #102d4b;
  --color-blue: #1769aa;
  --color-light-blue: #edf5fb;
  --color-turquoise: #16b9b0;
  --shadow-soft: 0 12px 34px rgba(16, 45, 75, .075);
  --shadow-hover: 0 20px 46px rgba(16, 45, 75, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background:
    radial-gradient(circle at 8% 18%, rgba(22,185,176,.035), transparent 24rem),
    radial-gradient(circle at 92% 48%, rgba(23,105,170,.035), transparent 26rem),
    #fff;
}
::selection { background: rgba(22,185,176,.22); color: var(--color-dark-blue); }

/* Шапка — лёгкое стекло и тонкая бирюзовая линия */
.header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,45,75,.055);
  box-shadow: 0 5px 24px rgba(16,45,75,.045);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-turquoise), #1769aa, transparent);
  opacity: .55;
}
.logo-zone { letter-spacing: -.5px; }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--color-turquoise);
  transition: right .28s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.lk-btn {
  background: linear-gradient(135deg, #16b9b0, #079b9b);
  box-shadow: 0 7px 18px rgba(0,180,170,.2);
}
.lk-btn:hover { box-shadow: 0 10px 24px rgba(0,180,170,.3); }

/* Заголовок страницы */
.main-title-section {
  position: relative;
  padding-top: 22px;
  padding-bottom: 10px;
}
.main-title-section::before {
  content: "N  •  55°45'  E  •  37°37'";
  position: absolute;
  right: 22px; top: 8px;
  color: #8ba2b7;
  font: 600 10px/1 var(--font-body);
  letter-spacing: 2px;
  opacity: .65;
}
.main-contest-title { letter-spacing: -.8px; }
.main-contest-title span {
  background: linear-gradient(90deg, #1769aa, #16aaa8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title-icon-animated {
  background: linear-gradient(145deg, #f2f9fd, #dceef8);
  border: 1px solid rgba(23,105,170,.09);
  box-shadow: 0 10px 26px rgba(23,105,170,.1);
}
.title-icon-animated:first-child { animation: floatMotion 4.8s ease-in-out infinite; }
.title-icon-animated:last-child { animation: floatMotion 5.2s ease-in-out infinite 1.2s; }

/* Большой слайдер */
.slider-container {
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(10,37,64,.16);
  isolation: isolate;
}
.slider-container::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: inherit;
  pointer-events: none;
}
.slide { overflow: hidden; }
.slide img { transform: scale(1.015); transition: transform 7s ease; }
.slider-container:hover .slide img { transform: scale(1.055); }
.slide-overlay {
  padding: 70px 48px 42px;
  background: linear-gradient(0deg, rgba(7,29,51,.94), rgba(7,29,51,.48) 48%, transparent);
}
.slide-overlay h2 { max-width: 760px; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.slider-btn {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.65);
}
.slider-btn:hover { transform: translateY(-50%) scale(1.08); }

/* Секции: тонкий ритм и узоры топографической карты */
.bg-light {
  background:
    radial-gradient(ellipse at 5% 10%, rgba(255,255,255,.9), transparent 34%),
    radial-gradient(ellipse at 95% 90%, rgba(22,185,176,.075), transparent 32%),
    repeating-linear-gradient(135deg, rgba(23,105,170,.022) 0, rgba(23,105,170,.022) 1px, transparent 1px, transparent 13px),
    #edf5fb;
}
.white-bg-pattern {
  background-color: #fff !important;
  isolation: isolate;
}
.white-bg-pattern::before {
  width: 100%; height: 100%; inset: 0;
  opacity: .42;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23,105,170,.12) 1px, transparent 1.5px),
    repeating-radial-gradient(ellipse at 100% 0%, transparent 0 26px, rgba(23,105,170,.055) 27px 28px, transparent 29px 48px);
  background-size: 22px 22px, 420px 330px;
  background-position: 0 0, right top;
  z-index: -1;
}
.white-bg-pattern::after {
  top: auto; right: -70px; bottom: -80px;
  width: 300px; height: 300px;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%230a2540' stroke-width='1.1'%3E%3Ccircle cx='50' cy='50' r='43'/%3E%3Ccircle cx='50' cy='50' r='32'/%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3Cpath d='M50 2v96M2 50h96M18 18l64 64M82 18 18 82'/%3E%3Cpath d='m50 12 6 38-6 38-6-38z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: compassDrift 38s linear infinite;
}
@keyframes compassDrift { to { transform: rotate(360deg); } }
.bg-light::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(circle, rgba(23,105,170,.18) .8px, transparent 1px);
  background-size: 26px 26px;
}
.bg-light > .container, .bg-light > section { position: relative; z-index: 1; }

/* Заголовки секций */
.section-title {
  position: relative;
  letter-spacing: -.7px;
  margin-bottom: 46px;
}
.section-title::after {
  width: 54px; height: 4px;
  background: linear-gradient(90deg, #1769aa, #16b9b0);
  box-shadow: 0 3px 10px rgba(22,185,176,.22);
}
.section-title::before {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  left: calc(50% - 4px); bottom: -17px;
  border: 1px solid #16b9b0;
  border-radius: 50%;
  background: #fff;
}

/* О конкурсе и задачи */
.about-text { color: #49647d; line-height: 1.85; }
#about .tasks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin-top: 34px;
}
#about .task-card {
  position: relative;
  min-height: 245px;
  padding: 28px 26px;
  overflow: hidden;
  border: 1px solid rgba(23,105,170,.09);
  border-top: 3px solid #16b9b0;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 26px rgba(16,45,75,.055);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
#about .task-card::after {
  content: "";
  position: absolute;
  width: 145px; height: 145px;
  right: -62px; bottom: -70px;
  border: 1px solid rgba(22,185,176,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(22,185,176,.025), 0 0 0 29px rgba(22,185,176,.02);
  transition: transform .5s ease;
  pointer-events: none;
}
#about .task-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22,185,176,.35);
  box-shadow: var(--shadow-hover);
}
#about .task-card:hover::after { transform: scale(1.18); }
.task-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.task-card-header svg {
  width: 44px; height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: #e8f7f6;
  margin: 0 !important;
}
.task-number { color: #168f91; letter-spacing: 1.1px; font-size: .78rem; }
.task-text { color: #405b73; font-size: .98rem; line-height: 1.75; }

/* Таймлайн как маршрут экспедиции */
.timeline { position: relative; }
.timeline-item {
  position: relative;
  border: 1px solid rgba(23,105,170,.09);
  border-left: 5px solid #16b9b0;
  border-radius: 15px;
  padding: 30px 34px;
  box-shadow: 0 8px 25px rgba(16,45,75,.055);
  transition: transform .3s ease, box-shadow .3s ease;
}
.timeline-item:hover { transform: translateX(7px); box-shadow: var(--shadow-soft); }
.timeline-date {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 30px;
  background: #e8f7f6;
  color: #138d8b;
  font-size: .88rem;
}
.timeline-divider { height: 72px; }
.timeline-divider::before {
  border: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #8ab7ce 0 5px, transparent 5px 10px);
}
.timeline-icon-box {
  border-color: rgba(22,185,176,.28);
  box-shadow: 0 5px 18px rgba(22,185,176,.12);
  animation: markerPulse 3s ease-in-out infinite;
}
@keyframes markerPulse {
  0%,100% { box-shadow: 0 5px 18px rgba(22,185,176,.12), 0 0 0 0 rgba(22,185,176,0); }
  50% { box-shadow: 0 5px 18px rgba(22,185,176,.16), 0 0 0 8px rgba(22,185,176,.07); }
}

/* Требования */
.requirements-box {
  position: relative;
  border: 1px solid rgba(23,105,170,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}
.req-list li { padding: 14px 16px; border-radius: 12px; transition: background .25s, transform .25s; }
.req-list li:hover { background: #f4fafc; transform: translateX(4px); }
.req-icon-wrapper { background: #e7f6f5; }

/* Номинации */
.nom-section h3 { display: flex; align-items: center; gap: 12px; }
.nom-section h3::before {
  content: "";
  width: 5px; height: 25px; border-radius: 5px;
  background: linear-gradient(#1769aa, #16b9b0);
}
.nom-item {
  min-height: 160px;
  border: 1px solid rgba(23,105,170,.07);
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(16,45,75,.045);
  position: relative;
  overflow: hidden;
}
.nom-item::after {
  content: ""; position: absolute; width: 100px; height: 100px;
  right: -55px; top: -55px; border-radius: 50%;
  background: rgba(22,185,176,.07);
  transition: transform .35s ease;
}
.nom-item:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.nom-item:hover::after { transform: scale(1.8); }
.nom-item.turquoise-bg {
  background: linear-gradient(145deg, #16b9b0, #078e9a);
  box-shadow: 0 10px 25px rgba(8,142,154,.18);
}

/* Атмосфера — фотографии */
.atmosphere-card {
  height: 275px;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(16,45,75,.12);
}
.atmosphere-card::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: inherit; pointer-events: none;
}
.atmosphere-card img { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.atmosphere-card:hover img { transform: scale(1.09); filter: saturate(1.12); }
.atmosphere-desc {
  padding: 28px 18px 18px;
  background: linear-gradient(transparent, rgba(7,29,51,.88));
  transform: translateY(5px);
  transition: transform .35s ease;
}
.atmosphere-card:hover .atmosphere-desc { transform: translateY(0); }

/* Документы */
.doc-card {
  border-radius: 15px;
  border-color: rgba(23,105,170,.1);
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 22px rgba(16,45,75,.045);
  min-height: 105px;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.doc-icon-box { border-radius: 13px; background: #e9f5fb; }

/* Подвал */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(22,185,176,.08), transparent 20rem),
    #f3f7fa;
  border-top: 1px solid #e3edf4;
}
.footer::before {
  content: ""; position: absolute; width: 340px; height: 340px;
  right: -120px; top: -160px; border: 1px solid rgba(23,105,170,.09);
  border-radius: 50%; box-shadow: 0 0 0 22px rgba(23,105,170,.025), 0 0 0 44px rgba(23,105,170,.02);
}
.curator-card {
  border: 1px solid rgba(23,105,170,.07);
  border-left: 4px solid #16b9b0;
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(16,45,75,.045);
  transition: transform .25s, box-shadow .25s;
}
.curator-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feedback-form input, .feedback-form textarea {
  border-color: #d8e4ed;
  background: rgba(255,255,255,.88);
  border-radius: 10px;
  padding: 14px 15px;
}
.feedback-form input:focus, .feedback-form textarea:focus {
  border-color: #16b9b0;
  box-shadow: 0 0 0 3px rgba(22,185,176,.1);
}
.feedback-form button {
  border-radius: 30px;
  background: linear-gradient(135deg, #1769aa, #0c8e9b);
  box-shadow: 0 8px 20px rgba(23,105,170,.18);
}
.feedback-form button:hover { transform: translateY(-2px); }

/* Плавное появление блоков при прокрутке */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
#about .task-card:nth-child(2), .nom-item:nth-child(2), .atmosphere-card:nth-child(2) { transition-delay: .07s; }
#about .task-card:nth-child(3), .nom-item:nth-child(3), .atmosphere-card:nth-child(3) { transition-delay: .14s; }
#about .task-card:nth-child(4), .nom-item:nth-child(4) { transition-delay: .07s; }
#about .task-card:nth-child(5), .nom-item:nth-child(5) { transition-delay: .14s; }
#about .task-card:nth-child(6) { transition-delay: .21s; }

/* Адаптивность — сохраняем горизонтальную шапку и компактные отступы */
@media (max-width: 992px) {
  #about .tasks-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 868px) {
  .header-container { flex-direction: row !important; gap: 10px; }
  .main-nav { background: rgba(255,255,255,.98); }
}
@media (max-width: 768px) {
  .main-title-section::before { display: none; }
  .main-contest-title { font-size: 1.55rem; }
  .main-contest-title span { font-size: 1.35rem; }
  .slider-container { margin: 22px 14px; border-radius: 15px; }
  .slide { height: 360px; }
  .slide-overlay { padding: 55px 22px 26px; }
  .slide-overlay h2 { font-size: 1.45rem; }
  .slide-overlay p { font-size: .9rem; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .container { padding: 46px 18px; }
  .section-title { font-size: 1.7rem; margin-bottom: 32px; }
  #about .tasks-grid { grid-template-columns: 1fr; gap: 15px; }
  #about .task-card { min-height: 0; padding: 23px; }
  .timeline-item { padding: 23px 20px; }
  .requirements-box { padding: 24px 18px; }
  .atmosphere-card { height: 245px; }
  .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .logo-zone { font-size: 1.1rem; }
  .lk-btn { font-size: .75rem; padding: 8px 12px; margin-right: 4px; }
  .slide { height: 310px; }
  .main-contest-title { font-size: 1.35rem; }
  .main-contest-title span { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-reveal { opacity: 1; transform: none; }
}


/* Выразительный первый экран */
.slider-container {
  position: relative;
  width: min(1440px, calc(100% - 48px));
  height: min(690px, 70vw);
  min-height: 560px;
  margin: 26px auto 70px;
  border-radius: 28px;
  overflow: hidden;
  background: #102b43;
  box-shadow: 0 28px 75px rgba(8, 34, 57, .24);
}
.slider { height: 100%; }
.slide { position: relative; flex: 0 0 100%; height: 100%; min-height: 560px; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 80px clamp(28px, 7vw, 100px) 115px;
  background: linear-gradient(90deg, rgba(5,24,42,.78) 0%, rgba(5,24,42,.42) 52%, rgba(5,24,42,.08) 100%), linear-gradient(0deg, rgba(5,24,42,.68), transparent 55%);
}
.hero-content { justify-content: center; padding-bottom: 145px; }
.hero-kicker, .jury-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #8ce8df; font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-content h1 {
  max-width: 900px; margin: 22px 0 18px; color: #fff;
  font: 700 clamp(34px, 5.1vw, 68px)/1.12 var(--font-headers);
  letter-spacing: -.045em; text-shadow: 0 5px 25px rgba(0,0,0,.22);
}
.hero-content h1 strong { color: #8ce8df; font-weight: 700; }
.hero-content p { max-width: 560px; color: rgba(255,255,255,.88); font-size: clamp(15px, 1.4vw, 19px); margin-bottom: 28px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 22px; padding: 16px 23px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 6px;
  color: #082b40; background: #8ce8df; text-decoration: none;
  font-weight: 800; font-size: 14px; letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: .25s ease;
}
.hero-cta span { font-size: 22px; line-height: 12px; transition: transform .25s ease; }
.hero-cta:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 17px 34px rgba(0,0,0,.25); }
.hero-cta:hover span { transform: translateX(4px); }
.hero-mountains { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: 31%; pointer-events: none; }
.mountain-back { fill: rgba(9,42,62,.34); }
.mountain-front { fill: rgba(5,29,46,.68); }
.mountain-line { fill: none; stroke: rgba(210,255,249,.65); stroke-width: 2; stroke-linejoin: round; }
.slider-btn { z-index: 5; }

/* Слайдер членов жюри */
.jury-section { position: relative; overflow: hidden; padding: 35px 0 75px; background: linear-gradient(180deg,#f2f7fa 0%,#fff 100%); }
.jury-section::before { content:""; position:absolute; width:440px; height:440px; left:-230px; top:30px; border:1px solid rgba(22,185,176,.13); border-radius:50%; box-shadow:0 0 0 28px rgba(22,185,176,.025),0 0 0 58px rgba(22,185,176,.02); }
.jury-heading-row { position:relative; display:flex; justify-content:space-between; align-items:flex-end; gap:25px; margin-bottom:32px; }
.jury-heading-row .section-title { text-align:left; margin:10px 0 15px; }
.jury-heading-row .section-title::after { left:0; transform:none; }
.jury-heading-row .section-title::before { display:none; }
.jury-intro { max-width:650px; color:#61778a; line-height:1.7; }
.jury-controls { display:flex; gap:10px; flex-shrink:0; padding-bottom:4px; }
.jury-arrow { width:48px; height:48px; display:grid; place-items:center; border:1px solid #d8e5ec; border-radius:50%; background:#fff; color:#123b57; font-size:22px; cursor:pointer; transition:.25s ease; }
.jury-arrow:hover:not(:disabled) { color:#fff; background:#087f91; border-color:#087f91; transform:translateY(-2px); }
.jury-arrow:disabled { opacity:.35; cursor:not-allowed; }
.jury-viewport { position:relative; overflow:hidden; }
.jury-track { display:flex; gap:20px; transition:transform .55s cubic-bezier(.22,.75,.25,1); will-change:transform; }
.jury-card { flex:0 0 calc((100% - 60px)/4); min-width:0; overflow:hidden; border:1px solid #e2ebf0; border-radius:17px; background:#fff; box-shadow:0 10px 28px rgba(13,48,72,.07); transition:box-shadow .3s, transform .3s; }
.jury-card:hover { transform:translateY(-6px); box-shadow:0 18px 38px rgba(13,48,72,.13); }
.jury-photo { position:relative; height:235px; overflow:hidden; background:linear-gradient(145deg,#d9e9ed,#b6d5d6); }
.jury-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.jury-card:hover .jury-photo img { transform:scale(1.05); }
.jury-photo-fallback { display:none; position:absolute; inset:0; place-items:center; color:rgba(10,55,75,.55); font:700 24px var(--font-headers); letter-spacing:.08em; background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.55),transparent 45%),linear-gradient(145deg,#d9e9ed,#b6d5d6); }
.jury-card-info { padding:20px 19px 23px; }
.jury-label { display:block; margin-bottom:9px; color:#119b9a; font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.jury-card-info h3 { margin:0 0 9px; color:#173c56; font:700 16px/1.35 var(--font-headers); }
.jury-card-info p { margin:0; color:#718596; font-size:13px; line-height:1.55; }
.jury-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:25px; }
.jury-progress { display:flex; align-items:center; gap:15px; color:#456175; font-size:12px; font-weight:700; white-space:nowrap; }
.jury-progress-track { width:145px; height:3px; overflow:hidden; border-radius:4px; background:#dce8ed; }
.jury-progress-track span { display:block; width:50%; height:100%; background:#13aaa6; transition:width .35s ease; }
.jury-hint { color:#8a9ba8; font-size:12px; }
@media (max-width: 992px) {
  .jury-card { flex-basis:calc((100% - 40px)/3); }
  .slider-container { height:600px; min-height:540px; }
}
@media (max-width: 700px) {
  .slider-container { width:calc(100% - 24px); height:570px; min-height:520px; margin:14px auto 48px; border-radius:18px; }
  .slide { min-height:520px; }
  .slide-overlay { padding:35px 25px 100px; background:linear-gradient(0deg,rgba(5,24,42,.88),rgba(5,24,42,.2) 90%); }
  .hero-content { justify-content:flex-end; padding-bottom:125px; }
  .hero-content h1 { font-size:clamp(31px,8vw,44px); }
  .hero-mountains { height:24%; }
  .jury-heading-row { align-items:flex-start; flex-direction:column; }
  .jury-controls { position:absolute; right:0; bottom:0; }
  .jury-card { flex-basis:calc((100% - 16px)/2); }
  .jury-photo { height:210px; }
  .jury-footer { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 480px) {
  .jury-card { flex-basis:100%; }
  .jury-photo { height:280px; }
  .jury-controls { position:static; }
  .jury-heading-row { gap:15px; }
  .jury-hint { display:none; }
}


/* Возвращённый заголовок конкурса над фотослайдером */
.main-title-section{max-width:1240px;margin:34px auto 12px;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:clamp(16px,3vw,34px);text-align:center}
.main-contest-title{font-family:var(--font-headers);font-size:clamp(23px,3vw,38px);font-weight:800;color:#12344d;line-height:1.25;text-transform:uppercase;letter-spacing:.015em}
.main-contest-title span{display:inline-block;margin-top:5px;color:#087f91;font-size:.88em}
.title-icon-animated{width:62px;height:62px;display:flex;align-items:center;justify-content:center;flex:0 0 62px;border:1px solid rgba(8,127,145,.16);border-radius:50%;background:linear-gradient(145deg,#effbfa,#e4f2f8);box-shadow:0 8px 24px rgba(10,55,75,.08);animation:floatMotion 4s ease-in-out infinite}
.title-icon-animated.delay-animation{animation-delay:2s}
@keyframes floatMotion{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.header-actions{display:flex;align-items:center;gap:10px}
.header-apply-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;border-radius:25px;background:#087f91;color:#fff;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 7px 18px rgba(8,127,145,.17);transition:.25s ease}
.header-apply-btn:hover{background:#066779;transform:translateY(-2px)}
.section-cta-wrap{display:flex;justify-content:center;margin:32px auto 8px}
.section-apply-cta{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:14px 23px;border:1px solid #087f91;border-radius:5px;background:#087f91;color:#fff;text-decoration:none;font-size:14px;font-weight:800;box-shadow:0 10px 24px rgba(8,127,145,.15);transition:background .25s,transform .25s,box-shadow .25s}
.section-apply-cta span{font-size:20px;line-height:1;transition:transform .25s}
.section-apply-cta:hover{background:#075f70;transform:translateY(-3px);box-shadow:0 15px 30px rgba(8,127,145,.22)}
.section-apply-cta:hover span{transform:translateX(4px)}
#documents{scroll-margin-top:100px}
@media(max-width:868px){.header-actions{margin-left:auto;margin-right:14px}.header-apply-btn{padding:9px 13px;font-size:12px}.lk-btn{padding:9px 13px}}
@media(max-width:700px){.main-title-section{gap:10px;margin:22px auto 8px;padding:0 14px}.main-contest-title{font-size:clamp(17px,4.7vw,23px)}.main-contest-title span{font-size:.9em}.title-icon-animated{width:42px;height:42px;flex-basis:42px}.title-icon-animated svg{width:25px;height:25px}.header-actions{gap:6px;margin-right:9px}.header-apply-btn{padding:8px 10px;font-size:11px}.lk-btn{font-size:11px;padding:8px 10px}}
@media(max-width:480px){.header-actions .lk-btn{display:none}.main-title-section{gap:7px}.main-contest-title{font-size:16px;letter-spacing:0}.title-icon-animated{width:36px;height:36px;flex-basis:36px}.title-icon-animated svg{width:22px;height:22px}.section-cta-wrap{margin-top:24px}.section-apply-cta{width:min(100%,310px);padding:13px 16px}}
@media(prefers-reduced-motion:reduce){.title-icon-animated{animation:none}}