/*
  3180 public home layout v0.7
  Только структура главной. Цвета и градиенты — в tokens/shared.
*/

html,
body {
  margin: 0;
  padding: 0;
}

body.epic-body {
  min-height: 100vh;
  background: var(--3180-bg-graphite);
  color: var(--3180-text-main);
  font-family: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 12%, rgba(77,183,232,0.07), transparent 22%),
    linear-gradient(180deg, var(--3180-bg-graphite-2) 0%, var(--3180-bg-graphite) 70%);
}

/* Header */

.site-header {
  width: min(90vw, 2200px);
  min-height: 106px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 320px) 1fr 44px;
  gap: clamp(18px, 2vw, 42px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(8,10,12,0.34), rgba(8,10,12,0.00));
}

/* Hero */

.hero-layout {
  width: min(90vw, 2200px);
  min-height: 720px;
  margin: 0 auto 34px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 0;
  background: var(--3180-bg-graphite);
  border-bottom: 1px solid var(--3180-line-soft);
  box-shadow: 0 26px 70px rgba(0,0,0,0.44);
}

.hero-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/static/img/hero/backgrounds/hero-bg-001-industrial-storm.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-layout::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5,7,7,0.98) 0%,
      rgba(5,7,7,0.94) 20%,
      rgba(5,7,7,0.78) 34%,
      rgba(5,7,7,0.38) 54%,
      rgba(5,7,7,0.10) 78%,
      rgba(5,7,7,0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5,7,7,0.38) 0%,
      rgba(5,7,7,0.02) 38%,
      rgba(5,7,7,0.42) 100%
    );
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
  padding: 74px 0 82px clamp(26px, 3.2vw, 68px);
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--3180-text-steel-light);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-title-image {
  width: min(520px, 30vw);
  max-width: 100%;
  margin: 0 0 4px -2px;
}

.hero-title-image img {
  display: block;
  width: 100%;
  height: auto;
  content: url("/static/img/hero/titles/hero-title-001-save-world-sakhalin-v5.webp");
  filter:
    drop-shadow(0 12px 22px rgba(0,0,0,0.72))
    drop-shadow(0 2px 1px rgba(0,0,0,0.88));
}

.title-line {
  width: 260px;
  height: 1px;
  margin: 22px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(214,199,175,0.82), rgba(214,199,175,0.42), transparent);
}

.hero-lead {
  margin: 0 0 8px;
  font-family: var(--3180-font-heading);
  color: var(--3180-text-main);
  font-size: 30px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.72);
}

.hero-text {
  margin: 0;
  color: var(--3180-text-muted);
  font-size: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.72);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-width: 210px;
  min-height: 52px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  font-family: var(--3180-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 13px;
  transition: 0.18s ease;
}

.btn-light {
  background: var(--3180-text-main);
  color: var(--3180-text-ink);
}

.btn-dark {
  border: 1px solid var(--3180-line-soft);
  background: rgba(0,0,0,0.25);
  color: var(--3180-text-main);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-art {
  display: none !important;
}.bottom-grid,
.site-footer {
  width: min(90vw, 2200px);
  margin: 0 auto 34px;
}

/* Bottom */

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 18px;
}

.info-panel {
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--3180-line-soft);
  background: rgba(255,255,255,0.03);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 16px;
}

.panel-head a {
  color: var(--3180-text-muted);
  font-family: var(--3180-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.list-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(214,199,175,0.10);
}

.mini-thumb {
  height: 64px;
  background: rgba(214,199,175,0.12);
}

.list-row p,
.info-panel p {
  margin: 0;
  line-height: 1.5;
}

.large-thumb,
.map-placeholder {
  height: 180px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  color: rgba(214,199,175,0.62);
  border: 1px dashed rgba(214,199,175,0.28);
  background: rgba(214,199,175,0.08);
}

/* Footer */

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.2fr 1.7fr 1fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--3180-line-soft);
  background: rgba(255,255,255,0.025);
}

.site-footer p {
  color: var(--3180-text-dust);
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1500px) and (min-width: 1101px) {
  .site-header {
    min-height: 132px;
    padding-top: 22px;
    padding-bottom: 14px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo mark"
      "nav nav";
    row-gap: 10px;
  }
}

@media (max-width: 1100px) {.site-header,
.hero-layout,
.bottom-grid,
.site-footer {
    width: min(94vw, 1280px);
  }

  .site-header {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 16px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 680px;
  }

  .hero-layout::before {
    background-position: center right;
  }

  .hero-layout::after {
    background:
      linear-gradient(90deg, rgba(5,7,7,0.98) 0%, rgba(5,7,7,0.86) 42%, rgba(5,7,7,0.44) 100%),
      linear-gradient(180deg, rgba(5,7,7,0.36) 0%, rgba(5,7,7,0.10) 44%, rgba(5,7,7,0.52) 100%);
  }

  .hero-copy {
    padding: 72px 28px 82px;
  }

  .hero-title-image {
    width: min(430px, 62vw);
    margin-left: 0;
  }.bottom-grid,
.site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .epic-body,
  .page {
    max-width: 100%;
    overflow-x: hidden;
  }.site-header,
.hero-layout,
.bottom-grid,
.site-footer {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 14px;
    row-gap: 14px;
  }

  .hero-layout {
    min-height: 640px;
  }

  .hero-layout::before {
    background-position: 64% center;
  }

  .hero-layout::after {
    background: rgba(5,7,7,0.76);
  }

  .hero-copy {
    padding: 58px 22px 68px;
  }

  .hero-title-image {
    width: min(290px, 78vw);
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .btn {
    width: 100%;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .list-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .large-thumb,
  .map-placeholder {
    width: 100%;
  }
}

@media (max-width: 420px) {.site-header,
.hero-layout,
.bottom-grid,
.site-footer {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
  }

  .hero-title-image {
    width: min(260px, 76vw);
  }

  .info-panel {
    padding: 14px;
  }

  .list-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }
}
