:root {
	--header-height: 70px;
	--bg-color: #0b0e11;
	--bg-color-light: #1e2329;
	--bg-dark: #0b0e11;
	--accent-color: #f0b90b;
	--text-color: #eaecef;
	--transition: all 0.3s ease-in-out;
	--bg-gradient-dark: linear-gradient(135deg, #0b0e11 0%, #1e2329 50%, #2b3139 100%);

	--color-primary: #ffffff;
	--color-accent: #f0b90b;
	--color-light: #353b42;
	--color-text: #eaecef;
	--border-radius: 0.75rem;
	--shadow: 0 15px 30px rgba(240, 185, 11, 0.2);

	--font-main: 'Inter', sans-serif;
	--font-second: 'Merriweather', sans-serif;
}

/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
	text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: inherit;
	font-weight: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-second);
}

ul,
ul li {
	list-style: none;
	font-family: var(--font-second);
}

img {
	vertical-align: top;
}

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

address {
	font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button,
input[type='submit'] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}

html,
body {
	height: 100%;
	font-family: Arial, sans-serif;
	background-color: var(--bg-color-light);
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-main);
}

.wrapper {
	min-height: 100vh; /* минимум высота экрана */
	display: flex;
	flex-direction: column;
	padding-top: 70px; /* чтобы контент не ушел под фиксированный header */
}

/* main занимает всё свободное пространство */
.main {
	flex: 1 0 auto; /* растягиваем main, чтобы footer ушел вниз */
	padding: 20px 0;
}

.container {
	max-width: 1280px;
	padding: 0 10px;
	margin: 0 auto;
	height: 100%;
}

/* HEADER */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: var(--bg-color);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.header__inner {
	display: flex;
	justify-content: center;
	flex-direction: row-reverse;
	align-items: center;
	height: 70px;
}

/* Навигация */
.nav {
	display: flex;
	align-items: center;
}

.nav-list {
	display: flex;
	gap: 30px;
	list-style: none;
}

.nav-link {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	position: relative;
	transition: var(--transition);
	display: block;
	padding: 5px;
	border-radius: 5px;
}

.nav-link:hover {
	background: var(--accent-color);
}
.nav-link.active {
	background: var(--accent-color);
}
/* Бургер меню */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
}

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

/* Адаптивность */
@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.nav-list {
		position: absolute;
		top: var(--header-height);
		right: 0;
		background-color: var(--bg-color);
		flex-direction: column;
		width: 100%;
		padding: 20px;
		gap: 20px;
		transform: translateX(100%);
		opacity: 0;
		pointer-events: none;
		transition: var(--transition);
	}

	.nav-list.active {
		transform: translateX(0%);
		opacity: 1;
		pointer-events: all;
	}
}

/* Footer */

/* Футер */
.footer {
	background-color: #0a0f1a;
	color: #fff;
	flex-shrink: 0; /* не сжимается */
}

.footer .container {
	display: flex;
	justify-content: space-between;
	padding: 20px;
}

.footer-links ul {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #2454f1;
}

.footer-bottom {
	margin-top: 10px;
	font-size: 14px;
	color: #eec5c5;
	text-align: center;
}

@media (max-width: 768px) {
	.footer .container {
		display: flex;
		flex-direction: column;
	}
}

/* FAQ */
.faq-section {
  background-color: #101626;
  color: #ffffff;
  padding: 60px 20px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #1b2338;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.05);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #222c48;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: #00e5ff;
  transition: transform 0.3s;
  margin-left: 10px;
}

.faq-toggle:checked + .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #242f4b;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-final-note {
  margin-top: 40px;
  font-size: 17px;
  background-color: #16203a;
  padding: 20px;
  border-radius: 10px;
  color: #aeeaff;
  line-height: 1.6;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}


/* Адаптивность */
@media (max-width: 768px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px;
  }

  .faq-answer {
    font-size: 15px;
    padding: 0 16px;
  }

  .faq-toggle:checked + .faq-question + .faq-answer {
    padding: 16px;
  }

  .faq-final-note {
    font-size: 16px;
  }
}

