/* VARIABLES & RESET */
:root {
  --bg-paper: #faf9f6;
  --bg-white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #595959;
  --accent-color: #a0522d; /* Sienna / Terracotta */
  --accent-light: #e6dcd3;
  --line-color: #d3d3d3;

  --font-display: "Playfair Display", serif;
  --font-body: "Mulish", sans-serif;

  --spacing-unit: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-paper);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* HEADER STYLE - EDITORIAL LOOK */
.site-header {
  padding: 30px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line-color);
  padding: 20px 40px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
}

.header-controls {
  position: relative;
  z-index: 9999;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  z-index: 102;
}

.main-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-list {
  display: flex;
  gap: 50px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  position: relative;
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* BURGER MENU - MINIMALIST */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
  padding: 10px;
}

.line {
  display: block;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.line-1 {
  width: 30px;
}
.line-2 {
  width: 20px;
}

.burger-menu:hover .line-2 {
  width: 30px;
}

/* MAIN PLACEHOLDER */
.site-main {
  flex: 1;
  padding-top: 30px;
  min-height: 80vh;
}

/* FOOTER - ARTISTIC LAYOUT */
.site-footer {
  background-color: #f0efea;
  background-image: url("../img/footer_light_bg.jpg");
  background-size: cover;
  background-blend-mode: multiply;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 60px;
}

.big-logo {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-color);
  display: block;
  margin-bottom: 20px;
}

.mission-text {
  max-width: 400px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 100px;
}

.col-title {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.footer-nav ul li {
  margin-bottom: 12px;
}

.footer-nav ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

.footer-nav ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.subtle-note {
  text-transform: none;
  font-style: italic;
  font-family: var(--font-display);
}

/* COOKIE MODAL - CLEAN CARD */
.cookie-modal {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(20px);
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modal-body {
  background: var(--bg-white);
  padding: 30px;
  width: 340px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.modal-text h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.modal-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-color);
  padding-top: 15px;
}

.btn-text {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.btn-dim {
  color: #999;
}

.btn-text:hover {
  color: var(--accent-color);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    /* Mobile menu logic handled via JS classes */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-paper);
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main-nav.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    text-transform: none;
    font-style: italic;
  }

  .burger-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .big-logo {
    font-size: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .cookie-modal {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }
}

/* ======================
   COMPONENTS & UTILITIES
   ====================== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #874324; /* Немного темнее акцента */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(160, 82, 45, 0.2);
}

.btn-link {
  background: none;
  color: var(--text-primary);
  padding-left: 0;
}

.btn-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* ======================
   SECTIONS: HERO
   ====================== */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding-right: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.title-accent {
  font-style: italic;
  color: var(--accent-color);
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-image-wrapper {
  position: relative;
  height: 600px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 20px 20px 0px rgba(160, 82, 45, 0.05); /* Тень-рамка в цвет акцента */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Небольшой эффект параллакса при загрузке */
  transform: scale(1.05);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Простая анимация появления при загрузке */
.hero-image-wrapper:hover .hero-image {
  transform: scale(1);
}

/* RESPONSIVE HERO */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-image-wrapper {
    height: 400px;
    box-shadow: 10px 10px 0px rgba(160, 82, 45, 0.05);
    order: -1; /* На мобильном картинка сверху */
  }
}

/* ======================
   SECTIONS: JOURNAL (SECTION 2)
   ====================== */
.journal-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.journal-image-side {
  position: relative;
  padding-left: 40px;
}

.journal-img {
  width: 100%;
  filter: grayscale(20%);
  border-radius: 2px;
}

.floating-caption {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--bg-paper);
  padding: 20px;
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.caption-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-color);
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.journal-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 30px;
}

.journal-text {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.journal-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-primary);
  border-left: 2px solid var(--accent-color);
  padding-left: 30px;
  margin-top: 40px;
}

/* ======================
   SECTIONS: ARCHETYPES (SECTION 3)
   ====================== */
.archetype-section {
  padding: 50px 0 50px;
}

.archetype-header {
  text-align: center;
  margin-bottom: 100px;
}

.archetype-main-title {
  font-family: var(--font-display);
  font-size: 3rem;
  position: relative;
  display: inline-block;
}

.archetype-main-title::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 1px;
  background: var(--accent-color);
  bottom: -15px;
  left: 20%;
}

.archetype-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.archetype-card {
  background: var(--bg-white);
  width: 450px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease;
}

.archetype-card:hover {
  transform: translateY(-10px);
}

.offset-card {
  margin-top: 80px; /* Смещение карточки вниз для необычной структуры */
}

.card-icon-box {
  height: 250px;
  overflow: hidden;
  margin-bottom: 30px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.archetype-card:hover .card-img {
  transform: scale(1.1);
}

.card-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1.5px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 10px 0 20px;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .journal-grid {
    gap: 50px;
  }
  .journal-title {
    font-size: 2.2rem;
  }
  .archetype-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-image-side {
    order: 2;
    padding-left: 0;
  }
  .floating-caption {
    right: 10px;
  }

  .archetype-cards-wrapper {
    flex-direction: column;
  }
  .offset-card {
    margin-top: 0;
  }
  .archetype-main-title {
    font-size: 2.2rem;
  }
}

