:root {
  --navy: #071f45;
  --navy-2: #0b356f;
  --red: #b5121b;
  --red-2: #e21b2d;
  --dark: #101827;
  --text: #4b5563;
  --muted: #f4f7fb;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(7, 31, 69, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text span,
.footer-brand span {
  display: block;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--text);
}

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

.nav-menu a {
  text-decoration: none;
  font-weight: 700;
  color: #334155;
  padding: 10px 13px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: #eef4ff;
}

.nav-menu .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 11px 18px;
}

.nav-menu .nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 99px;
}


.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/building.png") center center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.hero-grid,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(181, 18, 27, 0.18), transparent 30%),
    linear-gradient(135deg, #071f45 0%, #0b356f 50%, #0d1b33 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-2);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content .eyebrow,
.cta-box .eyebrow {
  color: #ffb4ba;
}

.hero-content h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 650px;
  color: #dbeafe;
  font-size: 18px;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  font-size: 14px;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-2);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.cta-box .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 44px;
  max-width: 690px;
}

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

.hero-stats strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
  font-size: 13px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 8px 6px 18px;
}

.panel-header span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.hero-panel img {
  width: 100%;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
}

.panel-card {
  margin-top: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.panel-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.panel-card p {
  margin: 0;
  color: #dbeafe;
}

.section {
  padding: 88px 0;
}

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

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

.section-heading h2,
.split-content h2,
.cta-box h2,
.info-panel h2,
.about-text h2,
.vision-card h2,
.contact-card h2,
.contact-form h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.split-content p,
.cta-box p,
.info-panel p,
.about-text p,
.vision-card p,
.contact-card p,
.contact-form p {
  color: var(--text);
  margin: 16px 0 0;
}

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

.feature-card,
.value-card,
.vision-card,
.service-card,
.process-step,
.contact-card,
.contact-form,
.info-panel,
.about-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 24px;
}

.feature-card h3,
.value-card h3,
.process-step h3,
.category-item span {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p,
.value-card p,
.process-step p,
.category-item small {
  color: var(--text);
  margin: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.category-list {
  display: grid;
  gap: 14px;
}

.category-item {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  transition: 0.2s ease;
}

.category-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}

.category-item span,
.category-item small {
  display: block;
}

.cta-box {
  background:
    radial-gradient(circle at top right, rgba(226, 27, 45, 0.24), transparent 35%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  color: #dbeafe;
  max-width: 750px;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(181, 18, 27, 0.15), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 88px 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: #dbeafe;
  font-size: 18px;
}

.about-grid,
.vision-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--text);
  border-bottom: 1px solid #edf2f7;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

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

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-toolbar label,
.contact-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.catalog-toolbar input,
.catalog-toolbar select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
  background: var(--white);
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(11, 53, 111, 0.08);
}

.product-count {
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-media {
  height: 190px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-media img {
  max-height: 142px;
}

.product-body {
  padding: 22px;
}

.product-category,
.product-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.product-category {
  color: var(--navy);
  background: #eef4ff;
}

.product-status {
  color: var(--red);
  background: #fff1f2;
  margin-left: 6px;
}

.product-body h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.product-body p {
  margin: 0 0 18px;
  color: var(--text);
}

.product-action {
  display: inline-flex;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.info-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.info-panel h2 {
  font-size: 34px;
}

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

.service-card span {
  display: inline-flex;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 24px;
}

.service-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--text);
}

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

.process-step strong {
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card,
.contact-form {
  box-shadow: var(--shadow);
}

.contact-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item strong {
  color: var(--navy);
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
}

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

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--text);
}

.faq-wrapper {
  max-width: 860px;
}

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

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 31, 69, 0.06);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 0;
  padding: 20px 22px;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--red);
  font-size: 22px;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text);
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  background: #06152f;
  color: var(--white);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
}

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

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

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

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

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  display: inline-flex;
}

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

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

.no-results {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    border-radius: 12px;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .vision-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar,
  .info-panel,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    align-items: flex-start;
  }
}

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

  .header-inner {
    min-height: 74px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .brand-text small {
    display: none;
  }

  .hero-grid {
    padding: 52px 0;
  }

  .hero-stats,
  .feature-grid,
  .product-grid,
  .service-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 64px 0;
  }

  .cta-box {
    padding: 28px;
    border-radius: 24px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .product-media {
    height: 165px;
  }
}