/* Файл: GeoMeld/css/styles.css */

:root {
  --geo-bg: #ddd4c5;
  --geo-bg-deep: #d2c8b7;
  --geo-surface: rgba(248, 244, 236, 0.86);
  --geo-surface-strong: rgba(255, 252, 246, 0.92);
  --geo-line: rgba(88, 99, 72, 0.18);
  --geo-line-strong: rgba(88, 99, 72, 0.28);
  --geo-text: #1e2a21;
  --geo-text-soft: #4d5a4d;
  --geo-text-muted: #657262;
  --geo-accent: #6f8457;
  --geo-accent-strong: #384c3f;
  --geo-accent-soft: #a9b88e;
  --geo-shadow: 0 24px 70px rgba(102, 85, 57, 0.14);
  --geo-radius-xl: 34px;
  --geo-radius-lg: 26px;
  --geo-radius-md: 18px;
  --geo-container: 1260px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--geo-text);
  background:
    radial-gradient(circle at 14% 18%, rgba(169, 184, 142, 0.28), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(111, 132, 87, 0.14), transparent 16%),
    linear-gradient(180deg, var(--geo-bg) 0%, var(--geo-bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(70, 84, 59, 0.05) 0 2px, transparent 2px 84px),
    linear-gradient(rgba(84, 99, 70, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 99, 70, 0.08) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none;
}

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

.page-shell {
  width: min(calc(100% - 40px), var(--geo-container));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.page-frame {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--geo-line);
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.96), rgba(238, 232, 222, 0.98)),
    radial-gradient(circle at top left, rgba(169, 184, 142, 0.1), transparent 24%);
  box-shadow: var(--geo-shadow);
}

.page-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(111, 132, 87, 0.05), transparent 36%, rgba(56, 76, 63, 0.05)),
    repeating-radial-gradient(circle at 50% 50%, rgba(74, 91, 63, 0.03) 0 2px, transparent 2px 120px);
  pointer-events: none;
}

.topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 34px 18px;
  border-bottom: 1px solid rgba(88, 99, 72, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f8f6ef;
  background: linear-gradient(135deg, var(--geo-accent-strong), var(--geo-accent));
  box-shadow: 0 14px 28px rgba(72, 89, 60, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tag {
  color: var(--geo-text-muted);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--geo-text-soft);
  border: 1px solid transparent;
  transition: 160ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--geo-text);
  background: rgba(111, 132, 87, 0.1);
  border-color: var(--geo-line);
}

.eyebrow,
.geo-card-label,
.geo-section-kicker,
.geo-usecase-tag,
.focus-label,
.contact-label,
.legal-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(111, 132, 87, 0.12);
  color: var(--geo-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease;
}

.button {
  color: #f8f6ef;
  background: linear-gradient(135deg, var(--geo-accent-strong), var(--geo-accent));
  box-shadow: 0 12px 24px rgba(79, 97, 67, 0.18);
}

.button-secondary {
  color: var(--geo-text);
  border: 1px solid var(--geo-line-strong);
  background: rgba(255, 255, 255, 0.5);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.geo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 32px;
  padding: 30px 34px 18px;
  align-items: start;
}

.geo-hero-copy {
  padding-top: 16px;
  min-width: 0;
}

.geo-hero h1,
.geo-story-header h2,
.geo-column h2,
.page-intro h1,
.contact-card h2,
.legal-title {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.06em;
}

.geo-hero h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 4.7vw, 5.1rem);
  line-height: 0.91;
}

.geo-lead,
.geo-sublead,
.geo-story-card p,
.geo-column p,
.geo-usecase p,
.geo-stage-card p,
.focus-card p,
.page-intro p,
.contact-card p,
.legal-card p,
.footer-note {
  color: var(--geo-text-soft);
  line-height: 1.8;
}

.geo-lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: 1.13rem;
}

.geo-sublead {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.geo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.geo-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 99, 72, 0.16);
  background: rgba(255, 255, 255, 0.46);
  color: #485646;
  font-size: 0.9rem;
  font-weight: 700;
}

.geo-stage {
  display: grid;
  gap: 18px;
}

.geo-stage-screen,
.geo-stage-card,
.geo-story-card,
.geo-column,
.geo-usecase,
.focus-card,
.contact-card,
.legal-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--geo-radius-xl);
  border: 1px solid var(--geo-line);
  background: linear-gradient(180deg, var(--geo-surface-strong), var(--geo-surface));
  box-shadow: 0 16px 42px rgba(109, 93, 67, 0.08);
}

