:root {
  --blue-950: #07192f;
  --blue-900: #082245;
  --blue-850: #0a315f;
  --blue-800: #003e8a;
  --blue-700: #0051a8;
  --green-700: #1f7d2a;
  --green-600: #41a62a;
  --green-500: #64b92f;
  --yellow-500: #ffc928;
  --orange-500: #f7941d;
  --ink: #172033;
  --muted: #5f6d7e;
  --line: rgba(8, 34, 69, 0.13);
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --surface-cool: #eef5f9;
  --shadow-soft: 0 18px 48px rgba(8, 34, 69, 0.12);
  --shadow-strong: 0 24px 70px rgba(8, 34, 69, 0.2);
  --radius: 8px;
  --radius-lg: 24px;
  --container: min(1240px, calc(100% - 32px));
  --nav-height: 78px;
  --header-height: 118px;
  --parallax-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(100, 185, 47, 0.5);
  outline-offset: 4px;
}

.svg-sprite {
  display: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 92px 0;
  scroll-margin-top: var(--header-height);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--green-600);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--yellow-500));
  content: "";
}

.section-heading .section-kicker,
.section-heading.light .section-kicker {
  justify-content: center;
}

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

h1,
h2,
h3 {
  color: var(--blue-900);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 6vw, 5.15rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  font-weight: 850;
}

p {
  color: var(--muted);
}

.btn,
.header-cta {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary,
.header-cta {
  background: linear-gradient(135deg, var(--green-600), var(--blue-800));
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(65, 166, 42, 0.24);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(8, 34, 69, 0.2);
}

.ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: ripple 0.65s ease-out forwards;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.24s ease, background 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 42px rgba(8, 34, 69, 0.12);
  backdrop-filter: blur(16px);
}

.top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, var(--blue-900), var(--blue-800));
  color: #ffffff;
  font-size: 0.84rem;
}

.top-bar-inner,
.top-contact-group,
.top-link,
.top-social {
  display: flex;
  align-items: center;
}

.top-bar-inner {
  min-height: 40px;
  justify-content: space-between;
  gap: 18px;
}

.top-contact-group {
  gap: 12px;
  min-width: 0;
}

.top-link {
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
  white-space: nowrap;
}

.top-link:hover {
  color: #ffffff;
}

.top-link svg,
.top-social svg,
.footer-socials svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.top-social {
  width: 28px;
  height: 28px;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-shell {
  position: relative;
  display: flex;
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: 182px;
  height: 58px;
  align-items: center;
}

.brand img,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.5vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 18px 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 10px;
  height: 3px;
  transform: scaleX(0);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--yellow-500));
  content: "";
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-800);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--blue-900);
  cursor: pointer;
}

.menu-toggle svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.is-open .menu-icon {
  display: none;
}

.menu-toggle.is-open .close-icon {
  display: block;
}

.hero {
  position: relative;
  background: var(--blue-950);
  overflow: hidden;
  isolation: isolate;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 41.1vw, 680px);
  aspect-ratio: 1956 / 804;
  background: #ffffff;
}

.hero-slider-track,
.hero-slide,
.hero-slide picture,
.hero-slide img {
  position: absolute;
  inset: 0;
}

.hero-slider-track {
  overflow: hidden;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.72s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: clamp(38px, 4vw, 52px);
  height: clamp(38px, 4vw, 52px);
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue-900);
  box-shadow: 0 12px 30px rgba(8, 34, 69, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: #ffffff;
  color: var(--green-700);
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-prev {
  left: clamp(12px, 3vw, 40px);
}

.hero-prev svg {
  transform: rotate(180deg);
}

.hero-next {
  right: clamp(12px, 3vw, 40px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.4vw, 26px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(8, 34, 69, 0.24);
  padding: 8px 10px;
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--yellow-500);
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 3px solid rgba(255, 201, 40, 0.84);
  outline-offset: 3px;
}

.split-grid,
.monitor-grid,
.faq-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
}

.about-section {
  background: #ffffff;
}

.about-media {
  position: relative;
  min-height: 520px;
}

