@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --black: #08090a;
  --dark: #101215;
  --dark2: #17191d;
  --white: #f7f7f5;
  --gray: #8e9299;
  --light: #f2f2ef;
  --line: #deded9;
  --yellow: #ffb900;
  --yellow2: #ffc72c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: #111;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* HEADER */

.header {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
  color: white;
}

.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-lightning {
  color: var(--yellow);
  margin-right: 6px;
}

.logo span:last-child span {
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: #bfc1c4;
  font-size: 12px;
  transition: 0.2s;
}

.nav a:hover {
  color: var(--yellow);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-contact span {
  font-size: 9px;
  color: #777;
}

.header-contact a {
  font-size: 14px;
  font-weight: 800;
}

.burger {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  width: 35px;
  z-index: 102;
}

.burger span {
  display: block;
  height: 2px;
  background: white;
  margin: 6px 0;
  transition: 0.25s;
}

/* HERO */

.hero {
  min-height: 790px;
  position: relative;
  overflow: hidden;
  color: white;
  background: #08090a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(255, 185, 0, 0.13),
      transparent 30%
    ),
    linear-gradient(120deg, #070809, #14161a);
}

.hero-grid {
  position: relative;
  min-height: 790px;
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.eyebrow,
.section-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--yellow);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.eyebrow span {
  width: 35px;
  height: 1px;
  background: var(--yellow);
}

.hero h1 {
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: -5px;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  color: #9a9da2;
  font-size: 15px;
  line-height: 1.8;
  margin: 30px 0;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.btn {
  min-height: 56px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.btn-yellow {
  background: var(--yellow);
  color: #111;
}

.btn-yellow:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
}

.btn-dark {
  color: white;
  border-color: #35373a;
}

.btn-dark:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero-points {
  display: flex;
  gap: 45px;
  margin-top: 65px;
}

.hero-points div {
  display: flex;
  gap: 10px;
}

.hero-points strong {
  color: var(--yellow);
  font-size: 12px;
}

.hero-points span {
  color: #777b81;
  font-size: 9px;
  line-height: 1.3;
}

/* HERO VISUAL */

.hero-visual {
  height: 520px;
  position: relative;
  border: 1px solid #292c30;
  background: #0d0f11;
  overflow: hidden;
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 45px 45px;
}

.electric-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  border: 1px solid #805d00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 100px #ffb90018;
}

.electric-symbol span {
  color: var(--yellow);
  font-size: 85px;
}

.visual-label {
  position: absolute;
  font-size: 8px;
  letter-spacing: 2px;
  color: #666b70;
}

.label-top {
  top: 25px;
  left: 25px;
}

.label-bottom {
  bottom: 25px;
  right: 25px;
}

.wire {
  height: 1px;
  position: absolute;
  background: var(--yellow);
  box-shadow: 0 0 12px #ffb900;
}

.wire-one {
  width: 45%;
  top: 28%;
  left: -5%;
  transform: rotate(25deg);
}

.wire-two {
  width: 50%;
  top: 68%;
  right: -5%;
  transform: rotate(-30deg);
}

.wire-three {
  width: 35%;
  top: 52%;
  left: 10%;
  transform: rotate(-8deg);
}

/* GENERAL */

.section {
  padding: 120px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 60px;
}

.section-top h2,
.about-content h2,
.advantages-section h2,
.process h2,
.cta h2,
.contacts h2 {
  margin-top: 18px;
  font-size: clamp(43px, 5vw, 65px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.section-top h2 span,
.about-content h2 span,
.advantages-section h2 span,
.process h2 span,
.cta h2 span,
.contacts h2 span {
  color: var(--yellow);
}

.section-top > p {
  max-width: 430px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

/* SERVICES */

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.service-card {
  padding: 32px;
  border: 1px solid var(--line);
  min-height: 490px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.service-card.featured {
  color: white;
  background: var(--dark);
  border-color: var(--dark);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: #999;
}

.service-icon {
  color: var(--yellow);
  font-size: 30px;
}

.card-top > span:last-child {
  font-size: 10px;
}

.service-card h3 {
  margin-top: 55px;
  font-size: 27px;
}

.service-card > p {
  color: #777;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 13px;
  min-height: 82px;
}

.featured > p {
  color: #8c8f95;
}

.service-list {
  margin-top: 30px;
}

.service-list span {
  display: block;
  border-top: 1px solid #ddd;
  padding: 11px 0;
  font-size: 10px;
}

.featured .service-list span {
  border-color: #292c30;
  color: #bbb;
}

.service-list span::before {
  content: "✓";
  color: var(--yellow);
  margin-right: 8px;
}

/* ABOUT */

.about {
  background: #e9e9e5;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.about-image {
  height: 550px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #34383d, #101215 60%);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff07 1px, transparent 1px),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-placeholder span {
  font-size: 150px;
  color: var(--yellow);
  filter: drop-shadow(0 0 40px #ffb90055);
}

.about-placeholder small {
  color: #777;
  letter-spacing: 5px;
  font-size: 10px;
}

.about-stamp {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 105px;
  height: 105px;
  border: 1px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-stamp strong {
  font-size: 25px;
}

.about-stamp span {
  font-size: 7px;
  letter-spacing: 2px;
}

.about-content .section-number {
  color: #777;
}

.about-content .lead {
  font-size: 18px;
  line-height: 1.6;
  margin: 30px 0 15px;
}

.about-content > p {
  color: #666;
  max-width: 580px;
  font-size: 13px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 45px;
  border-top: 1px solid #ccc;
}

.stats div {
  padding: 25px 10px 0 0;
  display: flex;
  gap: 12px;
}

.stats strong {
  color: #a27800;
}

.stats span {
  color: #666;
  font-size: 10px;
}

/* ADVANTAGES */

.advantages-section {
  padding: 120px 0;
  color: white;
  background: #0c0e10;
}

.advantages-section h2 {
  margin-bottom: 65px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #292c30;
}

.advantage {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 25px;
  padding: 35px 20px;
  border-bottom: 1px solid #292c30;
}

.advantage:nth-child(odd) {
  border-right: 1px solid #292c30;
}

.advantage > span {
  color: var(--yellow);
  font-size: 10px;
}

.advantage h3 {
  font-size: 19px;
}

.advantage p {
  color: #777;
  font-size: 11px;
  margin-top: 8px;
  max-width: 330px;
}

/* PORTFOLIO */

.portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 15px;
}

.portfolio-card {
  height: 380px;
  overflow: hidden;
}

.portfolio-photo {
  height: 100%;
  position: relative;
  background:
    linear-gradient(to top, #080909 5%, transparent 65%),
    linear-gradient(135deg, #3c4045, #111317);
  transition: 0.4s;
}

.portfolio-card:hover .portfolio-photo {
  transform: scale(1.03);
}

.photo-two {
  background:
    linear-gradient(to top, #080909 5%, transparent 65%),
    linear-gradient(135deg, #575b60, #181a1e);
}

.photo-three {
  background:
    linear-gradient(to top, #080909 5%, transparent 65%),
    linear-gradient(135deg, #303338, #101214);
}

.portfolio-info {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
}

.portfolio-info small {
  display: block;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.portfolio-info strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
}

/* PROCESS */

.process {
  background: #e9e9e5;
}

.process-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.process-heading p {
  color: #777;
  font-size: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-item {
  min-height: 245px;
  padding: 25px;
  border-top: 1px solid #bbb;
  border-left: 1px solid #ccc;
}

.process-item:last-child {
  border-right: 1px solid #ccc;
}

.process-number {
  color: #a77b00;
  font-size: 10px;
  font-weight: 800;
}

.process-item h3 {
  margin-top: 65px;
  font-size: 18px;
}

.process-item p {
  color: #777;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 10px;
}

/* CTA */

.cta {
  padding: 120px 0;
  color: white;
  background: #101215;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
}

.cta p {
  max-width: 480px;
  color: #85888e;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 30px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form label {
  color: #888;
  font-size: 10px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 7px;
  padding: 15px;
  color: white;
  background: #181b1f;
  border: 1px solid #2a2d31;
  border-radius: 6px;
  outline: none;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--yellow);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form small {
  color: #555;
  font-size: 9px;
}

/* CONTACTS */

.contacts {
  background: #e9e9e5;
}

.contacts h2 {
  margin-bottom: 60px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #ccc;
}

.contact-card {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card:first-child {
  border-left: 1px solid #ccc;
}

.contact-card span {
  color: #888;
  font-size: 9px;
  letter-spacing: 1px;
}

.contact-card strong {
  font-size: 19px;
}

.contact-card small {
  color: #9b7200;
  font-weight: 700;
  font-size: 10px;
}

.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
}

.contact-bottom div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-bottom span {
  color: #888;
  font-size: 9px;
}

.contact-bottom strong {
  font-size: 13px;
}

/* FOOTER */

.footer {
  background: #08090a;
  color: #777;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p,
.footer a {
  font-size: 10px;
}

.footer a:last-child {
  color: var(--yellow);
}

/* MOBILE BAR */

.mobile-bar {
  display: none;
}

/* MOBILE */
@media (max-width: 900px) {
  * {
    max-width: 100%;
  }

  .container {
    width: calc(100% - 30px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* HEADER */

  .header-inner {
    width: 100%;
    height: 75px;
  }

  .header-contact {
    display: none;
  }

  .burger {
    display: block;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    background: #08090a;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 28px;

    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.mobile-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 22px;
    color: white;
  }

  /* HERO */

  .hero {
    width: 100%;
    min-height: auto;
    padding: 110px 0 60px;
    overflow: hidden;
  }

  .hero-grid {
    width: 100%;
    min-height: auto;
    padding: 0;
    display: block;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 14vw, 72px);
    line-height: 0.92;
    letter-spacing: -3px;
    word-break: normal;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
  }

  .hero-points div {
    min-width: 0;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin-top: 45px;
  }

  /* SECTIONS */

  .section {
    width: 100%;
    padding: 75px 0;
    overflow: hidden;
  }

  .section-top {
    width: 100%;
    display: block;
  }

  .section-top h2,
  .about-content h2,
  .advantages-section h2,
  .process h2,
  .cta h2,
  .contacts h2 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -3px;
    overflow-wrap: break-word;
  }

  /* SERVICES */

  .services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-card {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 25px;
  }

  .service-card > p {
    min-height: 0;
  }

  /* ABOUT */

  .about-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    width: 100%;
    height: 330px;
  }

  .about-content {
    width: 100%;
    min-width: 0;
  }

  .about-content p {
    max-width: 100%;
  }

  .stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  /* ADVANTAGES */

  .advantages-section {
    width: 100%;
    overflow: hidden;
  }

  .advantages-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .advantage {
    width: 100%;
    min-width: 0;
    border-right: 0 !important;
  }

  /* PORTFOLIO */

  .portfolio-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-card {
    width: 100%;
    min-width: 0;
    height: 270px;
  }

  .portfolio-card:first-child {
    grid-column: span 2;
  }

  /* PROCESS */

  .process-heading {
    width: 100%;
    display: block;
  }

  .process-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .process-item {
    width: 100%;
    min-height: 160px;
    border-right: 1px solid #ccc;
  }

  /* CTA */

  .cta {
    width: 100%;
    overflow: hidden;
  }

  .cta-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .form {
    width: 100%;
    min-width: 0;
  }

  .form input,
  .form textarea,
  .form select {
    width: 100%;
    max-width: 100%;
  }

  /* CONTACTS */

  .contacts-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .contact-card {
    width: 100%;
    min-width: 0;
  }

  .contact-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .contact-bottom .btn {
    width: 100%;
  }

  /* FOOTER */

  .footer {
    width: 100%;
    padding-bottom: 85px;
    overflow: hidden;
  }

  .footer-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-points {
    gap: 6px;
  }

  .hero-points strong {
    font-size: 10px;
  }

  .hero-points span {
    font-size: 7px;
  }

  .hero-visual {
    height: 270px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card:first-child {
    grid-column: auto;
  }

  .portfolio-card {
    height: 260px;
  }

  .stats {
    gap: 8px;
  }

  .stats div {
    display: block;
  }

  .stats span {
    display: block;
    margin-top: 7px;
  }
}
html {
  overflow-x: hidden !important;
  width: 100%;
}

body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }

  * {
    max-width: 100%;
  }

  .container,
  .header-inner,
  .hero-grid,
  .hero-content,
  .hero-visual,
  .section,
  .about-grid,
  .about-content,
  .services-grid,
  .service-card,
  .advantages-section,
  .advantages-grid,
  .advantage,
  .portfolio,
  .portfolio-grid,
  .portfolio-card,
  .process,
  .process-grid,
  .process-item,
  .cta,
  .cta-grid,
  .form,
  .contacts,
  .contacts-grid,
  .contact-card,
  .footer {
    max-width: 100%;
    min-width: 0;
  }

  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }
}
