/**
* Indoor RTLS Landing - Custom CSS
* Based on SoftLand Template with SoftLand colors
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - SoftLand original scheme */
:root {
  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #2d465e;
  --accent-color: #559bcc;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #559bcc;
}

/* Color Presets */
.light-background {
  --background-color: #f1f3f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #142e6c;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1c4097;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Container (override Bootstrap - wide like adas-dms)
--------------------------------------------------------------*/
.container {
  width: 90vw;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  .container {
    width: calc(100vw - 28px);
    padding-left: 0;
    padding-right: 0;
  }
}

/* Override ALL Bootstrap container max-widths */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 100% !important;
}

/* Header inner container — same width as content */
.header .container-xl,
.header .container-fluid.container-xl {
  width: 90vw !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Override Bootstrap container-xl breakpoints — all breakpoints same wide container */
@media (min-width: 576px) {
  .header .container-xl {
    max-width: 100% !important;
    width: 90vw !important;
  }
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition:
    background-color 0.5s,
    box-shadow 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.header .logo:hover img {
  opacity: 0.85;
}

/* Global Header on Scroll */
.header.scrolled {
  background-color: rgba(20, 46, 108, 0.95);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-title p {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  background-color: #142e6c;
  background-image: url(../img/hero-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

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

.hero h1,
.hero h2 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--contrast-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 10px 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.hero .hero-sub {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  font-weight: 500;
}

.hero .hero-micro {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 15px;
  margin: 0;
}

.hero .download-btn {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 3px;
  transition: 0.5s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.hero .download-btn + .download-btn {
  margin-left: 20px;
}

.hero .download-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.hero .download-btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.hero .download-btn--secondary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.hero .hero-img {
  text-align: center;
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.hero .hero-img img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  left: 0;
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  max-height: 500px;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
  .hero .hero-img {
    text-align: center;
    overflow: hidden;
    min-height: 400px;
  }

  .hero .hero-img img {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  :root {
    --default-font:
      system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --heading-font:
      system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --nav-font:
      system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  }

  .hero {
    min-height: auto;
    background-image: none;
  }

  .hero h1,
  .hero h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .download-btn {
    font-size: 14px;
    padding: 8px 20px 10px 20px;
  }

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

/* Hero: 60% text, 40% image */
@media (min-width: 992px) {
  .hero .col-lg-6.order-lg-last {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .hero .col-lg-6:not(.order-lg-last) {
    flex: 0 0 60%;
    max-width: 60%;
    text-align: left !important;
  }
  .hero .col-lg-6:not(.order-lg-last) .d-flex {
    justify-content: flex-start !important;
  }
}

/*--------------------------------------------------------------
# About / Problem Section
--------------------------------------------------------------*/
.about .content p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.about .content ul li:last-child {
  padding-bottom: 0;
}

.about .content ul li i {
  color: #dc3545;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.about .content strong {
  color: var(--heading-color);
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Icon Boxes (Industries)
--------------------------------------------------------------*/
.about .icon-box {
  background-color: var(--surface-color);
  padding: 50px 40px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out;
  height: 100%;
}

.about .icon-box__img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition:
    background-color 0.4s ease-out,
    color 0.4s ease-out;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {
  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Features Section (Solution, Implementation)
--------------------------------------------------------------*/
.features .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features .features-item + .features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .features .features-item + .features-item {
    margin-top: 40px;
  }
}

.features .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features .features-item ul {
  list-style: none;
  padding: 0;
}

.features .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.features .features-item ul li:last-child {
  padding-bottom: 0;
}

.features .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .features-item ul span {
  line-height: 1.6;
}

.features .features-item p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.features .features-item p:last-child {
  margin-bottom: 0;
}

.features .features-item img {
  border-radius: 15px;
  max-height: 450px;
  object-fit: contain;
  display: block;
  width: 100%;
  height: auto;
}

.feature-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.feature-visual__caption {
  background: linear-gradient(
    180deg,
    rgba(85, 155, 204, 0.08) 0%,
    rgba(85, 155, 204, 0.03) 100%
  );
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(85, 155, 204, 0.1);
}

.feature-visual__caption p {
  margin: 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.feature-visual__caption strong {
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Featured Section (Effects Cards)
--------------------------------------------------------------*/
.featured .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  margin-bottom: 20px;
  border: 0;
  height: 100%;
  position: relative;
}

.featured .card .img {
  position: relative;
  padding: 30px 20px 0 20px;
  text-align: center;
}

.featured .card .icon {
  color: var(--heading-color);
  background-color: color-mix(in srgb, var(--accent-color) 12%, white 100%);
  border: 4px solid var(--background-color);
  width: 72px;
  height: 72px;
  text-align: center;
  position: relative;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 0;
  transition: 0.3s;
  z-index: 2;
}

.featured .card:hover .icon {
  background-color: var(--accent-color);
  color: #fff;
}

.featured .card h2 {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  padding: 0;
  margin: 20px 0 12px 0;
}

.featured .card h2 a {
  color: var(--heading-color);
}

.featured .card h2 a:hover {
  color: var(--accent-color);
}

.featured .card p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  padding: 0 30px 30px 30px;
}

/* Effects Section summary band */
.effects-summary {
  margin-top: 56px;
  padding: 48px 60px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(85, 155, 204, 0.06) 0%,
    rgba(85, 155, 204, 0.02) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(85, 155, 204, 0.12);
}

.effects-summary__lead {
  margin: 0 0 28px;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.effects-metrics {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.effects-metric {
  flex: 0 1 auto;
  min-width: 220px;
  max-width: 300px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.effects-metric__value {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
  margin-bottom: 6px;
}

.effects-metric__label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.4;
}

.effects-summary__note {
  margin: 0 0 12px;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.effects-summary__cta {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .effects-summary {
    padding: 32px 24px;
  }
  .effects-metrics {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .effects-metric {
    min-width: 100%;
  }
}

/*--------------------------------------------------------------
# Pilot Section
--------------------------------------------------------------*/
.pilot-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pilot-cards {
  flex: 0 0 45%;
  min-width: 0;
}

.pilot-cards .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 50px 30px;
  transition:
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
  height: 100%;
  position: relative;
  border-radius: 0;
}

.pilot-cards .card-item:nth-child(2) {
  margin-top: -20px;
}

.pilot-cards .card-item:nth-child(3) {
  margin-top: -20px;
}

.pilot-cards .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.pilot-cards .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: var(--heading-color);
}

.pilot-cards .card-item h4 a {
  color: var(--heading-color);
}

.pilot-cards .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.pilot-cards .card-item:hover {
  background: var(--accent-color);
  padding: 50px 30px;
}

.pilot-cards .card-item:hover span,
.pilot-cards .card-item:hover h4 a,
.pilot-cards .card-item:hover p {
  color: var(--contrast-color);
}

/* Right: Visual */
.pilot-visual {
  flex: 0 0 50%;
  min-width: 0;
  position: sticky;
  top: 120px;
}

.pilot-visual__inner {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(85, 155, 204, 0.12);
  margin-bottom: 16px;
}

.pilot-visual__img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.pilot-visual__caption {
  background: linear-gradient(
    180deg,
    rgba(85, 155, 204, 0.08) 0%,
    rgba(85, 155, 204, 0.03) 100%
  );
  border-radius: 10px;
  padding: 16px 20px;
  border: 1px solid rgba(85, 155, 204, 0.1);
}

.pilot-visual__caption p {
  margin: 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.65;
}

.pilot-visual__caption strong {
  color: var(--heading-color);
}

/* Footer */
.pilot-footer {
  margin-top: 48px;
  text-align: center;
}

.pilot-footer p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--heading-color);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .pilot-layout {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .pilot-cards {
    flex: 1;
  }
  .pilot-visual {
    flex: 1;
    position: static;
  }
  .pilot-cards .card-item:nth-child(2),
  .pilot-cards .card-item:nth-child(3) {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .pilot-visual__inner {
    padding: 16px;
  }
  .pilot-visual__caption {
    padding: 12px 16px;
  }
  .pilot-cards .card-item {
    padding: 30px 24px;
  }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--heading-color);
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  line-height: 1.6;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section (Final CTA)
--------------------------------------------------------------*/
.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition:
    color 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .download-btn {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 3px;
  transition: 0.5s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.contact .download-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.contact .download-btn--secondary {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 3px;
}

.contact .download-btn--secondary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact ul {
  list-style: none;
  padding: 0;
}

.contact ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.contact ul li i {
  color: var(--accent-color);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact .php-email-form {
  height: 100%;
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form input[type="tel"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  transition: border-color 0.3s;
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form input[type="tel"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form input[type="tel"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 8px 30px 10px 30px;
  transition: 0.5s;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--heading-font);
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

/* Required field asterisk & note */
.contact .req {
  color: #dc3545;
  font-weight: 600;
}

.form-required-note {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 16px 0 0;
  text-align: center;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(85, 155, 204, 0.3);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color) 85%, #fff);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15px;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

/*--------------------------------------------------------------
# Universal Footer (from /include/footer-landing-universal.php)
--------------------------------------------------------------*/
.site-footer {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, #1a3a7a 0%, #142e6c 58%, #0f2358 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .container {
  background: transparent !important;
}

.site-footer ul,
.site-footer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  float: none !important;
  width: auto !important;
}

.site-footer .footer {
  display: block;
  background: transparent !important;
  padding: 0;
  text-align: left;
  font-size: 14px;
}

.site-footer .footer-grid {
  display: grid;
  gap: 24px;
}

.site-footer .footer-a-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: start;
}

.site-footer .footer-a-about {
  padding-right: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-a-logo {
  margin-bottom: 16px;
}

.site-footer .footer-a-lead {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.site-footer .footer-logo-img {
  display: block;
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer .footer-a-text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.5;
  font-style: normal;
}

.site-footer .footer-a-side {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(210px, 1fr);
  gap: 28px;
  justify-items: start;
  padding-left: 20px;
}

.site-footer .footer-title {
  margin: 0 0 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .footer-links {
  display: grid;
  gap: 10px;
}

.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
  transition: color 0.2s;
}

.site-footer .footer-link:hover {
  color: #ffffff;
}

.site-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer .footer-contact-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.42);
  flex: 0 0 auto;
}

.site-footer .footer-contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer .footer-work-hours {
  padding-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.92rem;
  line-height: 1.35;
}

.site-footer .footer-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 900px) {
  .site-footer .footer-a-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer .footer-a-about {
    padding-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer .footer-a-side {
    padding-left: 0;
    grid-template-columns: minmax(0, 1fr);
  }
}

/*--------------------------------------------------------------
# Industries Section Cards
--------------------------------------------------------------*/
.industries {
  overflow: visible;
}

.industry-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 48px rgba(0, 0, 0, 0.12);
}

/* Шахматный эффект — чётные карточки чуть выше */
.industries .row .col-lg-6:nth-child(2) .industry-card {
  transform: translateY(-24px);
}
.industries .row .col-lg-6:nth-child(2) .industry-card:hover {
  transform: translateY(-28px);
}

/* Компенсация — отступ снизу у ряда = высота сдвига */
.industries .row {
  padding-bottom: 24px;
}
.industries .row:last-of-type {
  padding-bottom: 0;
}

/* All cards: same full-height vertical image layout */
.industry-card--full-img {
  display: flex;
  align-items: stretch;
  flex-direction: row;
}

.industry-card--full-img .industry-card__side {
  flex: 0 0 42%;
  min-width: 0;
  padding: 0;
  display: flex;
}

.industry-card--full-img .industry-card__img-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-card--full-img .industry-card__content {
  flex: 1;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Reverse: text left, image right */
.industry-card--reverse .industry-card__side {
  order: 2;
}

.industry-card--reverse .industry-card__content {
  order: 1;
}

/* Shared styles */
.industry-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 28px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  transition:
    background-color 0.4s ease-out,
    color 0.4s ease-out;
}

.industry-card:hover .industry-card__icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.industry-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.industry-card p {
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Адаптив */
@media (max-width: 991px) {
  .industry-card--full-img {
    flex-direction: column;
  }
  .industry-card--full-img .industry-card__side {
    flex: none;
  }
  .industry-card--full-img .industry-card__img-full {
    height: 200px;
  }
  .industry-card--reverse .industry-card__side,
  .industry-card--reverse .industry-card__content {
    order: unset;
  }
  /* Убираем шахматку на мобильных */
  .industries .row .col-lg-6:nth-child(2) .industry-card {
    transform: none;
  }
  .industries .row .col-lg-6:nth-child(2) .industry-card:hover {
    transform: translateY(-4px);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  html:not(.no-js) [data-aos],
  [data-aos] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition-delay: 0 !important;
    transition-duration: 0s !important;
    pointer-events: auto !important;
  }

  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header - Language Switch, CTA & Mobile Menu
--------------------------------------------------------------*/

/* Header row structure */
.header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

/* Header right section (CTA + phone + lang) */
.header-right {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .header-right {
    display: flex;
  }
}

/* Catalog Button in Header */
.header-catalog-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  white-space: nowrap;
}

.header-catalog-btn--mid {
  margin-left: clamp(18px, 2vw, 32px);
  flex-shrink: 0;
}

.header-right > .header-catalog-btn:not(.header-catalog-btn--mid) {
  display: none !important;
}

@media (min-width: 1200px) {
  .header-catalog-btn--mid {
    margin-left: auto;
    margin-right: auto;
  }

  .header-catalog-btn {
    display: flex;
  }
}

.header-catalog-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* CTA Button in Header */
.header-cta-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--accent-color);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .header-cta-btn {
    display: flex;
  }
}

.header-cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 85%, #fff);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(85, 155, 204, 0.35);
  color: #fff;
  text-decoration: none;
}

/* Phone in Header */
.header-phone {
  display: none;
  align-items: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 1200px) {
  .header-phone {
    display: flex;
  }
}

.header-phone:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* Language Switch */
.header-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-lang-switch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.64);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
  text-decoration: none;
}

.header-lang-switch__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.header-lang-switch__btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.header-lang-switch__btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Nav Toggle Button */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle.is-open {
  position: fixed;
  top: 18px;
  right: 14px;
  z-index: 10001;
  background: rgba(20, 46, 108, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nav-toggle.is-open:hover {
  background: rgba(20, 46, 108, 1);
}

/* Mobile Menu Styles */
@media (max-width: 1199.98px) {
  .navmenu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition:
      max-height 0.4s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 9999;
  }

  .navmenu.is-open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navmenu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 16px 20px;
    gap: 0;
    list-style: none;
  }

  .navmenu a {
    display: block;
    padding: 12px 0;
    color: #212529;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: color 0.3s ease;
  }

  .navmenu a:last-child {
    border-bottom: none;
  }

  .navmenu a:hover,
  .navmenu a.active {
    color: var(--accent-color);
  }

  /* Mobile menu special items */
  .navmenu .mobile-divider {
    display: block;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 12px 0;
  }

  .navmenu .mobile-btn-item {
    display: block;
  }

  .navmenu .mobile-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: #212529;
    font-size: 14px;
  }

  .navmenu .mobile-lang span {
    font-weight: 500;
  }

  .navmenu .mobile-lang a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-size: 13px;
    border-bottom: none;
  }

  .navmenu .mobile-lang a.is-active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
  }

  .navmenu .mobile-cta {
    display: inline-block;
    padding: 10px 20px !important;
    background: var(--accent-color);
    color: #fff !important;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    border-bottom: none !important;
    margin: 8px 0;
  }

  .navmenu .mobile-catalog {
    display: inline-block;
    padding: 10px 20px !important;
    background: rgba(85, 155, 204, 0.08);
    color: var(--accent-color) !important;
    border: 1px solid rgba(85, 155, 204, 0.24);
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    border-bottom: none !important;
    margin: 8px 0 0;
  }

  .navmenu .mobile-phone {
    font-weight: 600;
    color: var(--accent-color);
  }

  /* Hide the default mobile nav toggle icon inside navmenu */
  .navmenu .mobile-nav-toggle {
    display: none !important;
  }
}

/* Desktop navmenu - override mobile styles */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    margin-left: 0;
  }

  .navmenu ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: clamp(10px, 0.8vw, 16px);
    list-style: none;
    align-items: center;
    justify-content: flex-end;
  }

  .navmenu a {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
    transition: color 0.3s ease;
  }

  .navmenu a:hover,
  .navmenu a.active {
    color: #fff;
  }

  /* Hide mobile-only items on desktop */
  .navmenu .mobile-divider,
  .navmenu .mobile-btn-item,
  .navmenu .mobile-lang {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .header-cta-btn,
  .header-phone {
    display: none !important;
  }

  .header-catalog-btn--mid {
    margin-left: auto;
    margin-right: auto;
  }

  .header-right {
    gap: 10px;
    margin-left: 8px;
  }

  .navmenu a {
    font-size: 13px;
  }
}

/* Header scrolled state */
.header.is-scrolled {
  background-color: rgba(20, 46, 108, 0.95) !important;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.15);
}