.about-main,
.about-overlap,
.faq-media img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.about-main {
  height: 430px;
  border-radius: 34px 34px 70px 34px;
}

.about-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58%, 420px);
  height: 250px;
  border: 8px solid #ffffff;
  border-radius: 32px 8px 32px 32px;
}

.section-copy p {
  font-size: 1.05rem;
}

.check-list,
.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list span {
  position: relative;
  min-width: 0;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.2em;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--yellow-500));
  content: "";
}

.check-list li::after {
  position: absolute;
  inset-inline-start: 7px;
  inset-block-start: 0.53em;
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  content: "";
  transform: rotate(-45deg);
}

.benefits-section {
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
}

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

.benefit-card {
  position: relative;
  display: flex;
  min-height: 230px;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 34px rgba(8, 34, 69, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.benefit-card:hover {
  transform: translateY(-7px);
  border-color: rgba(65, 166, 42, 0.35);
  box-shadow: 0 22px 56px rgba(8, 34, 69, 0.16);
}

.benefit-card svg {
  width: 54px;
  height: 54px;
  margin-bottom: auto;
  padding: 13px;
  border-radius: var(--radius);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 0.24s ease;
}

.benefit-card:hover svg {
  transform: translateY(-4px) rotate(-3deg);
}

.benefit-card h3,
.benefit-card p {
  position: relative;
  z-index: 1;
}

.benefit-card p {
  margin-bottom: 0;
}

.card-solid {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 58%, var(--green-700));
  color: #ffffff;
}

.card-solid h3,
.card-solid p {
  color: #ffffff;
}

.card-solid svg {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.card-white {
  background: #ffffff;
}

.card-white svg {
  background: linear-gradient(135deg, rgba(0, 62, 138, 0.1), rgba(65, 166, 42, 0.14));
  color: var(--blue-800);
}

.card-image {
  border: 0;
  color: #ffffff;
  padding: 0;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 34, 69, 0.06), rgba(8, 34, 69, 0.82));
  content: "";
}

.card-image:hover img {
  transform: scale(1.07);
}

.card-image div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.card-image h3,
.card-image p {
  color: #ffffff;
}

.card-overlay {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  transform: translateY(18px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-900);
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.benefit-card:hover .card-overlay,
.benefit-card:focus-within .card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.stats-band {
  padding: 54px 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 52%, var(--green-600));
  color: #ffffff;
}

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

.stat-item {
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-item strong {
  color: #ffffff;
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.25;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.monitoring-section {
  background: #ffffff;
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px 14px 12px 52px;
  box-shadow: 0 10px 24px rgba(8, 34, 69, 0.05);
}

.feature-list svg {
  position: absolute;
  left: 14px;
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 50%;
  background: var(--green-600);
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dashboard-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(350px, 100%);
  min-height: 620px;
  overflow: hidden;
  border: 12px solid #121722;
  border-radius: 42px;
  background:
    radial-gradient(circle at 80% 10%, rgba(100, 185, 47, 0.22), transparent 26%),
    linear-gradient(180deg, #ffffff, #edf5fb);
  box-shadow: var(--shadow-strong);
  padding: 48px 22px 26px;
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #121722;
}

.dashboard-card,
.dashboard-row > div {
  border: 1px solid rgba(0, 62, 138, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(8, 34, 69, 0.08);
}

.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.status-card span,
.dashboard-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.status-card strong {
  color: var(--green-600);
}

.dashboard-meter {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: 36px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 48%, transparent 49%),
    conic-gradient(var(--green-600), var(--yellow-500), var(--blue-800), var(--green-600));
  color: var(--blue-900);
  box-shadow: 0 14px 32px rgba(8, 34, 69, 0.14);
}

.dashboard-meter span {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: url("assets/logo-trio-power-symbol.png") center/82% no-repeat, #ffffff;
}

.dashboard-meter strong {
  position: relative;
  top: 68px;
  font-size: 0.88rem;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-row > div {
  padding: 16px;
}

.dashboard-row b {
  display: block;
  color: var(--blue-900);
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.dashboard-list span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 62, 138, 0.22), rgba(65, 166, 42, 0.18));
}

.dashboard-list span:nth-child(2) {
  width: 78%;
}

.dashboard-list span:nth-child(3) {
  width: 58%;
}

.services-section,
.process-section {
  background: var(--surface-cool);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.tab-button {
  position: relative;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-900);
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 34, 69, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tab-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(8, 34, 69, 0.12);
}

.tab-button.active {
  background: linear-gradient(135deg, var(--blue-800), var(--green-600));
  color: #ffffff;
}

.service-panels {
  position: relative;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
  animation: tabFade 0.28s ease;
}

.service-panel[hidden] {
  display: none;
}

.service-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
}

.service-panel span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green-600);
  font-weight: 900;
}

