:root {
  --color-white: #ffffff;
  --color-ink: #111418;
  --color-muted: #69717c;
  --color-line: #e6e9ed;
  --color-soft: #f5f7f9;
  --color-blue: #1263b5;
  --color-blue-dark: #0a3e73;
  --color-orange: #f27b22;
  --shadow: 0 24px 70px rgba(14, 22, 31, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 233, 237, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(14, 22, 31, 0.08);
}

.navbar {
  width: min(100% - 40px, 1280px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-text span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-logo{
  width: 175px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-menu > a:not(.btn) {
  position: relative;
  color: #2e343b;
}

.nav-menu > a:not(.btn)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--color-orange);
  transition: width 0.25s ease;
}

.nav-menu > a:hover::after,
.nav-menu > a.is-active::after {
  width: 100%;
}

.nav-menu > a.is-active {
  color: var(--color-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-accent {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 14px 32px rgba(242, 123, 34, 0.26);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-ink);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-blue-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  background: #111418;
}

.hero-slider,
.hero-slide {
  min-height: calc(100vh - 82px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(90deg, rgba(8, 14, 21, 0.86), rgba(8, 14, 21, 0.48) 48%, rgba(8, 14, 21, 0.2)), var(--bg);
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  color: var(--color-white);
  padding: 72px 0 102px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button,
.testimonial-controls button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.slider-dots button.is-active,
.testimonial-controls button.is-active {
  width: 28px;
  background: var(--color-orange);
}

.section {
  padding: 104px 0;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: end;
  overflow: hidden;
  color: var(--color-white);
  background: #111418;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(90deg, rgba(8, 14, 21, 0.88), rgba(8, 14, 21, 0.44)), var(--page-bg);
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 92px 0 82px;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumb span {
  color: var(--color-orange);
}

.two-column {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-list article {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.feature-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: var(--color-muted);
}

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

.detail-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.detail-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.detail-card img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

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

.detail-card h2,
.detail-card h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.2;
}

.detail-card p,
.contact-card p {
  color: var(--color-muted);
}

.process-band {
  background: var(--color-soft);
}

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

.process-step {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.process-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-orange);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.contact-card,
.quote-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 18px 50px rgba(14, 22, 31, 0.08);
}

.contact-card {
  padding: 32px;
}

.contact-card h2,
.quote-form h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.contact-card a {
  color: var(--color-blue);
  font-weight: 800;
}

.quote-form {
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #303740;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--color-ink);
  font: inherit;
  background: var(--color-white);
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section h2,
.blog-strip h2,
.cta-section h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p,
.section-copy p,
.solution-list p,
.why-card p,
.product-card p,
.cta-section p,
.footer p {
  color: var(--color-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 64px;
  align-items: center;
}

.section-media {
  position: relative;
}

.section-media img {
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-badge {
  position: absolute;
  right: -24px;
  bottom: 32px;
  width: 190px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.media-badge strong {
  display: block;
  color: var(--color-blue);
  font-size: 2.2rem;
  line-height: 1;
}

.media-badge span {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section-copy h2 {
  margin-bottom: 22px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stats-row div {
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.stats-row strong {
  display: block;
  color: var(--color-blue);
  font-size: 1.6rem;
  line-height: 1;
}

.stats-row span {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.products-section,
.testimonials-section {
  background: var(--color-soft);
}

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

.product-card,
.why-card,
.testimonial {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card:hover,
.why-card:hover {
  border-color: rgba(18, 99, 181, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.product-card img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

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

.product-card h3,
.why-card h3,
.solution-list h3,
.project-card h3,
.footer h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

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

.why-card {
  padding: 30px;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: var(--color-blue);
  background: #e9f2fb;
  font-weight: 800;
}

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

.project-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #101419;
}

.project-card img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(8, 14, 21, 0), rgba(8, 14, 21, 0.86));
}

.project-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffc08f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.solutions-section {
  background: #111418;
}

.solutions-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

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

.solutions-section .section-heading p {
  opacity: 0.76;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.solution-list article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.solution-list article:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.solution-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--color-orange);
  font-weight: 800;
}

.solution-list h3 {
  color: var(--color-white);
}

.solution-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-slider {
  position: relative;
  max-width: 860px;
  min-height: 272px;
  margin: 0 auto;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 42px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial p {
  margin: 0 0 28px;
  color: #27303a;
  font-size: 1.24rem;
  line-height: 1.55;
}

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

.testimonial span {
  color: var(--color-muted);
}

.testimonial-controls {
  position: absolute;
  left: 50%;
  bottom: -38px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.testimonial-controls button {
  background: #b9c3cf;
}

.blog-strip {
  padding: 54px 0;
  border-block: 1px solid var(--color-line);
  background: var(--color-white);
}

.blog-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blog-wrap h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.blog-wrap a {
  color: var(--color-blue);
  font-weight: 800;
}

.cta-section {
  padding: 86px 0;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  color: var(--color-white);
}

.cta-card h2,
.cta-card p {
  color: var(--color-white);
}

.cta-card p {
  max-width: 760px;
  opacity: 0.78;
}


.footer-logo{
  display: inline-block;
  max-width: 175px;
  height: auto;
  margin-bottom: 1.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(37, 99, 255, 0.16);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #e7efff 100%);
  box-shadow: 0 16px 32px rgba(7, 12, 24, 0.22);
}

.footer {
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0b0f14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 22px;
  color: var(--color-white);
}

.footer .brand-text span,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer h3 {
  color: var(--color-white);
  font-size: 1rem;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 9px 0;
}

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

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 54px;
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

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

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

@media (max-width: 1100px) {
  .nav-menu {
    gap: 14px;
    font-size: 0.84rem;
  }

  .why-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .project-card img {
    min-height: 340px;
  }
}

@media (max-width: 860px) {
  .navbar {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .nav-menu a {
    padding: 13px 10px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: calc(100vh - 72px);
  }

  .slider-arrow {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .about-grid,
  .solutions-wrap,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-media img {
    aspect-ratio: 16 / 11;
  }

  .media-badge {
    right: 18px;
  }

  .product-grid,
  .detail-grid,
  .process-grid,
  .solution-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .blog-wrap,
  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .navbar,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .hero-content {
    padding-top: 52px;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.55rem;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero .container {
    padding: 72px 0 62px;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .why-grid,
  .project-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    min-height: 360px;
  }

  .testimonial {
    padding: 28px;
  }

  .testimonial p {
    font-size: 1.04rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
