/* ========================================
   PASYAKIN SYSTEM - HOME PAGE
   ======================================== */

/* Hero Section */
.hero-section {
  padding: 100px 82px 60px;
  background: #F1F1F1;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  margin-bottom: 60px;
}

.hero-main-title {
  font-family: 'Luxerie', sans-serif;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 3.84px;
  color: #000;
  margin-bottom: 12px;
  line-height: normal;
}

.hero-subtitle {
  font-family: 'Maven Pro', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #474646;
  margin: 0;
}

/* Four Cards */
.four-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #D2D2D3;
  max-width: 1278px;
  margin: 0 auto 60px;
}

.card-four {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 39px 23px;
  background: #F1F1F1;
  text-decoration: none;
  transition: background 200ms ease;
  border-right: 1px solid #D2D2D3;
}

.card-four:last-child {
  border-right: none;
}

.card-four:hover {
  background: #E5E3E3;
}

.card-title {
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #474646;
  margin: 0 0 6px;
}

.card-subtitle {
  font-family: 'Maven Pro', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #919190;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

/* Hero Description */
.hero-description {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-description p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #474646;
  margin-bottom: 12px;
  line-height: 1.6;
}

.strukture-title {
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #000;
  margin-top: 32px;
}

/* Section Headings */
.section-heading {
  font-family: 'Luxerie', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #000;
  margin: 0 0 8px;
  line-height: normal;
}

.section-intro {
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #474646;
  margin-bottom: 48px;
  line-height: 1.6;
}

.intro-brand {
  font-family: 'Luxerie', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #474646;
}

/* Section divider line */
.section-divider {
  width: 100%;
  height: 1px;
  background: #989CA0;
  margin-bottom: 40px;
}

/* Sections */
.probatum-section,
.method-section,
.system-section,
.access-section,
.about-section,
.contact-section {
  padding: 60px 82px;
  background: #F1F1F1;
  border-top: 1px solid #989CA0;
  max-width: 1440px;
  margin: 0 auto;
}

/* Structure Grid */
.structure-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  max-width: 1278px;
  margin: 32px auto 48px;
  align-items: start;
}

.structure-title-block h3 {
  font-family: 'Luxerie', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #000;
  margin: 0;
  letter-spacing: 2px;
}

.structure-diagram {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 20px;
}

.structure-diagram::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #D2D2D3;
}

.structure-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
}

.structure-line {
  position: absolute;
  left: -20px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #D2D2D3;
}

.structure-label {
  font-family: 'Maven Pro', sans-serif;
  font-weight: 400;
  color: #000;
  font-size: 18px;
  white-space: nowrap;
}

.structure-sep {
  color: #000;
  font-weight: 400;
}

.structure-desc {
  font-family: 'Maven Pro', sans-serif;
  font-weight: 400;
  color: #474646;
  font-size: 18px;
  line-height: 1.5;
}

/* Dark Box */
.dark-box {
  background: #252525;
  padding: 52px 40px;
  text-align: center;
  margin: 48px auto 0;
  max-width: 1278px;
  position: relative;
}

.dark-box::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 0.5px solid #919190;
  pointer-events: none;
}

.dark-box p {
  margin-bottom: 12px;
  font-family: 'Maven Pro', sans-serif;
}

.dark-box-label {
  font-size: 18px;
  font-weight: 400;
  color: #919190;
}

.dark-box-emphasis {
  font-size: 20px;
  font-weight: 500;
  color: #D4D4D4;
  margin-top: 8px;
}

/* Method Grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #D2D2D3;
  max-width: 1278px;
  margin: 0 auto 48px;
}

.method-card {
  padding: 60px 40px;
  text-align: left;
  position: relative;
  border-right: 1px solid #D2D2D3;
}

.method-card:last-child {
  border-right: none;
}

.method-card--dark {
  background: #252525;
}

.method-card--light {
  background: #F1F1F1;
}

.method-card--dark .method-title,
.method-card--dark .method-text {
  color: rgba(255, 255, 255, 0.9);
}

.method-card--dark .method-number {
  color: rgba(255, 255, 255, 0.5);
}

.method-number {
  display: block;
  font-family: 'Maven Pro', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #919190;
  margin-bottom: 20px;
  text-align: right;
}

.method-title {
  font-family: 'Luxerie', sans-serif;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #000;
  line-height: normal;
}

.method-text {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #474646;
}

/* Wide Box */
.wide-box {
  border: 1px solid #D2D2D3;
  padding: 36px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 1278px;
  background: #F1F1F1;
}

.wide-box p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #474646;
  margin: 0;
  line-height: 1.6;
}

/* System Flow */
.system-flow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0 auto 32px;
  max-width: 1278px;
}

.flow-box {
  border: 0.5px solid #474646;
  padding: 31px 40px;
  text-align: center;
  min-width: 200px;
  background: #F1F1F1;
}

.flow-box p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #474646;
  line-height: 1.74;
  margin: 0;
}

.flow-arrow-box {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.flow-arrow {
  display: block;
  overflow: visible;
}

.system-note {
  text-align: center;
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #474646;
  margin: 32px auto 48px;
  max-width: 1278px;
}

/* System Grid */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1278px;
  margin: 0 auto 48px;
}

