﻿:root {
  --navy: #0d1b3d;
  --navy-deep: #071027;
  --navy-soft: #142857;
  --orange: #ff6a00;
  --orange-dark: #d94f00;
  --paper: #fbfcff;
  --white: #ffffff;
  --soft: #f4f7fc;
  --line: #dfe5ee;
  --text: #15213d;
  --muted: #687189;
  --shadow: 0 24px 70px rgba(13, 27, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration: none;
}

[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: var(--white);
  border-bottom: 1px solid rgba(223, 229, 238, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(292px, 48vw);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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


.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 17, 45, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: var(--orange-dark);
  background: #fff3eb;
}

.dropdown-menu a::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 6vw, 80px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 252, 255, 0.98) 0%, rgba(251, 252, 255, 0.92) 38%, rgba(251, 252, 255, 0.28) 72%),
    linear-gradient(0deg, rgba(13, 27, 61, 0.12), rgba(13, 27, 61, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  line-height: 1;
  font-weight: 900;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.1;
  font-weight: 800;
}

h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 800;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 520px;
  margin-top: 22px;
  color: #3f4961;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.brochure-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brochure-link:hover {
  color: var(--orange-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(13, 27, 61, 0.16);
}

.section {
  padding: 78px clamp(20px, 6vw, 80px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.tech-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 44px;
  align-items: end;
  color: var(--white);
  background: var(--navy);
}

.tech-strip h2 {
  color: var(--white);
}

.tech-strip p:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.services {
  background:
    linear-gradient(180deg, var(--paper), var(--soft));
}

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

.service-card {
  min-height: 210px;
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(13, 27, 61, 0.06);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--orange);
  background: #fff0e7;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.service-card h3,
.service-card p {
  color: inherit;
}

.service-card p,
.industry-grid p,
.advantage-row p,
.smart-home p,
.scenario-card p,
.about p,
.contact p,
address {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card:hover {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(13, 27, 61, 0.24);
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.service-card:hover span {
  color: var(--white);
  background: var(--orange);
}

.industries {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.96), rgba(217, 79, 0, 0.96)),
    var(--orange);
}

.industries h2,
.industries h3 {
  color: var(--white);
}

.industries .eyebrow {
  color: var(--navy-deep);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
}

.industry-grid article {
  min-height: 170px;
  padding: 24px;
  background: rgba(13, 27, 61, 0.92);
}

.industry-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.industry-grid a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
}

.advantages {
  background: var(--white);
}

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

.advantage-row div {
  min-height: 160px;
  padding: 24px;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--soft);
}

.advantage-row strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.96rem;
}

.smart-home {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 36px;
  align-items: start;
  background: var(--soft);
}

.smart-home-intro {
  position: sticky;
  top: 98px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.smart-home-intro h2,
.smart-home-intro p {
  color: var(--white);
}

.smart-home-intro .button {
  margin-top: 24px;
}

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

.home-service-list article {
  min-height: 150px;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 80px) 78px;
  background: var(--soft);
}

.scenario-card {
  min-height: 180px;
  padding: 26px;
  color: var(--white);
  background: var(--navy);
}

.scenario-card:first-child {
  border-radius: 8px 0 0 8px;
}

.scenario-card:last-child {
  border-radius: 0 8px 8px 0;
}

.scenario-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 800;
}

.scenario-card p {
  color: rgba(255, 255, 255, 0.78);
}

.devices {
  background: var(--white);
}

.device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.device-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--navy);
  background: #fff0e7;
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 44px;
  align-items: center;
  background: var(--navy-deep);
}

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

.about p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-stats div {
  min-height: 130px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.about-stats strong {
  display: block;
  color: var(--orange);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.about-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: 44px;
  align-items: start;
  background: var(--paper);
}

.contact p {
  margin-top: 18px;
}

address {
  margin-top: 24px;
  font-style: normal;
}

address strong {
  color: var(--navy);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel a {
  display: block;
  padding: 16px;
  color: var(--navy);
  background: var(--soft);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-panel a span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.socials span {
  padding: 7px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  gap: 0;
  padding: 64px clamp(20px, 6vw, 80px) 26px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-deep);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--orange);
  font-weight: 800;
}

.page-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 80px) 72px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 16, 39, 0.96), rgba(20, 40, 87, 0.92)),
    var(--navy);
}

.page-hero.orange-page {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.96), rgba(13, 27, 61, 0.94)),
    var(--orange);
}

