/* Глобальные настройки и переменные */
:root {
  --color-bg: #fdfcf8;
  --color-text: #1a1a1a;
  --color-accent: #d32f2f; /* Японский красный */
  --color-line: #e0ddd5;
  --color-paper-dark: #f2efe6;
  --font-main: "Montserrat", sans-serif;
  --font-heading: "Playfair Display", serif;
  --font-jp: "Noto Serif JP", serif;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Эффект зернистости бумаги */
  background-image: url("https://www.transparenttextures.com/patterns/felt.png");
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* --- HEADER --- */
.header {
  border-bottom: 1px solid var(--color-line);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__nav-list {
  display: flex;
  gap: 35px;
  align-items: center;
}

.header__nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link--cta {
  background: var(--color-text);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0;
  transition: var(--transition);
}

.header__nav-link--cta:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* Бургер (для мобилок) */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger span {
  width: 25px;
  height: 1px;
  background: var(--color-text);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-paper-dark);
  padding: 80px 0 40px;
  margin-top: 0;
  border-top: 1px solid var(--color-line);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__col--brand .footer__logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  display: block;
  margin-bottom: 20px;
}

.footer__description {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer__title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--color-accent);
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__list a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 5px;
}

.footer__list--contacts li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
}

.footer__list--contacts i {
  width: 16px;
  color: var(--color-accent);
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* --- Стили для политик (Этап 5 задел) --- */
.pages {
  padding: 100px 0;
}
.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 40px;
}
.pages h2 {
  font-family: var(--font-heading);
  margin: 30px 0 15px;
}
.pages p {
  margin-bottom: 20px;
  opacity: 0.8;
}
.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.pages li {
  list-style: disc;
  margin-bottom: 10px;
}

/* Адаптив */
@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
  .header__nav {
    display: none;
  }
  .header__burger {
    display: flex;
  }
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
  .pages h1 {
    font-size: 2rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

/* Вертикальная надпись */
.hero__vertical-label {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
  opacity: 0.6;
}

.hero__subtitle {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  color: var(--color-text);
  opacity: 0.7;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 5.5rem; /* Гигантский заголовок */
  line-height: 0.9;
  margin-bottom: 30px;
  font-weight: 900;
}

.hero__title--accent {
  color: var(--color-accent);
  font-style: italic;
  padding-left: 40px;
}

.hero__text {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0.8;
}

.hero__actions {
  display: flex;
  gap: 20px;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 18px 35px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--color-text);
}

.btn--primary {
  background: var(--color-text);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

/* Визуальная часть (Коллаж) */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border: 1px solid var(--color-line);
  padding: 15px;
  background: #fff;
  box-shadow: 20px 20px 0px var(--color-paper-dark);
}

.hero__image {
  width: 100%;
  height: auto;
  filter: grayscale(1); /* Журнальный ч/б стиль */
  display: block;
  transition: var(--transition);
}

.hero__image-wrapper:hover .hero__image {
  filter: grayscale(0);
}

.hero__deco-box {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--color-accent);
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.hero__deco-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.hero__deco-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Анимации (начальные состояния) */
.animate-fade,
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптив */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__title {
    font-size: 3.5rem;
  }
  .hero__title--accent {
    padding-left: 0;
  }
  .hero__text {
    margin: 0 auto 40px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__vertical-label {
    display: none;
  }
  .hero__visual {
    margin-top: 60px;
    max-width: 500px;
    margin-inline: auto;
  }
}

/* --- LIFESTYLE SECTION --- */
.lifestyle {
  padding: 120px 0;
  background-color: var(--color-bg);
  position: relative;
}

.lifestyle__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 40px;
}

.lifestyle__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
}

.lifestyle__title span {
  font-weight: 300;
  color: var(--color-accent);
}

.lifestyle__intro {
  max-width: 350px;
  font-size: 0.95rem;
  font-style: italic;
  text-align: right;
}

/* Сетка с нарушением правил (Grid Break) */
.lifestyle__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.lifestyle__item {
  background: #fff;
  padding: 40px;
  position: relative;
  border: 1px solid var(--color-line);
  transition: var(--transition);
}

.lifestyle__item:nth-child(1) {
  grid-column: 1 / 5;
  margin-top: 40px;
}
.lifestyle__item:nth-child(2) {
  grid-column: 5 / 9;
  z-index: 2;
}
.lifestyle__item:nth-child(3) {
  grid-column: 9 / 13;
  margin-top: 80px;
}

