/*
Theme Name: Makser IT
Theme URI: https://makser.lt/
Author: Makser
Description: Корпоративная тема для IT-сервиса, ремонта техники и обслуживания инфраструктуры.
Version: 1.0.0
Text Domain: makser-it
*/

:root {
  --bg: #080b0f;
  --bg-soft: #10151d;
  --panel: #151b24;
  --panel-light: #f6f8fb;
  --text: #f4f7fb;
  --muted: #aab4c2;
  --dark: #151922;
  --dark-muted: #5f6b7a;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #18c7b6;
  --accent-strong: #09a795;
  --warning: #ffb454;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 15, 0.78);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand__mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name,
.brand__line {
  display: block;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0;
}

.brand__line {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #dce5ef;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 6px;
  color: #dce5ef;
  font-size: 12px;
  font-weight: 800;
}

.lang-switch a:hover,
.lang-switch a.is-active {
  color: #021413;
  background: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  color: #021413;
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #05070a;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center right;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.84) 36%, rgba(5, 7, 10, 0.35) 72%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.25) 0%, rgba(5, 7, 10, 0.95) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding: 170px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #d8e1ec;
  font-size: 20px;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button--primary {
  color: #031413;
  background: var(--accent);
  box-shadow: 0 18px 45px rgba(24, 199, 182, 0.26);
}

.button--primary:hover {
  background: #45e6d7;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 70px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero__stats div {
  padding: 22px;
  background: rgba(9, 13, 18, 0.72);
}

.hero__stats strong,
.hero__stats span {
  display: block;
}

.hero__stats strong {
  margin-bottom: 6px;
  color: var(--warning);
  font-size: 28px;
}

.hero__stats span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 105px 0;
}

.section--light {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  color: var(--dark);
  background: var(--panel-light);
}

.section--dark {
  color: var(--text);
  background: var(--bg);
}

.section__head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__head h2,
.split h2,
.contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section__head p,
.split p,
.contact-card p {
  color: var(--dark-muted);
  font-size: 18px;
}

.section--dark p {
  color: var(--muted);
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.process-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(21, 25, 34, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(21, 25, 34, 0.08);
}

.service-card span,
.process-card strong {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-strong);
  font-weight: 800;
}

.service-card h3,
.process-card h3 {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 22px;
}

.service-card p,
.process-card p {
  margin-bottom: 0;
  color: var(--dark-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  position: relative;
  padding: 22px 22px 22px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e7eef7;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.feature-list div::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 27px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24, 199, 182, 0.12);
}

.process-card {
  background: #fdfefe;
}

.contact-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 72% 20%, rgba(24, 199, 182, 0.22), transparent 34%),
    linear-gradient(135deg, #090d13, #151b24);
}

.contact-card {
  max-width: 880px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card p {
  color: #c5cfdd;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070a0e;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .hero__inner {
    min-height: 720px;
  }

  .hero__inner {
    padding-top: 140px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 0.7)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.98));
  }

  .hero__stats,
  .service-grid,
  .process-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    margin-top: 44px;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .hero__inner,
  .site-footer__inner {
    width: min(100% - 28px, var(--max));
  }

  .brand__line,
  .header-cta {
    display: none;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 14px;
  }

  .header-actions {
    gap: 0;
  }

  .lang-switch a {
    min-height: 32px;
    padding: 0 5px;
    font-size: 10px;
  }

  .hero,
  .hero__inner {
    min-height: 680px;
  }

  .hero__inner {
    padding-top: 120px;
  }

  h1 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 17px;
  }

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

  .service-card,
  .process-card,
  .contact-card {
    padding: 24px;
  }

  .contact-actions,
  .hero__actions,
  .site-footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.seo-service-links {
  background: #0f172a;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 18px 24px;
}

.seo-service-links a {
  color: #dbeafe;
  font-size: 14px;
  text-decoration: none;
}

.seo-service-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