.page-hero > div {
  width: min(760px, 100%);
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.page-hero .button {
  margin-top: 28px;
}

.page-hero .eyebrow {
  color: var(--orange);
}

.orange-page .eyebrow {
  color: var(--navy-deep);
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 42px;
  align-items: end;
  background: var(--white);
}

.detail-intro > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-grid-section {
  background: var(--soft);
}

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

.detail-grid article {
  min-height: 172px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(13, 27, 61, 0.06);
}

.detail-grid article:nth-child(2n) {
  border-top: 4px solid var(--orange);
}

.detail-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-scenarios {
  padding-top: 78px;
  background: var(--white);
}

@media (max-width: 980px) {
  .service-grid,
  .industry-grid,
  .scenario-band,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 840px) {
  .site-header {
    padding: 12px 20px;
  }

  .brand {
    width: min(232px, 62vw);
  }



.nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px 0;
  }
  /* Mobile dropdown menu */
  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    gap: 2px;
    min-width: 0;
    margin: 0 0 8px;
    padding: 6px 0 8px 14px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu a {
    padding: 9px 10px;
    white-space: normal;
  }

  .hero {
    min-height: 82vh;
    padding: 108px 20px 60px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 252, 255, 0.97), rgba(251, 252, 255, 0.8)),
      linear-gradient(0deg, rgba(251, 252, 255, 0.92), rgba(251, 252, 255, 0) 48%);
  }

  .section,
  .tech-strip,
  .smart-home,
  .about,
  .contact,
  .detail-intro {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .page-hero {
    min-height: 60vh;
    padding: 112px 20px 60px;
  }

  .smart-home-intro {
    position: static;
  }

  .home-service-list,
  .service-grid,
  .industry-grid,
  .advantage-row,
  .scenario-band,
  .about-stats,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .scenario-band {
    padding: 0 20px 60px;
  }

  .scenario-card:first-child,
  .scenario-card:last-child {
    border-radius: 0;
  }

  .scenario-card:first-child {
    border-radius: 8px 8px 0 0;
  }

  .scenario-card:last-child {
    border-radius: 0 0 8px 8px;
  }


}

@media (max-width: 480px) {
  h1 {
    font-size: 2.22rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-card,
  .industry-grid article,
  .smart-home-intro,
  .home-service-list article,
  .contact-panel {
    padding: 20px;
  }
}

.client-logos {
  overflow: hidden;
  background: var(--white);
}

.logo-slider {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 24s linear infinite;
}

.logo-track span,
.logo-grid div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 92px;
  flex: 0 0 auto;
  color: #8790a4;
  background: #e5e8ee;
  border: 1px solid #d1d7e2;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.story-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--soft);
}

.story-blocks article,
.mission-vision article,
.values-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(13, 27, 61, 0.06);
}

.story-blocks p:not(.eyebrow),
.values-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-section,
.values-section {
  background: var(--soft);
}

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

.logo-grid div {
  width: 100%;
  height: 116px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
}

.mission-vision h2 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

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

.values-grid article {
  min-height: 180px;
  border-top: 4px solid var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
    flex-wrap: wrap;
  }
}
/* Responsive additions for partner and story sections */
@media (max-width: 980px) {
  .logo-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .story-blocks,
  .mission-vision,
  .logo-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .story-blocks,
  .mission-vision {
    padding: 60px 20px;
  }

  .logo-track span {
    width: 150px;
    height: 84px;
  }
}
.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: 44px;
  width: 100%;
  align-items: start;
}

.footer-contact h2,
.footer-contact p,
.footer-contact address {
  color: var(--white);
}

.footer-contact p:not(.eyebrow),
.footer-contact address {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer-contact address strong {
  color: var(--white);
}

.footer-contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.footer-contact-panel a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding-top: 26px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 840px) {
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  background: var(--orange);
  border-color: var(--orange);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Light footer theme */
.site-footer {
  color: #111827;
  background: #eef1f5;
  border-top: 1px solid #d7dde7;
}

.site-footer a,
.footer-contact h2,
.footer-contact p,
.footer-contact address,
.footer-contact address strong {
  color: #111827;
}

.footer-contact p:not(.eyebrow),
.footer-contact address,
.footer-bottom {
  color: #4b5565;
}

.footer-contact-panel {
  background: #ffffff;
  border-color: #d7dde7;
  box-shadow: 0 12px 36px rgba(13, 27, 61, 0.08);
}

.footer-contact-panel a {
  color: #111827;
  background: #f7f8fb;
}

.footer-contact-panel a span,
.site-footer a {
  color: var(--orange);
}

.footer-bottom {
  border-top-color: #d7dde7;
}

.social-icon {
  color: #111827;
  background: #ffffff;
  border-color: #d7dde7;
}

.social-icon:hover {
  color: #ffffff;
  background: var(--orange);
  border-color: var(--orange);
}
/* Two-color footer finish */
.site-footer {
  padding-bottom: 0;
  background: #eef1f5;
}

.footer-bottom {
  width: calc(100% + (clamp(20px, 6vw, 80px) * 2));
  margin-right: calc(clamp(20px, 6vw, 80px) * -1);
  margin-left: calc(clamp(20px, 6vw, 80px) * -1);
  margin-bottom: 0;
  padding: 22px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.78);
  background: #05070c;
  border-top: 0;
}

