/* Vostok Electric - One-page premium website */
:root {
  --midnight: #0B1220;
  --navy: #17212D;
  --copper: #B87333;
  --orange: #E07A3A;
  --cyan: #0EA5B7;
  --steel: #BFC6CC;
  --white: #F7FAFC;
  --ink: #08111D;
  --light: #F4F6F8;
  --muted: #BFC6CC;
  --dark-line: rgba(191, 198, 204, .14);
  --shadow: 0 22px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(14, 165, 183, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 183, .035) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(14, 165, 183, .14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(184, 115, 51, .18), transparent 24%),
    var(--midnight);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 38px;
  background: rgba(6, 13, 22, .87);
  border-bottom: 1px solid rgba(191, 198, 204, .12);
  backdrop-filter: blur(16px);
}

.brand {
  width: 186px;
  flex: 0 0 auto;
}

.brand img {
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav a {
  color: var(--white);
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}

.main-nav a:hover {
  color: var(--cyan);
  opacity: 1;
}

.header-cta {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--cyan);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.header-cta:hover {
  background: rgba(14, 165, 183, .16);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 685px;
  padding: 152px 0 0;
  overflow: hidden;
  background: var(--midnight);
}

.hero-image {
  position: absolute;
  inset: 72px 0 auto 42%;
  height: 430px;
}

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

.hero-overlay {
  position: absolute;
  inset: 72px 0 0;
  background:
    linear-gradient(90deg, rgba(6, 13, 22, .98) 0%, rgba(6, 13, 22, .88) 37%, rgba(6, 13, 22, .30) 100%),
    linear-gradient(0deg, rgba(6,13,22,1) 0%, rgba(6,13,22,.25) 56%, rgba(6,13,22,.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.line-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.line-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--cyan);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.02;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .055em;
}

h1::first-line {
  color: var(--white);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: .02em;
}

.hero-lead {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--white);
  opacity: .92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #087E8F);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(14, 165, 183, .26);
}

.btn-secondary {
  background: rgba(6, 13, 22, .42);
  border-color: var(--cyan);
  color: var(--white);
}

.btn-icon {
  color: var(--white);
  opacity: .9;
}

.hero-values {
  position: relative;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(6, 13, 22, .80);
  border: 1px solid rgba(191, 198, 204, .14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-values article {
  min-height: 118px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-right: 1px solid rgba(191, 198, 204, .12);
}

.hero-values article:last-child {
  border-right: 0;
}

.value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(14, 165, 183, .45);
  font-size: 23px;
}

.hero-values strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-values p {
  margin: 0;
  color: var(--white);
  line-height: 1.42;
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.light-section {
  background: var(--light);
  color: var(--ink);
}

.dark-section {
  background: #07101A;
  color: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.copy-dark h2,
.dark-heading h2 {
  color: var(--ink);
}

.copy-dark .eyebrow,
.dark-heading .eyebrow {
  color: var(--cyan);
}

.copy-dark h2,
.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.copy-dark p {
  color: #162132;
  font-size: 16px;
  line-height: 1.72;
}

.accent-line {
  width: 34px;
  height: 2px;
  background: var(--cyan);
  margin: 22px 0 26px;
}

.photo-card {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(8, 17, 29, .18);
}

.photo-card img {
  width: 100%;
  height: 316px;
  object-fit: cover;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2 {
  color: var(--white);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  background: #071421;
  border: 1px solid rgba(191, 198, 204, .12);
  min-height: 350px;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.service-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  opacity: .86;
}

.icon-badge {
  position: absolute;
  top: 112px;
  left: 25px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: #071421;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-size: 21px;
}

.card-body {
  padding: 42px 24px 24px;
}

.card-body h3 {
  margin-bottom: 15px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.card-body p {
  min-height: 90px;
  color: var(--steel);
  line-height: 1.56;
  font-size: 15px;
}

.card-body a {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
}

.compact-section {
  padding-top: 72px;
  padding-bottom: 78px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.features-grid div {
  background: #FFFFFF;
  border: 1px solid rgba(8, 17, 29, .10);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(8,17,29,.08);
}

.features-grid span {
  display: block;
  color: var(--cyan);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 22px;
}

.features-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: 13px;
  font-size: 18px;
}

.features-grid p {
  color: #405064;
  line-height: 1.6;
  margin: 0;
}

.process-section {
  background: #FAFBFC;
  color: var(--ink);
  padding-top: 58px;
  padding-bottom: 72px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  align-items: start;
}

.process-line div {
  position: relative;
  padding-top: 5px;
}

.process-line div::after {
  content: "";
  position: absolute;
  top: 38px;
  left: 70%;
  width: 56px;
  height: 1px;
  border-top: 1px dashed rgba(8,17,29,.42);
}

.process-line div:last-child::after {
  display: none;
}

.process-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--ink);
  font-size: 28px;
}

.process-line b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  font-size: 12px;
}

.process-line strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.process-line p {
  margin: 0;
  color: #465567;
  line-height: 1.45;
  font-size: 12px;
}

.sectors-section .two-col {
  grid-template-columns: .95fr 1.05fr;
}

.muted {
  color: var(--steel);
  line-height: 1.7;
  font-size: 16px;
}

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

.sector-tags span {
  padding: 13px 15px;
  background: rgba(23, 33, 45, .82);
  border: 1px solid rgba(191, 198, 204, .15);
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.contact-band {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
}

.contact-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  opacity: .72;
}

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

.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,13,22,.42), rgba(6,13,22,.98) 34%, rgba(6,13,22,1)),
    linear-gradient(rgba(14,165,183,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,183,.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.contact-content {
  position: relative;
  z-index: 2;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.2fr .75fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0;
}

.contact-content h2 {
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.12;
  margin: 0;
}

.contact-data {
  display: grid;
  gap: 14px;
  color: var(--white);
}

.contact-data a::before {
  content: "▸";
  color: var(--cyan);
  margin-right: 10px;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 12px 13px;
  background: rgba(6, 13, 22, .72);
  border: 1px solid rgba(191, 198, 204, .18);
  color: var(--white);
  font: inherit;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 183, .16);
}

.quote-form small {
  color: var(--steel);
  font-size: 12px;
  line-height: 1.4;
}

.site-footer {
  background: #050A11;
  border-top: 1px solid rgba(191,198,204,.12);
}

.footer-row {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--steel);
  font-size: 13px;
}

.footer-row p {
  margin: 0;
}

.footer-row a {
  color: var(--cyan);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--cyan), #087E8F);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(0,0,0,.32);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
    font-size: 11px;
  }

  .process-line {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .process-line div::after {
    display: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-image {
    width: 100%;
    opacity: .22;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
  }

  .brand {
    width: 158px;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(23, 33, 45, .8);
    border: 1px solid rgba(191, 198, 204, .14);
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--white);
  }

  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: rgba(6, 13, 22, .98);
    border: 1px solid rgba(191, 198, 204, .15);
  }

  .main-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 50px;
  }

  .hero-image {
    inset: 72px 0 0 0;
    height: auto;
    opacity: .72;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 13, 22, .98) 0%, rgba(6, 13, 22, .84) 100%),
      linear-gradient(0deg, rgba(6,13,22,1) 0%, rgba(6,13,22,.15) 100%);
  }

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

  .hero-values article {
    border-right: 0;
    border-bottom: 1px solid rgba(191, 198, 204, .12);
  }

  .two-col,
  .cards-grid,
  .features-grid,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 250px;
  }

  .process-line {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    height: 68px;
  }

  .brand img {
    width: 136px;
  }

  h1 {
    font-size: 36px;
    letter-spacing: .035em;
  }

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

  .hero-actions,
  .hero-values,
  .process-line {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .copy-dark h2,
  .section-heading h2 {
    font-size: 30px;
  }

  .footer-row {
    padding: 22px 0;
    display: grid;
    gap: 10px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
