@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ms-black: #070707;
  --ms-graphite: #171717;
  --ms-steel: #646464;
  --ms-muted: #f2f0e8;
  --ms-line: #dedbd1;
  --ms-yellow: #ffd000;
  --ms-yellow-dark: #e5ae00;
  --ms-white: #ffffff;
  --ms-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.ms-site {
  margin: 0;
  color: var(--ms-graphite);
  background: #fbfaf6;
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

.ms-site h1,
.ms-site h2,
.ms-site h3,
.ms-site h4,
.ms-site h5,
.ms-site h6 {
  color: var(--ms-black);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ms-topbar {
  background: var(--ms-black);
  color: var(--ms-white);
  font-size: 14px;
  padding: 10px 0;
}

.ms-topbar a {
  color: var(--ms-white);
  text-decoration: none;
}

.ms-topbar a:hover {
  color: var(--ms-yellow);
}

.ms-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.ms-navbar {
  min-height: 86px;
}

.ms-logo {
  display: inline-flex;
  align-items: center;
  width: 210px;
}

.ms-logo img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.ms-nav {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-nav a {
  color: var(--ms-black);
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.ms-nav a:hover,
.ms-nav a.active {
  color: var(--ms-yellow-dark);
}

.ms-button,
.ms-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--ms-yellow);
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.ms-button {
  color: var(--ms-black);
  background: var(--ms-yellow);
}

.ms-button:hover {
  color: var(--ms-white);
  background: var(--ms-black);
  border-color: var(--ms-black);
  transform: translateY(-2px);
}

.ms-button-outline {
  color: var(--ms-white);
  background: transparent;
}

.ms-button-outline:hover {
  color: var(--ms-black);
  background: var(--ms-yellow);
}

.ms-section {
  padding: 110px 0;
}

.ms-section-soft {
  background: var(--ms-muted);
}

.ms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ms-yellow-dark);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ms-eyebrow::before {
  width: 34px;
  height: 3px;
  background: var(--ms-yellow);
  content: "";
}

.ms-lead {
  color: #585858;
  font-size: 18px;
  line-height: 1.75;
}

.ms-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ms-white);
  background: var(--ms-black);
}

.ms-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.2) 100%),
    url("../img/ms/hero-eletrica-industrial.png") center/cover;
  content: "";
}

.ms-hero::after {
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(255, 208, 0, 0.18);
  border-radius: 50%;
  content: "";
}

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

.ms-hero h1 {
  max-width: 850px;
  color: var(--ms-white);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
}

.ms-hero h1 span {
  color: var(--ms-yellow);
}

.ms-hero p {
  max-width: 660px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.7;
}

.ms-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.ms-hero-badges span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--ms-white);
  background: rgba(255, 255, 255, 0.08);
}

.ms-card {
  height: 100%;
  padding: 34px;
  border: 1px solid var(--ms-line);
  border-radius: 28px;
  background: var(--ms-white);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  transition: 0.25s ease;
}

.ms-card:hover {
  border-color: rgba(255, 208, 0, 0.7);
  box-shadow: var(--ms-shadow);
  transform: translateY(-6px);
}

.ms-card-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 20px;
  color: var(--ms-black);
  background: var(--ms-yellow);
  font-size: 26px;
}

.ms-image {
  width: 100%;
  min-height: 420px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--ms-shadow);
}

.ms-split-dark {
  color: var(--ms-white);
  background:
    radial-gradient(circle at top right, rgba(255, 208, 0, 0.18), transparent 34%),
    var(--ms-black);
}

.ms-split-dark h2,
.ms-split-dark h3 {
  color: var(--ms-white);
}

.ms-split-dark p,
.ms-split-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.ms-dark-card {
  height: 100%;
  padding: 42px;
  border: 1px solid rgba(255, 208, 0, 0.26);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.ms-dark-card h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 54px);
}

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

.ms-check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.7;
}

.ms-check-list i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--ms-yellow);
}

.ms-project {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--ms-black);
}

.ms-project img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.76;
  transition: 0.35s ease;
}

.ms-project:hover img {
  opacity: 0.5;
  transform: scale(1.05);
}

.ms-project-content {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 26px;
  border-left: 5px solid var(--ms-yellow);
  background: rgba(7, 7, 7, 0.84);
  backdrop-filter: blur(12px);
}

.ms-project-content span {
  color: var(--ms-yellow);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ms-project-content h3 {
  margin: 8px 0 0;
  color: var(--ms-white);
}

.ms-stat {
  padding: 26px;
  border-radius: 24px;
  background: var(--ms-black);
}

.ms-stat strong {
  display: block;
  color: var(--ms-yellow);
  font-family: "Archivo", sans-serif;
  font-size: 44px;
  line-height: 1;
}

.ms-stat span {
  color: rgba(255, 255, 255, 0.78);
}

.ms-page-hero {
  padding: 130px 0 90px;
  color: var(--ms-white);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.7)),
    url("../img/ms/hero-eletrica-industrial.png") center/cover;
}

.ms-page-hero h1 {
  color: var(--ms-white);
  font-size: clamp(44px, 7vw, 86px);
}