.footer-bottom a {
  color: var(--orange);
}
/* Social icons with names */
.social-icon {
  width: auto;
  min-width: 0;
  height: 38px;
  gap: 8px;
  padding: 0 12px;
  color: #111827;
  background: #ffffff;
  border-color: #d7dde7;
}

.social-icon span {
  color: #111827;
  font-size: 0.74rem;
  font-weight: 800;
}

.social-icon:hover span {
  color: #ffffff;
}
/* Clean black social badges */
.site-footer .social-icon {
  gap: 9px;
  height: 40px;
  padding: 0 13px 0 10px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #cfd6e2;
  border-radius: 8px;
}

.site-footer .social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer .linkedin .social-mark,
.site-footer .facebook .social-mark {
  font-family: Arial, sans-serif;
}

.site-footer .social-name {
  color: #111827;
  font-size: 0.74rem;
  font-weight: 800;
}

.site-footer .social-icon:hover {
  color: #111827;
  background: #f8fafc;
  border-color: #aeb8c8;
  transform: translateY(-1px);
}

.site-footer .social-icon:hover .social-mark,
.site-footer .social-icon:hover .social-name {
  color: #111827;
}
/* Final polished footer socials */
.site-footer .socials {
  gap: 14px;
  padding-top: 18px;
}

.site-footer .social-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: auto;
  padding: 0;
  color: #111827 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .social-mark {
  width: 30px;
  height: 30px;
  color: #ffffff !important;
  background: #111827 !important;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.site-footer .social-name {
  color: #111827 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer .social-icon:hover {
  transform: translateY(-1px);
}

.site-footer .social-icon:hover .social-mark {
  background: var(--orange) !important;
  color: #ffffff !important;
}

.site-footer .social-icon:hover .social-name {
  color: #111827 !important;
}
/* Final footer composition */
.site-footer {
  padding: 60px clamp(20px, 6vw, 80px) 0;
  color: #111827;
  background: #e9edf3;
  border-top: 1px solid #d4dbe6;
}

.site-footer .eyebrow {
  color: #111827;
}

.footer-contact {
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr) minmax(280px, 0.95fr);
  gap: 26px;
  align-items: stretch;
}

.footer-contact > div:first-child,
.footer-map,
.footer-contact-panel {
  min-height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d4dbe6;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(13, 27, 61, 0.08);
}

.footer-contact h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.footer-contact p:not(.eyebrow),
.footer-contact address,
.map-address span {
  color: #485468;
}

.footer-contact address {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2e7ef;
}

.footer-map {
  display: grid;
  gap: 14px;
}

.footer-map iframe {
  width: 100%;
  min-height: 210px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(1) contrast(0.98);
}

.map-address {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  background: #f6f8fb;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
}

.map-address strong {
  color: #111827;
  font-size: 0.86rem;
}

.map-address span {
  font-size: 0.78rem;
}

.footer-contact-panel {
  align-content: start;
  box-shadow: 0 18px 45px rgba(13, 27, 61, 0.08);
}

.footer-contact-panel a:not(.social-icon) {
  padding: 14px 15px;
  color: #111827;
  background: #f6f8fb;
  border: 1px solid #e2e7ef;
}

.footer-contact-panel a:not(.social-icon) span {
  color: var(--orange);
}

.site-footer .socials {
  gap: 12px 16px;
  padding-top: 18px;
}

.site-footer .social-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827 !important;
  background: transparent !important;
  border: 0 !important;
}

.site-footer .social-mark {
  width: 28px;
  height: 28px;
  color: #ffffff !important;
  background: #111827 !important;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
}

.site-footer .social-name {
  color: #111827 !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-bottom {
  width: calc(100% + (clamp(20px, 6vw, 80px) * 2));
  margin: 42px calc(clamp(20px, 6vw, 80px) * -1) 0;
  padding: 20px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.78);
  background: #05070c;
  border-top: 0;
}

.footer-bottom a {
  color: var(--orange);
}