/* ======================
   SECTIONS: INTERACTIVE COMPASS
   ====================== */
.interactive-compass {
  padding: 50px 0;
  background-color: var(--bg-paper);
}

.compass-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.compass-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.compass-img {
  width: 350px;
  height: 450px;
  object-fit: cover;
  z-index: 2;
  clip-path: polygon(
    10% 0,
    100% 0,
    90% 100%,
    0% 100%
  ); /* Необычная форма обрезки */
}

.circle-decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid var(--line-color);
  border-radius: 50%;
  z-index: 1;
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.state-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.state-btn {
  background: none;
  border: 1px solid var(--line-color);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.state-btn.active {
  background-color: var(--accent-color);
  color: var(--bg-white);
  border-color: var(--accent-color);
}

.state-display {
  min-height: 180px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 0 40px 0 40px; /* Асимметричные углы */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.state-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.state-text-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .compass-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .compass-visual {
    order: 2;
  }
  .compass-img {
    width: 100%;
    max-width: 400px;
  }
}

.compass-intro {
  margin-bottom: 15px;
}

/* ======================
   SECTION: HORO INTRO
   ====================== */
.horo-intro {
  padding: 100px 0;
  overflow: hidden;
}

.horo-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.horo-intro-image {
  position: relative;
}

.img-parallax {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 0 150px 0 0;
}

.vertical-title {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: 8rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-light);
  line-height: 1;
  z-index: -1;
}

.horo-main-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.horo-lead {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 25px;
  font-weight: 400;
}

.disclaimer-text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--line-color);
  padding-top: 20px;
}

/* ======================
   SECTION: HORO SEASONS
   ====================== */
.horo-seasons {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.seasons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 150px;
}

.season-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.season-card.alt-layout {
  grid-template-columns: 1fr 1.2fr;
}

.season-img-box {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-color);
}

.season-img-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.season-info h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.season-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 450px;
}

/* ======================
   SECTION: HORO ELEMENTS
   ====================== */
.horo-elements {
  padding: 100px 0 150px;
  text-align: center;
}

.elements-header {
  margin-bottom: 80px;
}

.elements-title {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 15px;
}

.elements-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.element-item {
  transition: transform 0.4s ease;
}

.element-item:hover {
  transform: translateY(-15px);
}

.element-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.element-visual {
  height: 300px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 150px 150px 0 0; /* Форма арки */
}

.element-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.element-item:hover .element-visual img {
  transform: scale(1.1);
}

.element-item h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* RESPONSIVE HORO */
@media (max-width: 1024px) {
  .horo-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .horo-intro-image {
    order: -1;
  }
  .img-parallax {
    height: 400px;
  }
  .vertical-title {
    display: none;
  }

  .elements-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .horo-main-title {
    font-size: 2.8rem;
  }
  .season-card,
  .season-card.alt-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .season-card.alt-layout .season-img-box {
    order: -1;
  }

  .elements-gallery {
    grid-template-columns: 1fr;
  }
  .element-visual {
    height: 400px;
  }
}

/* ======================
   SECTION: CALENDAR GRID
   ====================== */
.calendar-section {
  padding: 30px 0 80px;
  background-color: var(--bg-paper);
}

.calendar-header {
  text-align: center;
  margin-bottom: 80px;
}

.calendar-main-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  margin-bottom: 15px;
}

.calendar-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.calendar-item {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item-inner {
  background-color: var(--bg-white);
  padding: 40px 30px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.month-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

.month-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.month-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.item-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/monthly_texture.jpg");
  background-size: cover;
  opacity: 0;
  z-index: -1;
  transform: scale(1.1);
  transition: all 0.6s ease;
}

/* Hover Animations */
.item-inner:hover {
  transform: rotateY(5deg) translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.item-inner:hover .month-name {
  transform: translateX(10px);
  color: var(--accent-color);
}

.item-inner:hover .item-hover-bg {
  opacity: 0.05;
  transform: scale(1);
}

/* RESPONSIVE CALENDAR */
@media (max-width: 1100px) {
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-main-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================
   SECTION: TARO HERO (OVERLAP)
   ====================== */
.taro-hero {
  padding: 140px 0 100px;
}

.taro-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.taro-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  margin: 20px 0 30px;
}

.taro-intro-p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
}

.taro-hero-visual {
  position: relative;
  height: 600px;
}

.visual-box-large {
  width: 80%;
  height: 80%;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.visual-box-small {
  width: 50%;
  height: 50%;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  border: 15px solid var(--bg-paper);
}

.visual-box-large img,
.visual-box-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================
   SECTION: TARO TRIAD (SCATTERED GRID)
   ====================== */
.taro-triad {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.triad-header {
  text-align: center;
  margin-bottom: 100px;
}

.triad-header h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.triad-layout {
  display: flex;
  justify-content: space-between;
  height: 700px;
  position: relative;
}

.triad-item {
  width: 28%;
  position: absolute;
}

.triad-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent-light);
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
}

.triad-img-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 25px;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s ease;
}