/* Органические формы и эффекты */
.lifestyle__item--organic {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Blob shape */
}

.lifestyle__image-blob {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  margin-bottom: 30px;
}

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

/* Имитация скотча */
.lifestyle__tape {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 100px;
  height: 30px;
  background: rgba(211, 47, 47, 0.1);
  backdrop-filter: blur(2px);
  border: 1px dashed rgba(211, 47, 47, 0.3);
}

.lifestyle__icon-box {
  color: var(--color-accent);
  margin-bottom: 25px;
}

.lifestyle__item-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.lifestyle__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Hover эффекты */
.lifestyle__item:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 15px 15px 0px var(--color-paper-dark);
}

/* Адаптив */
@media (max-width: 992px) {
  .lifestyle__grid {
    grid-template-columns: 1fr;
  }
  .lifestyle__item:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
  .lifestyle__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .lifestyle__intro {
    text-align: left;
  }
  .lifestyle__title {
    font-size: 2.5rem;
  }
}

/* --- CAREER SECTION (Tech / Utilitarian) --- */
.career {
  padding: 140px 0;
  background-color: #fff;
  position: relative;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-main);
}

/* Координатная сетка на фоне */
.career__grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.career__tag {
  font-family: "Courier New", monospace;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.career__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin-bottom: 30px;
  line-height: 1.1;
}

.career__description {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 80px;
  opacity: 0.8;
}

/* Blueprint Grid */
.career__blueprint {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--color-text);
}

.career__node {
  padding: 60px 40px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  position: relative;
  transition: var(--transition);
}

.career__node--featured {
  background-color: var(--color-paper-dark);
}

.career__node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.career__node-coord {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  opacity: 0.5;
}

.career__node-icon {
  width: 20px;
  stroke-width: 1.5;
}

.career__node-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.career__node-text {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 30px;
}

.career__node-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Декоративные плюсики на стыках */
.career__node-plus {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: var(--color-text);
  z-index: 5;
}

/* Hover-эффект "Технический сбой" */
.career__node:hover {
  background-color: var(--color-text);
  color: #fff;
}

.career__node:hover .career__node-coord,
.career__node:hover .career__node-text {
  color: #fff;
  opacity: 0.6;
}

/* Адаптив */
@media (max-width: 992px) {
  .career__blueprint {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--color-text);
  }
  .career__title {
    font-size: 2.8rem;
  }
  .career__node {
    padding: 40px 20px;
  }
}

/* --- CREATIVE SECTION (Aurora & Mesh Gradients) --- */
.creative {
  padding: 160px 0;
  position: relative;
  background-color: #0c0c0c; /* Темный фон для контраста с сиянием */
  color: #fff;
  overflow: hidden;
}

/* Фон с градиентами и шумом */
.creative__aurora-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: blur(100px);
  opacity: 0.6;
}

/* Зернистость (Overlay) */
.creative::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.15;
  pointer-events: none;
  z-index: 2;
}

.creative__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.creative__blob--1 {
  width: 500px;
  height: 500px;
  background: #d32f2f; /* Японский красный */
  top: -100px;
  right: -100px;
}

.creative__blob--2 {
  width: 400px;
  height: 400px;
  background: #4a148c; /* Фиолетовый акцент */
  bottom: -50px;
  left: -50px;
}

.creative__blob--3 {
  width: 300px;
  height: 300px;
  background: #1a237e; /* Глубокий синий */
  top: 20%;
  left: 30%;
}

.creative__container {
  position: relative;
  z-index: 3;
}

.creative__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.creative__title {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 30px;
}

.creative__title span {
  font-weight: 300;
  font-style: italic;
  opacity: 0.8;
}

.creative__text {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 550px;
}

.creative__highlight {
  font-family: var(--font-jp);
  color: var(--color-accent);
  font-size: 1.4rem;
  margin-bottom: 40px;
}

/* Круглая кнопка в стиле Aurora */
.btn-round {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.btn-round:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Glassmorphism Cards */
.creative__showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creative__card-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.creative__card-glass i {
  color: var(--color-accent);
  width: 30px;
  height: 30px;
}

.creative__card-glass h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.creative__card-glass p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.creative__card:hover .creative__card-glass {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(15px);
  border-color: var(--color-accent);
}

/* Адаптив */
@media (max-width: 992px) {
  .creative__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .creative__title {
    font-size: 3.5rem;
  }
}
/* --- EDUCATION SECTION (Bauhaus Revival) --- */
.education {
  padding: 140px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--color-text);
}