@media (max-width: 1080px) {
  .footer-contact {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact-panel {
    grid-column: auto;
  }

  .footer-map iframe {
    min-height: 190px;
  }
}
/* About Us overview section */
.about-overview {
  background: var(--paper);
}

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

.about-metrics article {
  min-height: 150px;
  padding: 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(13, 27, 61, 0.1);
}

.about-metrics strong {
  display: block;
  color: #e31b2f;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 900;
}

.about-metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.about-metrics p {
  margin-top: 6px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-story-card {
  margin-top: 64px;
  padding: clamp(28px, 4vw, 46px);
  background: #fff8f8;
  border: 1px solid rgba(227, 27, 47, 0.18);
  border-radius: 8px;
}

.about-story-card h2 {
  text-align: center;
}

.about-story-card p {
  max-width: 1080px;
  margin: 24px auto 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

.about-story-card p:first-of-type {
  margin-top: 26px;
}

@media (max-width: 980px) {
  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-metrics {
    grid-template-columns: 1fr;
  }
}
/* About Us polish pass */
.about-us-hero {
  min-height: 76vh;
}

.about-us-hero > div {
  width: min(900px, 100%);
}

.about-hero-note {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.about-hero-note strong,
.about-hero-note span {
  color: var(--white);
}

.about-hero-note strong {
  font-size: 0.95rem;
}

.about-hero-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.about-overview {
  padding-top: 70px;
  background: linear-gradient(180deg, var(--paper), #f7f9fc);
}

.about-metrics article {
  position: relative;
  overflow: hidden;
}

.about-metrics article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--orange);
}

.about-story-card {
  background: linear-gradient(145deg, #fff8f8, #ffffff);
  box-shadow: 0 20px 58px rgba(13, 27, 61, 0.08);
}

.about-focus-section {
  background: var(--white);
}

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

.about-focus-grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-focus-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--orange);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.about-focus-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.values-section {
  background: linear-gradient(180deg, var(--soft), var(--paper));
}

.values-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.values-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(13, 27, 61, 0.12);
}

@media (max-width: 980px) {
  .about-focus-grid {
    grid-template-columns: 1fr;
  }
}
/* Home automation page refresh */
.home-control-section {
  background: var(--white);
}

.home-control-section .section-heading {
  max-width: 760px;
}

.home-control-section .section-heading p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 500;
}

.platform-list {
  margin-top: 28px;
}

.platform-list span {
  background: #f7f9fc;
  border-color: #dbe2ec;
  color: var(--navy);
}

.smart-scenarios {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f2f5f9 18%, #edf2f7 100%);
  border-top: 1px solid #e4ebf3;
  border-bottom: 1px solid #dfe7f0;
}

.smart-scenarios .section-heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.scenario-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.scenario-feature-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(5, 17, 45, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(5, 17, 45, 0.11);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.scenario-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(5, 17, 45, 0.15);
}

.smart-scenarios::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  height: 4px;
  background: var(--orange);
  border-radius: 0 0 8px 8px;
}
.scenario-image {
  position: relative;
  min-height: 248px;
  background-image: linear-gradient(145deg, rgba(4, 18, 47, 0.16), rgba(255, 106, 0, 0.18)), url("assets/hero-corporate.png");
  background-position: center;
  background-size: cover;
}

.scenario-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
}

.scenario-image::after {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(5, 17, 45, 0.78);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scenario-morning {
  background-image: linear-gradient(145deg, rgba(255, 190, 92, 0.18), rgba(255, 255, 255, 0.04)), url("assets/home-morning-routine.png");
}

.scenario-morning::after {
  content: "Lights + Curtains + Coffee";
}

.scenario-away {
  background-image: linear-gradient(145deg, rgba(5, 17, 45, 0.26), rgba(26, 98, 145, 0.08)), url("assets/home-away-mode.png");
}

.scenario-away::after {
  content: "Security + CCTV + Energy";
}

.scenario-movie {
  background-image: linear-gradient(145deg, rgba(5, 17, 45, 0.24), rgba(255, 106, 0, 0.10)), url("assets/home-movie-night.png");
}

.scenario-movie::after {
  content: "Lights + Curtains + Media";
}

.scenario-copy {
  padding: 24px;
}

.scenario-copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 900;
}

.scenario-copy p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .scenario-gallery {
    grid-template-columns: 1fr;
  }

  
.scenario-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(5, 17, 45, 0.15);
}

.smart-scenarios::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  height: 4px;
  background: var(--orange);
  border-radius: 0 0 8px 8px;
}
.scenario-image {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  
.scenario-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(5, 17, 45, 0.15);
}

.smart-scenarios::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  height: 4px;
  background: var(--orange);
  border-radius: 0 0 8px 8px;
}
.scenario-image {
    min-height: 210px;
  }

  .scenario-copy {
    padding: 20px;
  }
}