.geo-stage-screen {
  min-height: 520px;
  background:
    radial-gradient(circle at 26% 22%, rgba(169, 184, 142, 0.34), transparent 15%),
    radial-gradient(circle at 72% 28%, rgba(111, 132, 87, 0.18), transparent 16%),
    radial-gradient(circle at 52% 65%, rgba(130, 149, 102, 0.18), transparent 18%),
    linear-gradient(180deg, #ece5d7, #d8d1c2);
}

.geo-stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 42% 38%, rgba(70, 84, 59, 0.06) 0 2px, transparent 2px 92px),
    linear-gradient(rgba(84, 99, 70, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 99, 70, 0.14) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.geo-gridlines,
.geo-orbit,
.geo-beam,
.geo-dot {
  position: absolute;
}

.geo-gridlines {
  inset: 12% 11%;
  border-radius: 46px;
  border: 1px solid rgba(88, 99, 72, 0.28);
  transform: rotate(-8deg);
}

.geo-orbit {
  border-radius: 50%;
  border: 1px solid rgba(88, 99, 72, 0.26);
}

.orbit-a {
  width: 320px;
  height: 320px;
  left: 8%;
  top: 6%;
}

.orbit-b {
  width: 220px;
  height: 220px;
  right: 9%;
  top: 14%;
}

.orbit-c {
  width: 260px;
  height: 260px;
  right: 8%;
  bottom: 8%;
}

.geo-beam {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 120, 80, 0.62), transparent);
}

.beam-a {
  width: 58%;
  left: 18%;
  top: 26%;
  transform: rotate(-13deg);
}

.beam-b {
  width: 42%;
  right: 12%;
  bottom: 24%;
  transform: rotate(10deg);
}

.geo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--geo-accent-strong), var(--geo-accent-soft));
  box-shadow: 0 0 0 10px rgba(111, 132, 87, 0.12);
}

.dot-a {
  left: 16%;
  top: 21%;
}

.dot-b {
  left: 56%;
  top: 19%;
}

.dot-c {
  left: 41%;
  top: 56%;
}

.dot-d {
  right: 17%;
  bottom: 18%;
}

.geo-stage-card {
  padding: 24px;
}

.geo-stage-card strong,
.geo-story-card h3,
.geo-usecase h3,
.contact-card h2 {
  display: block;
  margin: 12px 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--geo-text);
}

.geo-stage-card p {
  margin: 12px 0 0;
}

.content {
  padding: 8px 34px 42px;
}

.geo-story,
.geo-columns,
.geo-usecases,
.geo-closing,
.page-grid,
.legal-stack {
  margin-top: 36px;
}

.geo-story-header {
  max-width: 920px;
  margin-bottom: 22px;
}

.geo-story-header h2 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  line-height: 1.01;
}

.geo-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.geo-story-card,
.geo-column,
.geo-usecase,
.focus-card,
.contact-card,
.legal-card {
  padding: 26px;
}

.geo-story-card h3,
.geo-usecase h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.geo-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
}

.geo-column-large h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.geo-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.geo-list li {
  position: relative;
  padding-left: 18px;
  color: #4c594b;
  line-height: 1.76;
}

.geo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--geo-accent-strong), var(--geo-accent-soft));
}

.geo-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.geo-usecase-tag {
  margin-bottom: 14px;
}

.focus-card {
  max-width: 980px;
  background: linear-gradient(180deg, rgba(55, 79, 62, 0.94), rgba(40, 58, 45, 0.98));
  border-color: rgba(64, 82, 60, 0.26);
}

.focus-card,
.focus-card p {
  color: #f3f0e7;
}

.focus-card .focus-label {
  background: rgba(255, 255, 255, 0.08);
  color: #eff2e6;
}

.page-intro {
  max-width: 820px;
  padding: 64px 34px 0;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.03;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  padding: 0 34px;
}

.contact-list,
.legal-stack {
  display: grid;
  gap: 18px;
}

.contact-item {
  padding: 18px;
  border-radius: var(--geo-radius-md);
  border: 1px solid rgba(88, 99, 72, 0.12);
  background: rgba(255, 255, 255, 0.46);
}

.contact-value {
  margin-top: 8px;
  color: var(--geo-text);
  line-height: 1.7;
}

.legal-stack {
  padding: 0 34px;
}

.legal-title {
  font-size: 1.12rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding: 24px 34px 34px;
  border-top: 1px solid rgba(88, 99, 72, 0.14);
  color: var(--geo-text-muted);
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-nav a:hover {
  color: var(--geo-text);
}

@media (max-width: 1120px) {
  .geo-hero,
  .geo-story-grid,
  .geo-columns,
  .geo-usecase-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .geo-hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--geo-container));
    padding: 10px 0 20px;
  }

  .topbar,
  .content,
  .page-intro,
  .page-grid,
  .legal-stack,
  .footer,
  .geo-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .geo-stage-screen {
    min-height: 320px;
  }

  .geo-story-card,
  .geo-column,
  .geo-usecase,
  .focus-card,
  .contact-card,
  .legal-card,
  .geo-stage-card {
    padding: 20px;
  }
}
