:root {
  --bg: #f4f4f0; /* Светлый бежевый/серый */
  --text: #1a1a1a; /* Почти черный */
  --accent: #ff4d00; /* Интернациональный оранжевый */
  --line: #d1d1d1;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* Background Lines */
.bg-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
}

.line {
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  padding: 0 40px;
}

/* HEADER SWISS STYLE */
.header-swiss {
  position: fixed;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(244, 244, 240, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid var(--text);
  padding: 0 30px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dot {
  color: var(--accent);
}

.menu-trigger {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
}

.m-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.menu-trigger:hover .m-icon span:nth-child(2) {
  width: 16px;
}

.btn-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-circle:hover {
  background: var(--accent);
  transform: rotate(45deg);
}

/* Fullscreen Menu */
.fs-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--accent);
  color: #fff;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.fs-menu.active {
  transform: translateY(0);
}

.fs-close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  background: #fff;
  color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fs-nav a {
  font-family: var(--font-heading);
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
}

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

.fs-nav .num {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  margin-top: 10px;
}

/* HERO */
.hero-gravity {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  border-left: 2px solid var(--accent);
  padding-left: 15px;
}

h1 {
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 0.9;
  font-weight: 700;
  margin-bottom: 40px;
}

.accent-bg {
  background: var(--accent);
  color: #fff;
  padding: 0 10px;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 500px;
  border-top: 1px solid var(--text);
  padding-top: 30px;
}

.hero-image {
  position: relative;
}

.img-mask {
  overflow: hidden;
  height: 600px;
  width: 100%;
  /* Asymmetric border radius */
  border-radius: 200px 0 0 0;
}

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

.floating-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: #fff;
  padding: 20px 40px;
  border: 1px solid var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 10px 10px 0 var(--text);
}

/* MARQUEE */
.marquee-section {
  background: var(--text);
  color: #fff;
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 5px solid var(--accent);
  border-bottom: 5px solid var(--accent);
}

.track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.track span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-right: 40px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* MANIFESTO */
.sec-manifesto {
  padding: 120px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

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

.big-p {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.stat-row {
  display: flex;
  gap: 60px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

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

.s-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  font-weight: 700;
}

.s-lbl {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* SERVICES */
.sec-services {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
}

.sec-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.idx {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
}

.sec-header h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.srv-card {
  background: var(--bg);
  padding: 40px;
  border: 1px solid transparent;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.srv-card:hover {
  border-color: var(--text);
  transform: translateY(-10px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.c2 {
  margin-top: 50px; /* Staggered effect */
}

.c3 {
  margin-top: 100px;
}

.srv-icon {
  margin-bottom: 20px;
  color: var(--accent);
}

.srv-card h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.link-arrow {
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* VISUAL BREAK */
.sec-visual {
  position: relative;
  height: 600px;
  overflow: hidden;
}

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

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  mix-blend-mode: difference;
}

.overlay-text h2 {
  font-family: var(--font-heading);
  font-size: 10rem;
  line-height: 0.8;
}

/* PROCESS */
.sec-process {
  padding: 120px 0;
}

.process-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.step-line {
  width: 1px;
  height: 60px;
  background: var(--line);
  margin-left: 15px; /* Half of num width approx */
  margin-top: 10px;
  margin-bottom: 10px;
}

/* BLOG */
.sec-blog {
  padding: 100px 0;
  background: var(--text);
  color: #fff;
}

.sec-blog .sec-header {
  border-color: rgba(255, 255, 255, 0.2);
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  transition: 0.3s;
  cursor: pointer;
}

.blog-item:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 20px;
}

.b-date,
.b-cat {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: #888;
}

.b-title {
  font-size: 1.5rem;
  font-weight: 500;
}

.b-cat {
  text-align: right;
  color: var(--accent);
}

/* FAQ */
.sec-faq {
  padding: 120px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.faq-head h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
}

.faq-group {
  border-bottom: 2px solid var(--text);
  margin-bottom: 20px;
}

.faq-group summary {
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-body {
  padding-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

/* FORM */
.sec-contact {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid var(--text);
}

.contact-box {
  border: 4px solid var(--text);
  padding: 60px;
  background: var(--bg);
  box-shadow: 20px 20px 0 var(--accent);
}

.cb-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.cb-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  white-space: nowrap;
}

.cb-line {
  height: 4px;
  background: var(--text);
  width: 100%;
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.input-wrap {
  display: flex;
  flex-direction: column;
}

.input-wrap label {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.input-wrap input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  padding: 15px 0;
  font-size: 1.2rem;
  font-family: var(--font-body);
}

.input-wrap input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.check-wrap {
  font-size: 0.8rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-wrap a {
  text-decoration: underline;
  font-weight: 700;
}

.btn-submit {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 20px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.btn-submit:hover {
  background: var(--accent);
}

/* FOOTER */
.footer-swiss {
  background: #fff;
  padding: 80px 0 20px;
  border-top: 1px solid var(--text);
}

.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.f-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.f-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  color: #888;
}

.f-col ul li {
  margin-bottom: 10px;
}

.f-col ul li a:hover {
  color: var(--accent);
}

.c-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.f-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
}

/* COOKIE */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 15px 0;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 5000;
  font-family: var(--font-heading);
}

#cookieOk {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 5px 20px;
  font-weight: 700;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .header-swiss {
    left: 0;
    right: 0;
    top: 0;
    border: none;
    border-bottom: 1px solid var(--text);
  }

  .m-title h2 {
    font-size: 3rem;
  }

  .container-fluid {
    padding: 0 10px;
  }

  .fs-nav a {
    font-size: 1.5rem;
  }

  .hero-gravity {
    padding-top: 120px;
  }

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

  h1 {
    font-size: 3.5rem;
  }

  .img-mask {
    border-radius: 0;
    height: 400px;
  }

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

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

  .c2,
  .c3 {
    margin-top: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .blog-item {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 10px;
  }

  .cb-header h2 {
    font-size: 2rem;
  }

  .overlay-text {
    display: none;
  }

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

  .contact-box {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