.ms-form {
  padding: 42px;
  border-radius: 30px;
  background: var(--ms-white);
  box-shadow: var(--ms-shadow);
}

.ms-form input,
.ms-form textarea,
.ms-form select {
  width: 100%;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--ms-line);
  border-radius: 14px;
  color: var(--ms-black);
  background: #fbfaf6;
}

.ms-form textarea {
  min-height: 150px;
}

.ms-footer {
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ms-black);
}

.ms-footer-logo {
  width: 280px;
  margin-bottom: 24px;
}

.ms-footer h4,
.ms-footer h5 {
  color: var(--ms-white);
}

.ms-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.ms-footer a:hover {
  color: var(--ms-yellow);
}

.ms-footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.ms-footer-social {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  align-items: center;
  justify-content: flex-end;
}

.ms-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--ms-white);
  background: rgba(255, 255, 255, 0.06);
}

.ms-footer-social a:hover {
  color: var(--ms-black);
  background: var(--ms-yellow);
  border-color: var(--ms-yellow);
}

.ms-about-hero {
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.68)),
    url("../img/ms/about/about-2.png") center/cover;
}

.ms-about-intro h2,
.ms-about-history h2,
.ms-about-values h2,
.ms-about-routine h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.ms-about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--ms-black);
  box-shadow: var(--ms-shadow);
}

.ms-about-image-frame::before {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 208, 0, 0.55);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.ms-about-image-frame img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.ms-about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 70px;
}

.ms-about-timeline::before {
  position: absolute;
  top: 37px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--ms-yellow);
  content: "";
}

.ms-about-timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.ms-about-year {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 7px solid var(--ms-muted);
  border-radius: 50%;
  color: var(--ms-black);
  background: var(--ms-yellow);
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.ms-about-timeline-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--ms-line);
  border-radius: 28px;
  background: var(--ms-white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.ms-about-timeline-card p {
  margin: 0;
  color: #585858;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.ms-about-mission {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: var(--ms-white);
  background: var(--ms-black);
}

.ms-about-mission::before {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: var(--ms-yellow);
  content: "";
  transform: rotate(45deg);
}

.ms-about-mission::after {
  position: absolute;
  right: -160px;
  bottom: -190px;
  width: 460px;
  height: 460px;
  border: 84px solid rgba(255, 208, 0, 0.16);
  border-radius: 50%;
  content: "";
}

.ms-about-mission-card {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ms-about-mission-card .ms-eyebrow {
  color: var(--ms-yellow);
}

.ms-about-mission-card h2 {
  margin-bottom: 28px;
  color: var(--ms-white);
  font-size: clamp(36px, 5vw, 64px);
}

.ms-about-mission-card p {
  margin: 0 auto 52px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
}

.ms-about-mission-card img {
  width: min(260px, 72vw);
  margin: 0 auto;
}

.ms-about-values {
  background: #fbfaf6;
}

.ms-about-values-content {
  padding: 42px;
  border-radius: 30px;
  background: var(--ms-white);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.06);
}

.ms-about-values .ms-check-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ms-line);
}

.ms-about-values .ms-check-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ms-about-values-image img {
  object-position: center top;
}

.ms-about-routine .ms-lead {
  margin-bottom: 0;
}

.ms-about-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.ms-about-gallery img {
  width: 100%;
  height: 390px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.12);
  transition: 0.25s ease;
}

.ms-about-gallery img:hover {
  transform: translateY(-8px);
  box-shadow: var(--ms-shadow);
}

@media (max-width: 991px) {
  .ms-navbar {
    padding: 16px 0;
  }

  .ms-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding: 18px 0;
  }

  .ms-hero {
    min-height: auto;
    padding: 130px 0 90px;
  }

  .ms-section {
    padding: 78px 0;
  }

  .ms-about-timeline {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .ms-about-timeline::before {
    top: 0;
    bottom: 0;
    left: 39px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .ms-about-timeline-item {
    grid-template-columns: 78px 1fr;
    justify-items: stretch;
    align-items: start;
  }

  .ms-about-timeline-card {
    min-height: auto;
  }

  .ms-about-timeline-card p {
    text-align: left;
  }

  .ms-about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ms-site .row {
    margin-right: 0;
    margin-left: 0;
  }

  .ms-logo {
    width: 160px;
  }

  .ms-topbar .d-flex {
    gap: 8px !important;
  }

  .ms-hero h1 {
    font-size: 46px;
  }

  .ms-card,
  .ms-dark-card,
  .ms-form {
    padding: 26px;
  }

  .ms-copyright {
    flex-direction: column;
    text-align: center;
  }

  .ms-footer-social {
    justify-content: center;
  }

  .ms-about-image-frame img {
    min-height: 300px;
  }

  .ms-about-timeline-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .ms-about-timeline::before {
    display: none;
  }

  .ms-about-timeline-card {
    padding: 26px;
  }

  .ms-about-mission {
    padding: 86px 0;
  }

  .ms-about-values-content {
    padding: 26px;
  }

  .ms-about-gallery {
    grid-template-columns: 1fr;
  }

  .ms-about-gallery img {
    height: auto;
  }
}