.site-nav {
	text-align: center;
	padding: 20px;
	background-color: #111;
	color: #fff;
	border-radius: 15px;
	max-width: 500px;
}
.nav-list-faq {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.site-nav .nav-list-faq a {
	color: #fff;
}

.flex-end {
	display: flex;
	justify-content: end;
	align-items: center;
	font-size: 16px;
	margin: 15px 0;
	color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
	.site-nav {
		justify-content: center;
	}
	.flex-end {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.faq-question {
		align-items: flex-start;
	}

	.faq-icon {
		align-self: flex-end;
		margin-top: 8px;
	}

	.faq-title {
		font-size: 22px;
	}

	.faq-footer {
		font-size: 14px;
	}
}

/* PRIVaCY */
.privacy {
	font-family: 'Segoe UI', sans-serif;
	color: #333;
	padding: 2rem 1rem;
}
.privacy__header {
	background: #f5f7fb;
	padding: 3rem 1rem;
	text-align: center;
	border-radius: 12px;
	margin-bottom: 2rem;
}
.privacy__title {
	font-size: 2.5rem;
}
.privacy__intro {
	font-size: 1.2rem;
	color: #666;
}
.privacy__container {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}
.privacy__sidebar {
	flex: 1 1 250px;
	background: #fff;
	border: 1px solid #ddd;
	padding: 1rem;
	border-radius: 8px;
	position: sticky;
	top: 70px;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
}
section[id] {
	scroll-margin-top: 80px;
}

.privacy__nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.privacy__nav li {
	margin-bottom: 0.75rem;
}
.privacy__nav a {
	color: #0077cc;
	text-decoration: none;
	transition: color 0.2s;
}
.privacy__nav a:hover {
	color: #005fa3;
}
.privacy__content {
	flex: 3 1 600px;
}
.privacy__content section {
	margin-bottom: 2rem;
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.privacy__content h2 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.privacy__content h3 {
	font-size: 1.2rem;
	margin-top: 1rem;
	color: #444;
}
.privacy__content ul {
	margin-left: 1.5rem;
	padding-left: 0;
	list-style-type: disc;
}
.privacy__content address {
	font-style: normal;
	margin: 1rem 0;
}
@media (max-width: 768px) {
	.privacy {
		padding: 1rem;
	}
	.privacy__header {
		padding: 1rem;
	}
	.privacy__container {
		flex-direction: column;
	}
	.privacy__title {
		font-size: 1.25rem;
	}
	.privacy__sidebar {
		position: static;
		max-height: none;
		margin-bottom: 1rem;
	}
}
/* Enhanced Contacts Section */
.contact-section {
	padding: 60px 20px;
	background-color: #f9f9f9;
	height: 100%;
	min-height: 100vh;
}

.contact-section__container {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: flex-start;
}

.contact-section__image-wrapper {
	flex: 1 1 40%;
	min-width: 280px;
}

.contact-section__image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-section__content {
	flex: 1 1 55%;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-section__heading {
	font-size: 24px;
	font-weight: 700;
	color: #222;
}

.contact-section__description {
	font-size: 16px;
	color: #555;
}

.contact-section__block {
	font-size: 15px;
	color: #333;
	line-height: 1.6;
}

.contact-section__subtitle {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 600;
	color: #000;
}

.contact-section__socials {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 16px;
}

.contact-section__socials a {
	color: #0072ce;
	text-decoration: none;
	transition: color 0.2s ease;
}

.contact-section__socials a:hover {
	color: #005bb5;
}

@media (max-width: 768px) {
	.contact-section__container {
		flex-direction: column;
	}
}

.link-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.link-page {
	background-color: var(--bg-dark);
	border-radius: 12px;
	padding: 15px;
	display: inline-block;
	color: var(--accent-color);
	transition: var(--transition);
}
.link-page:hover {
	color: var(--color-light);
	transition: var(--transition);
}

/* SECTIONS */
.safepal-section {
	background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
	color: #ffffff;
	padding: 60px 20px;
	font-family: 'Orbitron', sans-serif;
}

.safepal-container {
	max-width: 900px;
	margin: 0 auto;
}

.safepal-title {
	font-size: 32px;
	color: #00fff7;
	text-shadow: 0 0 8px #00fff7;
	margin-bottom: 30px;
	text-align: center;
}

.safepal-image-block {
	display: flex;
	justify-content: center;
	margin-bottom: 25px;
}

.safepal-image {
	max-width: 100%;
	height: auto;
	border: 3px solid #00fff7;
	border-radius: 12px;
	box-shadow: 0 0 15px #00fff7;
}

.safepal-subtitle {
	font-size: 24px;
	color: #ff4efc;
	text-shadow: 0 0 6px #ff4efc;
	margin: 40px 0 20px;
}

.safepal-text {
	font-size: 18px;
	line-height: 1.7;
	color: #e0e0e0;
	margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
	.safepal-title {
		font-size: 24px;
	}

	.safepal-subtitle {
		font-size: 20px;
	}

	.safepal-text {
		font-size: 16px;
	}
}
.safepal-section--institutional {
	background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.safepal-section--institutional .safepal-title {
	color: #00ffc3;
	text-shadow: 0 0 10px #00ffc3;
}

.safepal-section--institutional .safepal-subtitle {
	color: #ff4f81;
	text-shadow: 0 0 6px #ff4f81;
}

.safepal-section--institutional .safepal-image {
	border-color: #00ffc3;
	box-shadow: 0 0 15px #00ffc3;
}

.safepal-section--institutional .safepal-text {
	color: #e0f7fa;
}
.safepal-section--ai {
	background: linear-gradient(135deg, #101820, #2a2f4a);
}

.safepal-section--ai .safepal-title {
	color: #00f7ff;
	text-shadow: 0 0 12px #00f7ff;
}

.safepal-section--ai .safepal-subtitle {
	color: #ff6ec7;
	text-shadow: 0 0 6px #ff6ec7;
}

.safepal-section--ai .safepal-image {
	border-color: #00f7ff;
	box-shadow: 0 0 18px #00f7ff;
}

.safepal-section--ai .safepal-text {
	color: #f0faff;
}
/* Quantum Security Section */
.safepal-section--quantum {
	background: linear-gradient(135deg, #0a0e1a, #16203c);
}

.safepal-section--quantum .safepal-title {
	color: #9effff;
	text-shadow: 0 0 10px #00ffff;
}

.safepal-section--quantum .safepal-subtitle {
	color: #ffd86e;
	text-shadow: 0 0 6px #ffce3d;
}

.safepal-section--quantum .safepal-image {
	border: 2px solid #9effff;
	box-shadow: 0 0 18px #9effff;
}

.safepal-section--quantum .safepal-text {
	color: #eafaff;
}

/* Community & Contact Section */
.safepal-section--contact {
	background: linear-gradient(135deg, #1a1020, #2b1547);
}

.safepal-section--contact .safepal-title {
	color: #e47fff;
	text-shadow: 0 0 10px #f03fff;
}

.safepal-section--contact .safepal-subtitle {
	color: #9eff99;
	text-shadow: 0 0 6px #33ff66;
}

.safepal-section--contact .safepal-text {
	color: #f8f2ff;
}
.enterprise-solutions {
	background: linear-gradient(135deg, #0a0f2c 0%, #1b1f4b 100%);
	color: #ffffff;
	padding: 70px 30px;
	position: relative;
	overflow: hidden;
}

.enterprise-solutions__container {
	max-width: 1200px;
	margin: 0 auto;
	z-index: 2;
	position: relative;
}

.enterprise-solutions__title {
	font-size: 36px;
	text-align: center;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 50px;
	text-shadow: 0 0 15px #00f0ff;
}

.enterprise-solutions__image {
	display: block;
	max-width: 100%;
	margin: 0 auto 40px;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.enterprise-solutions__block {
	margin-bottom: 50px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
	backdrop-filter: blur(6px);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enterprise-solutions__block:hover {
	transform: translateY(-5px);
	box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
}

.enterprise-solutions__subtitle {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #00eaff;
	text-shadow: 0 0 10px #00eaff;
}

.enterprise-solutions__text {
	font-size: 18px;
	line-height: 1.7;
	color: #e0f7ff;
	margin-bottom: 15px;
}

/* === Адаптив === */
@media (max-width: 768px) {
	.enterprise-solutions {
		padding: 50px 20px;
	}

	.enterprise-solutions__title {
		font-size: 28px;
	}

	.enterprise-solutions__subtitle {
		font-size: 20px;
	}

	.enterprise-solutions__text {
		font-size: 16px;
	}

	.enterprise-solutions__block {
		padding: 20px;
	}
}