.service-panel p {
  margin-bottom: 0;
}

.promotion-section {
  background: #ffffff;
}

.promo-banner {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 34, 69, 0.88), rgba(8, 34, 69, 0.56), rgba(255, 255, 255, 0.08));
  content: "";
}

.promo-copy {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  align-self: center;
  padding: clamp(26px, 5vw, 56px);
}

.promo-badge {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 201, 40, 0.95);
  color: var(--blue-900);
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.promo-copy h3 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.promo-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 32px 0 0;
  list-style: none;
}

.process-timeline::before {
  position: absolute;
  top: 59px;
  left: 7%;
  right: 7%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-800), var(--green-600));
  content: "";
}

.process-timeline li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.process-timeline span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 5px solid var(--surface-cool);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-800), var(--green-600));
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(0, 62, 138, 0.24);
}

.process-timeline h3 {
  margin: 6px 0 0;
  color: var(--blue-900);
  font-size: 0.96rem;
}

.process-timeline p {
  margin: 0;
  font-size: 0.84rem;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  isolation: isolate;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(8, 34, 69, 0.9), rgba(0, 62, 138, 0.8), rgba(65, 166, 42, 0.56)),
    url("assets/banner-first-safety.png") center/cover no-repeat;
}

.contact-cta::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 25, 47, 0.18);
  content: "";
}

.section-heading.light h2,
.section-heading.light p {
  color: #ffffff;
}

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

.contact-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 186px;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 24px;
  color: var(--blue-900);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.contact-card svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--blue-800));
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-card span {
  color: var(--muted);
  font-weight: 850;
}

.contact-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.portfolio-section {
  background: #ffffff;
}

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

.portfolio-item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--blue-900);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(8, 34, 69, 0.1);
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.portfolio-item:nth-child(4) img,
.portfolio-item:nth-child(5) img,
.portfolio-item:nth-child(6) img {
  object-position: right center;
}

.portfolio-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 34, 69, 0.84));
  content: "";
  opacity: 0.78;
  transition: opacity 0.24s ease;
}

.portfolio-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #ffffff;
  font-weight: 900;
  text-align: left;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item:hover::after {
  opacity: 1;
}

.faq-section {
  background: linear-gradient(180deg, var(--surface-soft), #ffffff);
}

.faq-media img {
  height: 600px;
  border-radius: var(--radius-lg) var(--radius) var(--radius-lg) var(--radius);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 34, 69, 0.06);
}

.accordion-item button {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  padding: 18px 54px 18px 20px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion-item button::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    linear-gradient(var(--blue-800), var(--blue-800)) center/12px 2px no-repeat,
    linear-gradient(var(--blue-800), var(--blue-800)) center/2px 12px no-repeat;
  content: "";
  transition: transform 0.24s ease, background 0.24s ease;
}

.accordion-item.active button::after {
  transform: translateY(-50%) rotate(45deg);
  background:
    linear-gradient(#ffffff, #ffffff) center/12px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center/2px 12px no-repeat,
    linear-gradient(135deg, var(--green-600), var(--blue-800));
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.accordion-panel p {
  margin: 0;
  padding: 0 20px 20px;
}

.footer {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-900) 54%, var(--blue-800));
  color: #ffffff;
  padding: 62px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(160px, 0.7fr) minmax(210px, 0.9fr) minmax(230px, 1fr);
  gap: 34px;
}

.footer-logo {
  width: 210px;
  height: 92px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 8px;
}

.footer h2,
.footer h3 {
  color: #ffffff;
}