.triad-item:hover .triad-img-wrapper {
  clip-path: inset(10px 10px 10px 10px);
}

.triad-item h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.triad-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Positioning items non-linearly */
.item-1 {
  top: 0;
  left: 0;
}
.item-2 {
  top: 150px;
  left: 36%;
}
.item-3 {
  top: 50px;
  right: 0;
}

/* ======================
   SECTION: TARO PHILOSOPHY
   ====================== */
.taro-philosophy {
  padding: 150px 0;
  text-align: center;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.philosophy-disclaimer {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 30px;
  border: 1px dashed var(--line-color);
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .taro-hero-inner {
    grid-template-columns: 1fr;
  }
  .taro-hero-visual {
    height: 450px;
  }
  .triad-layout {
    height: auto;
    flex-direction: column;
    gap: 80px;
  }
  .triad-item {
    position: relative;
    width: 100%;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
  .triad-img-wrapper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .taro-title {
    font-size: 3rem;
  }
}

/* ======================
   SECTION: REFLECTION (OVERLAP TEXT)
   ====================== */
.reflection-section {
  padding: 100px 0 180px;
  background-color: var(--bg-paper);
  overflow: visible;
}

.reflection-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.reflection-image-container {
  width: 60%;
  height: 600px;
  position: relative;
  z-index: 1;
}

.reflection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.image-overlay-element {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--accent-color);
  border-left: 1px solid var(--accent-color);
  z-index: -1;
}

.reflection-card {
  width: 50%;
  background: var(--bg-white);
  padding: 80px 60px;
  position: absolute;
  right: 0;
  z-index: 2;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.reflection-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 30px;
}

.reflection-body p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.reflection-note {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--accent-light);
}

.reflection-note p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-color);
}

/* RESPONSIVE REFLECTION */
@media (max-width: 1024px) {
  .reflection-image-container {
    width: 100%;
    height: 400px;
  }
  .reflection-card {
    position: relative;
    width: 90%;
    margin: -60px auto 0;
    padding: 40px;
  }
  .reflection-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .reflection-section {
    padding: 60px 0 100px;
  }
  .reflection-card {
    width: 100%;
    margin-top: -30px;
  }
  .reflection-title {
    font-size: 1.8rem;
  }
}

/* ======================
   SECTION: QUIZ FORM
   ====================== */
.quiz-section {
  padding: 100px 0;
  background-image: url("../img/form_bg_abstract.jpg");
  background-size: cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 80px;
  border: 1px solid var(--line-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
}

.quiz-title {
  font-family: var(--font-display);
  font-size: 3rem;
  margin: 10px 0 20px;
}

.quiz-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  color: var(--accent-color);
  font-weight: 600;
}

.form-group input,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-color);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--accent-color);
}

.form-group input::placeholder {
  color: #ccc;
  font-style: italic;
  font-size: 1rem;
}

/* Стилизация кнопки */
.form-footer {
  margin-top: 60px;
  text-align: center;
}

.quiz-button {
  background: var(--accent-color);
  color: var(--bg-white);
  border: none;
  padding: 20px 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.quiz-button:hover {
  background: var(--text-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-note {
  margin-top: 25px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-container {
    padding: 40px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .quiz-title {
    font-size: 2.2rem;
  }
}

/* ======================
   CONTACT FORM STYLES
   ====================== */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: flex-start;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Form Styles */
.editorial-form {
  background: var(--bg-white);
  padding: 60px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-color);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-bottom-color: var(--accent-color);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.label-minimal {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

/* Custom Checkboxes */
.custom-checkbox-container {
  display: flex;
  gap: 15px;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 1px solid var(--line-color);
  transition: all 0.3s;
}

.custom-checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent-color);
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checkbox-label strong {
  display: block;
  color: var(--text-primary);
}

.checkbox-label small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Alerts */
.success-layer {
  background: #f4f9f4;
  color: #2e7d32;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #2e7d32;
}
.error-layer {
  background: #fff5f5;
  color: #c62828;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #c62828;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  margin-top: 20px;
}

.form-disclaimer {
  margin-top: 25px;
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .editorial-form {
    padding: 30px;
  }
}

.form-group + .form-group {
  margin-top: 20px;
}

/* ======================
   LEGAL PAGES STYLES
   ====================== */
.legal-header {
  padding: 100px 0 60px;
  background-color: var(--bg-paper);
  text-align: center;
  border-bottom: 1px solid var(--line-color);
}

.legal-main-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content {
  padding: 30px 0;
  line-height: 1.8;
  color: var(--text-primary);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.legal-contact-box {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--bg-paper);
  border-left: 3px solid var(--accent-color);
}

.legal-contact-box h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.final-note {
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 768px) {
  .legal-main-title {
    font-size: 2.5rem;
  }
  .legal-content h3 {
    font-size: 1.5rem;
  }
}