/* Фоновые фигуры Bauhaus */
.education__shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.education__shape {
  position: absolute;
  opacity: 0.1;
}

.education__shape--circle {
  width: 400px;
  height: 400px;
  background: #1a237e; /* Blue */
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.education__shape--triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid var(--color-accent); /* Red */
  bottom: 10%;
  right: 20%;
}

.education__shape--square {
  width: 200px;
  height: 200px;
  background: #fbc02d; /* Yellow */
  top: 40%;
  right: 5%;
  transform: rotate(15deg);
}

.education__container {
  position: relative;
  z-index: 2;
}

.education__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.education__title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 0.85;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.education__title span {
  color: var(--color-accent);
}

.education__description {
  font-size: 1.1rem;
  max-width: 400px;
  margin-bottom: 50px;
  border-left: 4px solid var(--color-text);
  padding-left: 20px;
}

.education__stats {
  display: flex;
  gap: 40px;
}

.education__stat-item {
  display: flex;
  flex-direction: column;
}

.education__stat-item strong {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  line-height: 1;
}

.education__stat-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Сетка шагов */
.education__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--color-text);
}

.education__step {
  padding: 50px;
  border-bottom: 2px solid var(--color-text);
  transition: var(--transition);
  position: relative;
  background: #fff;
}

.education__step:last-child {
  border-bottom: none;
}

.education__step--blue:hover {
  background-color: #1a237e;
  color: #fff;
}
.education__step--yellow:hover {
  background-color: #fbc02d;
  color: #000;
}
.education__step:not(.education__step--blue):not(
    .education__step--yellow
  ):hover {
  background-color: var(--color-accent);
  color: #fff;
}

.education__step-num {
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 20px;
}

.education__step-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.education__step-text {
  font-size: 1rem;
  max-width: 450px;
  margin-bottom: 25px;
  opacity: 0.8;
}

.education__step-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: underline;
}

/* Адаптив */
@media (max-width: 992px) {
  .education__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .education__title {
    font-size: 3rem;
  }
  .education__shapes {
    display: none;
  }
  .education__step {
    padding: 30px;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 120px 0;
  background-color: var(--color-paper-dark);
  border-top: 1px solid var(--color-line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 30px;
}

.contact__title span {
  color: var(--color-accent);
}

.contact__description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.contact__status {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact__status-dot {
  width: 8px;
  height: 8px;
  background-color: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Форма */
.contact__form {
  background: #fff;
  padding: 60px;
  border: 1px solid var(--color-text);
  position: relative;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-bottom-color: var(--color-accent);
}

.error-msg {
  color: var(--color-accent);
  font-size: 0.7rem;
  display: none;
  margin-top: 5px;
}

/* Кастомные чекбоксы */
.form-checkbox-wrapper {
  margin-bottom: 15px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-text);
  flex-shrink: 0;
  position: relative;
  margin-top: 3px;
}

.custom-checkbox input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
}

.checkbox-text {
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.4;
}

.btn--full {
  width: 100%;
  margin-top: 20px;
}

/* Success Message */
.contact__success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 10;
  display: none; /* Скрыто по умолчанию */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.success-content i {
  color: #4caf50;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.success-content p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

@media (max-width: 992px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .contact__form {
    padding: 40px 20px;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: #fff;
  border: 1px solid var(--color-text);
  padding: 20px;
  z-index: 2000;
  display: none; /* Управляется через JS */
  box-shadow: 10px 10px 0px var(--color-paper-dark);
  max-width: 500px;
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-popup__icon {
  color: var(--color-accent);
}

.cookie-popup__text {
  font-size: 0.85rem;
  line-height: 1.4;
}

.cookie-popup__text a {
  text-decoration: underline;
  font-weight: 600;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.7rem;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦ ПОЛИТИК (privacy.php и др.) --- */
.pages {
  padding: 100px 0;
  max-width: 900px; /* Узкая колонка для удобства чтения */
  margin: 0 auto;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 50px;
  line-height: 1;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 20px;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--color-text);
}

.pages p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.8);
}

.pages ul {
  margin-bottom: 30px;
  list-style: none;
}

.pages li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.pages li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.pages strong {
  font-weight: 600;
  color: #000;
}
.pages a {
  color: var(--color-accent);
  text-decoration: underline;
}