.system-card {
  background: #E5E3E3;
  padding: 42px 120px 53px;
}

.system-card:first-child {
  border-right: 1px solid #D2D2D3;
}

.system-card h3 {
  font-family: 'Luxerie', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #000;
  margin-bottom: 24px;
  line-height: normal;
}

.system-card p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #474646;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: justify;
}

.via-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.via-list li {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #474646;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.via-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 10px;
  top: 3px;
  color: #474646;
}

.house-note {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #474646;
  margin-top: 24px;
  text-align: justify;
}

/* Access Grid */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid #D3D2D3;
  max-width: 1278px;
  margin: 32px auto 32px;
}

.access-list-yes,
.access-list-no {
  background: #F1F1F1;
  padding: 61px 46px 60px;
}

.access-list-yes {
  border-right: 0.5px solid #D3D2D3;
}

.access-list-yes p,
.access-list-no p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #474646;
  margin-bottom: 34px;
  line-height: normal;
}

.access-list-yes p:last-child,
.access-list-no p:last-child {
  margin-bottom: 0;
}

.check-mark {
  color: #474646;
  flex-shrink: 0;
}

.cross-mark {
  color: #474646;
  flex-shrink: 0;
}

.access-note {
  text-align: center;
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin: 32px auto 0;
  max-width: 1278px;
}

.access-note .intro-brand {
  font-size: 32px;
  color: #000;
}

/* About Grid */
.about-grid {
  display: flex;
  align-items: flex-start;
  gap: 99px;
  max-width: 1278px;
  margin: 40px auto 24px;
}

.about-main {
  flex: 0 0 513px;
}

.about-divider {
  width: 1px;
  background: #D3D2D3;
  align-self: stretch;
  flex-shrink: 0;
}

.about-name {
  font-family: 'Luxerie', sans-serif;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 3.84px;
  color: #252525;
  margin-bottom: 16px;
  line-height: normal;
}

.about-desc {
  font-family: 'Maven Pro', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #474646;
  line-height: 1.6;
  text-align: justify;
}

.about-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-item {
  border: 0.5px solid #919190;
  padding: 25px 20px;
  font-family: 'Maven Pro', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #252525;
  text-align: center;
  background: #F1F1F1;
  transition: background 200ms ease;
}

.about-item:hover {
  background: #E5E3E3;
}

.about-core {
  max-width: 1278px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #474646;
  line-height: 1.6;
}

/* Contact Section */
.contact-intro {
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #474646;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 900px;
}

.contact-email {
  display: inline-block;
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.contact-email:hover {
  opacity: 0.6;
}

.contact-note {
  display: block;
  margin-top: 24px;
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #474646;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-section,
  .probatum-section,
  .method-section,
  .system-section,
  .access-section,
  .about-section,
  .contact-section {
    padding-left: 40px;
    padding-right: 40px;
  }

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

  .card-four:nth-child(2) {
    border-right: none;
  }

  .structure-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .structure-diagram {
    padding-left: 0;
  }

  .structure-diagram::before {
    display: none;
  }

  .structure-item {
    flex-wrap: wrap;
    gap: 4px;
  }

  .structure-line {
    display: none;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    border-right: none;
    border-bottom: 1px solid #D2D2D3;
  }

  .method-card:last-child {
    border-bottom: none;
  }

  .system-flow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-card:first-child {
    border-right: none;
    border-bottom: 1px solid #D2D2D3;
  }

  .about-grid {
    flex-direction: column;
    gap: 32px;
  }

  .about-main {
    flex: none;
    width: 100%;
  }

  .about-divider {
    width: 100%;
    height: 1px;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-list-yes {
    border-right: none;
    border-bottom: 0.5px solid #D3D2D3;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 24px 48px;
  }

  .hero-main-title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .four-cards {
    grid-template-columns: 1fr;
  }

  .card-four {
    border-right: none;
    border-bottom: 1px solid #D2D2D3;
  }

  .card-four:last-child {
    border-bottom: none;
  }

  .section-heading {
    font-size: 32px;
  }

  .intro-brand {
    font-size: 26px;
  }

  .probatum-section,
  .method-section,
  .system-section,
  .access-section,
  .about-section,
  .contact-section {
    padding: 48px 24px;
  }

  .dark-box {
    padding: 40px 24px;
  }

  .dark-box::before {
    inset: 6px;
  }

  .method-card {
    padding: 48px 24px;
  }

  .method-title {
    font-size: 32px;
  }

  .system-card {
    padding: 40px 32px;
  }

  .about-name {
    font-size: 40px;
  }

  .about-item {
    font-size: 18px;
    padding: 20px 16px;
  }

  .access-list-yes,
  .access-list-no {
    padding: 40px 24px;
  }

  .flow-box {
    min-width: 140px;
    padding: 24px 20px;
  }

  .flow-box p {
    font-size: 18px;
  }
}

@media (max-width: 375px) {
  .hero-main-title {
    font-size: 32px;
  }

  .section-heading {
    font-size: 26px;
  }

  .method-title {
    font-size: 28px;
  }

  .about-name {
    font-size: 32px;
  }
}
