:root {
  --navy: #0A014C;
  --home-accent: #BF0002;
  --pos-accent: #FF3131;
  --ems-accent: #096B1E;
  --grey: #C0CDD2;
  --light-grey: #E1E7E9;
  --light: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
}

body {
  --page-accent: var(--home-accent);
  --page-accent-hover: #9f0002;
}

body.pos-page {
  --page-accent: var(--pos-accent);
  --page-accent-hover: #d92727;
}

body.ems-page {
  --page-accent: var(--ems-accent);
  --page-accent-hover: #075618;
}

body.smarttouch-page {
  --page-accent: var(--home-accent);
  --page-accent-hover: #9f0002;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 95px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  color: var(--navy);
  font-size: 20px;
}

.logo img {
  height: 75px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--page-accent);
}

/* HERO */

.hero {
  background:
    radial-gradient(circle at top right, rgba(191, 0, 2, 0.12), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, var(--light-grey) 100%);
  padding: 90px 0;
}

body.pos-page .hero {
  background:
    radial-gradient(circle at top right, rgba(255, 49, 49, 0.16), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, var(--light-grey) 100%);
}

body.ems-page .hero {
  background:
    radial-gradient(circle at top right, rgba(9, 107, 30, 0.16), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, var(--light-grey) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--page-accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

h1, h2, h3 {
  color: var(--navy);
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.02;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 18px;
}

h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.hero-subtitle,
.section-heading p,
.split-section p,
.contact-section p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background: var(--page-accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--page-accent-hover);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* HERO CARD */

.hero-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(10, 1, 76, 0.25);
}

.hero-card h3 {
  color: var(--white);
}

.hero-card p {
  color: var(--light-grey);
}

.hero-mini-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  margin-top: 14px;
}

.hero-mini-card strong {
  display: block;
  color: var(--white);
  margin-bottom: 5px;
}

.hero-mini-card span {
  color: var(--light-grey);
  font-size: 14px;
}

/* SECTIONS */

.section {
  padding: 85px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(10, 1, 76, 0.08);
  overflow: hidden;
}

.card-top {
  height: 7px;
  width: 90px;
  border-radius: 999px;
  margin-bottom: 24px;
  background: var(--page-accent);
}

.solution-card p {
  color: var(--muted);
  line-height: 1.65;
}

.solution-card ul {
  padding-left: 18px;
  line-height: 1.9;
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--page-accent);
  font-weight: 900;
}

/* FEATURES */

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--border);
}

.feature-item strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}

.feature-item span {
  color: var(--muted);
  line-height: 1.5;
}

/* MEDIA / IMAGES / VIDEO */

.media-section {
  padding: 85px 0;
  background: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.image-placeholder,
.demo-placeholder {
  min-height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(10, 1, 76, 0.08), rgba(10, 1, 76, 0.02)),
    var(--light-grey);
  border: 2px dashed var(--page-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--navy);
  font-weight: 900;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 24px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 45px rgba(10, 1, 76, 0.18);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(10, 1, 76, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--light-grey);
}

.gallery-card div {
  padding: 18px;
  font-weight: 900;
  color: var(--navy);
}

/* CONTACT */

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--light-grey);
}

.contact-section p {
  color: var(--light-grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-details {
  margin-top: 28px;
}

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.contact-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--page-accent);
  box-shadow: 0 0 0 3px rgba(191, 0, 2, 0.12);
}

body.pos-page .contact-form input:focus,
body.pos-page .contact-form select:focus,
body.pos-page .contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 49, 49, 0.14);
}

body.ems-page .contact-form input:focus,
body.ems-page .contact-form select:focus,
body.ems-page .contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(9, 107, 30, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
}

/* FOOTER */

.footer {
  background: #050f24;
  color: var(--light-grey);
  padding-top: 55px;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--light-grey);
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: var(--grey);
  font-size: 14px;
}
/* MOBILE */

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .cards-grid,
  .split-section,
  .contact-grid,
  .footer-grid,
  .media-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 65px 0;
  }

  .section,
  .media-section {
    padding: 65px 0;
  }

  .logo img {
    height: 62px;
  }

  .nav-wrap {
    min-height: 84px;
  }
}

/* PREMIUM EFFECTS */

html {
  scroll-behavior: smooth;
}

.solution-card,
.feature-item,
.gallery-card,
.hero-card,
.contact-form {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover,
.feature-item:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(10, 1, 76, 0.14);
}

.btn {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: var(--page-accent);
  opacity: 0.18;
  border-radius: 50%;
}

.hero-mini-card {
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
  background: #25d366;
  color: white;
  font-weight: 900;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  display: block;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}
.hero-image-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 28px 70px rgba(10, 1, 76, 0.24);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 1, 76, 0.05),
    rgba(10, 1, 76, 0.72)
  );
}

.hero-image-overlay {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: white;
}

.hero-image-overlay strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
}

.hero-image-overlay span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: var(--light-grey);
}
@media (max-width: 900px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 13px 18px;
    font-size: 14px;
  }
}
