:root {
  --blue-950: #061a35;
  --blue-900: #08264d;
  --blue-700: #0b5fa5;
  --green-700: #0c7a3b;
  --green-600: #0fa64a;
  --yellow-500: #f6c22d;
  --yellow-400: #ffd85a;
  --ink: #102033;
  --muted: #607086;
  --line: #dfe8f1;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(6, 26, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 1000;
  background: var(--yellow-500);
  color: var(--blue-950);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 14px;
}

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

.section {
  scroll-margin-top: 96px;
}

.top-strip {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-inner a {
  color: var(--yellow-400);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(6, 26, 53, 0.08);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(6, 26, 53, 0.15);
}

.brand strong {
  display: block;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1;
}

.brand small {
  color: var(--green-700);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 11px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a {
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-900);
  transition: 0.2s ease;
}

.menu a:hover,
.menu a.active {
  background: var(--blue-900);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--blue-900);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background: linear-gradient(135deg, var(--blue-950), #0d4e81 55%, #0b8a47);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 53, 0.92), rgba(6, 26, 53, 0.62), rgba(12, 122, 59, 0.58)),
    url("../img/microtek-grid.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 88px;
  background: linear-gradient(176deg, transparent 0 48%, var(--white) 49% 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 54px;
  padding: 86px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-600);
  background: rgba(15, 166, 74, 0.1);
  border: 1px solid rgba(15, 166, 74, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--yellow-400);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

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

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 26, 53, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-500), #ffb300);
  color: var(--blue-950);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.hero-stats div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 20px;
  color: var(--yellow-400);
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  min-height: 530px;
}

.logo-medal {
  width: min(420px, 78vw);
  margin: 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.28));
  animation: floatSoft 5s ease-in-out infinite;
}

.hero-photo {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 64%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.82);
}

.sun-card {
  position: absolute;
  left: 4px;
  bottom: 70px;
  width: 240px;
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  color: var(--blue-900);
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--yellow-500);
}

.sun-card span,
.sun-card strong {
  display: block;
}

.sun-card span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sun-card strong {
  font-size: 25px;
  line-height: 1.1;
}

.intro-band {
  padding: 18px 0 74px;
}

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

.intro-card,
.service-card,
.manager-card,
.review-card,
.contact-card,
.gallery-card,
.product-feature {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(6, 26, 53, 0.08);
}

.intro-card {
  padding: 26px;
  border-top: 5px solid var(--green-600);
}

.intro-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--blue-900);
  color: var(--yellow-400);
  font-weight: 900;
  margin-bottom: 14px;
}

.intro-card h2,
.service-card h3,
.manager-card h3 {
  margin-bottom: 8px;
  color: var(--blue-900);
  line-height: 1.2;
}

.intro-card p,
.service-card p,
.manager-card p,
.review-card p,
.section-heading p,
.section-copy p,
.contact-copy p,
.contact-detail p,
.product-feature p {
  color: var(--muted);
}

.about-section,
.products-section {
  padding: 86px 0;
  background: var(--soft);
}

.systems-section,
.management-section,
.reviews-section,
.contact-section {
  padding: 86px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.97fr);
  gap: 56px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 15px 0 16px;
  color: var(--blue-950);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}

.signature {
  margin-top: 24px;
  padding: 18px;
  border-left: 5px solid var(--yellow-500);
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

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

.signature strong {
  color: var(--blue-900);
  font-size: 20px;
}

.signature span {
  color: var(--green-700);
  font-weight: 800;
}

.image-stack {
  position: relative;
}

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

.floating-note {
  position: absolute;
  left: -24px;
  bottom: 28px;
  max-width: 300px;
  padding: 20px;
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.floating-note strong {
  color: var(--yellow-400);
}

.floating-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.systems-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.system-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.system-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  background: var(--soft);
}

.system-card div {
  padding: 26px;
}

.system-card h3,
.product-feature h3 {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: 26px;
  line-height: 1.15;
}

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

.service-card,
.manager-card,
.review-card {
  padding: 24px;
}

.service-card {
  border-bottom: 5px solid var(--yellow-500);
}

.service-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.management-section {
  background:
    linear-gradient(135deg, rgba(6, 26, 53, 0.92), rgba(8, 38, 77, 0.88)),
    url("../img/luminous-catalogue.jpg") center / cover no-repeat fixed;
  color: var(--white);
}

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

.manager-card {
  background: rgba(255, 255, 255, 0.96);
}

.manager-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-600), var(--blue-700));
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  padding: 22px;
  align-items: center;
  margin-bottom: 28px;
}

.product-feature img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

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

.gallery-card {
  overflow: hidden;
  margin: 0;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  min-height: 68px;
  padding: 15px;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  position: relative;
}

.stars {
  color: var(--yellow-500);
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.review-card strong {
  color: var(--blue-900);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(12, 122, 59, 0.93), rgba(8, 38, 77, 0.96)),
    url("../img/tata-on-grid-kit.png") center / cover no-repeat;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 38px;
  align-items: center;
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-card {
  padding: 30px;
  color: var(--ink);
}

.contact-card h3 {
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: 25px;
}

.phone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.phone-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--blue-900);
  font-weight: 900;
  border: 1px solid var(--line);
}

.contact-detail {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-detail span {
  display: block;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-detail a,
.contact-detail p {
  color: var(--blue-900);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--yellow-400);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .product-feature,
  .systems-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 470px;
  }

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

  .hero-photo {
    width: 56%;
  }
}

@media (max-width: 820px) {
  .strip-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .nav-inner {
    height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 17px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 118px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    padding: 12px;
    border: 1px solid var(--line);
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 64px 0 106px;
  }

  .hero-stats,
  .intro-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 390px;
  }

  .logo-medal {
    width: min(330px, 82vw);
  }

  .sun-card {
    left: 0;
    bottom: 50px;
    width: min(240px, 72vw);
  }

  .hero-photo {
    width: 58%;
    right: 0;
    bottom: 0;
  }

  .image-stack img {
    min-height: 300px;
  }

  .floating-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .top-strip {
    display: none;
  }

  .menu {
    top: 84px;
  }

  h1 {
    font-size: 36px;
  }

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

  .hero-copy p {
    font-size: 16px;
  }

  .service-grid,
  .manager-grid,
  .gallery-grid,
  .phone-list {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 355px;
  }

  .hero-photo {
    border-width: 5px;
    width: 62%;
  }

  .system-card img,
  .product-feature img,
  .gallery-card img {
    height: 230px;
  }

  .about-section,
  .systems-section,
  .management-section,
  .products-section,
  .reviews-section,
  .contact-section {
    padding: 66px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }
}