.footer h2 {
  font-size: 1.26rem;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer p,
.footer a,
.footer small {
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  display: block;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.footer a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a,
.footer-socials span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer-bottom {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  text-align: center;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  background: rgba(7, 25, 47, 0.86);
  padding: 28px;
}

.portfolio-modal[hidden] {
  display: none;
}

.modal-content {
  width: min(1040px, 100%);
  max-height: calc(100svh - 96px);
  overflow: auto;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-strong);
}

.modal-content img {
  width: 100%;
  max-height: calc(100svh - 180px);
  object-fit: contain;
  background: var(--blue-950);
}

.modal-content h2 {
  margin: 0;
  padding: 18px 22px 22px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue-900);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.modal-close svg,
.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(18px);
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--blue-800));
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  transform: translateY(26px);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

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

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

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

@keyframes tabFade {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 28px, 1060px);
  }

  .header-cta {
    display: none;
  }

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

  .process-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }

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

@media (max-width: 980px) {
  :root {
    --nav-height: 72px;
    --header-height: 112px;
  }

  .top-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    transform: translateY(-10px);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px;
    box-shadow: 0 18px 46px rgba(8, 34, 69, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

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

  .nav-links a {
    border-radius: var(--radius);
    padding: 13px 14px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--surface-soft);
  }

  .split-grid,
  .monitor-grid,
  .faq-grid,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 460px;
  }

  .about-main {
    height: 380px;
  }

  .stats-grid,
  .contact-card-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-media img {
    height: 420px;
  }
}

@media (max-width: 767px) {
  :root {
    --container: min(100% - 24px, 100%);
    --header-height: 108px;
  }

  .section {
    padding: 68px 0;
  }

  .top-bar-inner {
    min-height: 36px;
    justify-content: center;
  }

  .top-email {
    display: none;
  }

  .top-contact-group {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero-slider {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-dots {
    bottom: 8px;
    gap: 7px;
    padding: 6px 8px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.is-active {
    width: 22px;
  }

  .about-media {
    min-height: 390px;
  }

  .about-main {
    height: 320px;
    border-radius: 24px 24px 48px 24px;
  }

  .about-overlap {
    width: 70%;
    height: 180px;
    border-width: 6px;
    border-radius: 22px 8px 22px 22px;
  }

  .benefit-grid,
  .stats-grid,
  .contact-card-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 210px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(318px, 100%);
    min-height: 560px;
  }

  .service-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .tab-button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .promo-banner {
    min-height: 500px;
  }

  .promo-banner::after {
    background: linear-gradient(180deg, rgba(8, 34, 69, 0.9), rgba(8, 34, 69, 0.6));
  }

  .process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 0;
  }

  .process-timeline li {
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: start;
    column-gap: 14px;
    text-align: left;
  }

  .process-timeline li::before {
    position: absolute;
    left: 26px;
    top: 54px;
    bottom: -20px;
    width: 2px;
    background: rgba(0, 62, 138, 0.18);
    content: "";
  }

  .process-timeline li:last-child::before {
    display: none;
  }

  .process-timeline h3,
  .process-timeline p {
    grid-column: 2;
  }

  .process-timeline span {
    grid-row: span 2;
  }

  .contact-cta {
    padding: 68px 0;
  }

  .faq-media img {
    height: 310px;
  }

  .portfolio-modal {
    padding: 16px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 520px) {
  .top-link {
    font-size: 0.78rem;
  }

  .top-social {
    width: 26px;
    height: 26px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .btn,
  .header-cta {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
  }

  .about-media {
    min-height: 330px;
  }

  .about-main {
    height: 275px;
  }

  .about-overlap {
    height: 145px;
  }

  .benefit-card {
    padding: 20px;
  }

  .card-image div {
    padding: 20px;
  }

  .card-overlay {
    position: relative;
    inset: auto;
    margin-top: 12px;
    transform: none;
    opacity: 1;
  }

  .card-image .card-overlay {
    margin: 0 14px 14px;
  }

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

  .phone-frame {
    min-height: 620px;
  }

  .contact-card {
    min-height: 164px;
  }
}

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
