/* =============================================================
   INTELLIGENTIA ARTIFICIALIS — style.css
   Mobile-first, no frameworks, pure CSS
============================================================= */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --color-navy:     #1E3A5F;
  --color-navy-mid: #1a334f;
  --color-navy-dark:#162a42;
  --color-blue:     #2E86C1;
  --color-blue-mid: #2676aa;
  --color-bg:       #F8F9FA;
  --color-text:     #1C2833;
  --color-divider:  #D5D8DC;
  --color-white:    #ffffff;
  --color-grey:     #6b7280;
  --color-grey-light: #e5e7eb;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-height: 100px;
  --container:  1200px;
  --radius:     6px;
  --radius-lg:  12px;

  --shadow-card: 0 2px 16px rgba(30, 58, 95, 0.08);
  --shadow-hover: 0 12px 40px rgba(30, 58, 95, 0.14);

  --transition: 0.2s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-grey);
  max-width: 600px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: 48px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-blue-mid);
  border-color: var(--color-blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 134, 193, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-1px);
}

.btn-coming-soon {
  background-color: var(--color-grey-light);
  color: #9ca3af;
  border-color: var(--color-grey-light);
  cursor: not-allowed;
  pointer-events: none;
  padding: 9px 20px;
  font-size: 0.82rem;
}

/* ── Focus Styles ────────────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* =============================================================
   HEADER / NAVIGATION
============================================================= */

#site-header {
  position: relative;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-navy-dark);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header.is-scrolled {
  background-color: var(--color-navy-dark);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}


.logo-mark {
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-primary {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.87rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link-live {
  color: rgba(255, 255, 255, 0.85);
}

/* Dropdown trigger button */
.nav-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.87rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: none;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
}

.nav-item-btn:hover,
.nav-item-btn:focus-visible {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.chevron {
  transition: transform var(--transition);
}

.has-dropdown.is-active .chevron,
.has-dropdown:focus-within .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background-color: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
  padding: 6px;
}

.has-dropdown.is-active .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--color-text);
  border-radius: 4px;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background-color: var(--color-bg);
  color: var(--color-navy);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
  color: var(--color-white);
  border-radius: var(--radius);
  transition: background-color var(--transition);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.8px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}


/* =============================================================
   HERO
============================================================= */

/* Keyframes */
@keyframes heroWordIn {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes geoFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(8deg); }
}

@keyframes geoFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(14px) rotate(-6deg); }
}

@keyframes geoFloat3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-10px) scale(1.06); }
}

@keyframes geoFloat4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(12deg); }
  66%       { transform: translateY(8px) rotate(-8deg); }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-navy);
  overflow: hidden;
  padding-top: 0;
}

/* Geometric grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 134, 193, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 134, 193, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 0;
}

/* Radial glow overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(46, 134, 193, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(46, 134, 193, 0.1) 0%, transparent 60%);
  z-index: 1;
}

/* Floating geometric shapes */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.geo-shape {
  position: absolute;
  border-radius: 4px;
}

.geo-shape-1 {
  width: 90px;
  height: 90px;
  top: 15%;
  right: 10%;
  border: 1.5px solid rgba(46, 134, 193, 0.45);
  animation: geoFloat1 8s ease-in-out infinite;
}

.geo-shape-2 {
  width: 50px;
  height: 50px;
  top: 58%;
  right: 20%;
  border: 1.5px solid rgba(46, 134, 193, 0.35);
  transform: rotate(45deg);
  animation: geoFloat2 10s ease-in-out infinite 1.5s;
}

.geo-shape-3 {
  width: 140px;
  height: 140px;
  top: 22%;
  right: 26%;
  border: 1px solid rgba(46, 134, 193, 0.2);
  border-radius: 50%;
  animation: geoFloat3 12s ease-in-out infinite 0.5s;
}

.geo-shape-4 {
  width: 32px;
  height: 32px;
  top: 72%;
  right: 8%;
  background-color: rgba(46, 134, 193, 0.15);
  border: 1.5px solid rgba(46, 134, 193, 0.4);
  transform: rotate(30deg);
  animation: geoFloat4 9s ease-in-out infinite 2s;
}

/* ── Hero network constellation ── */
.hero-network {
  flex: 0 0 42%;
  max-width: 420px;
  height: auto;
  align-self: center;
  pointer-events: none;
  overflow: visible;
  animation: netFloat 6s ease-in-out infinite alternate;
}

@keyframes netFloat {
  from { transform: translateY(0px);  }
  to   { transform: translateY(-8px); }
}

@keyframes netPulse {
  from { transform: scale(1);   opacity: 0.35; }
  to   { transform: scale(1.5); opacity: 0.8;  }
}

@keyframes netLineDash {
  from { stroke-dashoffset: 0;   }
  to   { stroke-dashoffset: -26; }
}

@keyframes netOrbit1 {
  0%   { transform: translate(18px,  0px);  }
  25%  { transform: translate(0px,   18px); }
  50%  { transform: translate(-18px, 0px);  }
  75%  { transform: translate(0px,  -18px); }
  100% { transform: translate(18px,  0px);  }
}

@keyframes netOrbit2 {
  0%   { transform: translate(-14px, 0px);  }
  25%  { transform: translate(0px,  -14px); }
  50%  { transform: translate(14px,  0px);  }
  75%  { transform: translate(0px,   14px); }
  100% { transform: translate(-14px, 0px);  }
}

/* Line dash animation — delay and dasharray set per-element by script.js */

/* Pulse & orbit nodes */
.net-pulse-1,
.net-pulse-2,
.net-pulse-3,
.net-pulse-4,
.net-orbit-1,
.net-orbit-2 {
  transform-box: fill-box;
  transform-origin: center;
}

.net-pulse-1 { animation: netPulse  2.5s ease-in-out infinite alternate;       }
.net-pulse-2 { animation: netPulse  2.5s ease-in-out infinite alternate 0.8s;  }
.net-pulse-3 { animation: netPulse  2.5s ease-in-out infinite alternate 1.6s;  }
.net-pulse-4 { animation: netPulse  2.5s ease-in-out infinite alternate 2.4s;  }
.net-orbit-1 { animation: netOrbit1 14s  linear      infinite;                  }
.net-orbit-2 { animation: netOrbit2 18s  linear      infinite 4s;               }

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.hero-text {
  max-width: 720px;
}

/* Word-by-word entrance animation */
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.22;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-word:nth-child(1) { animation-delay: 0.1s; }
.hero-word:nth-child(2) { animation-delay: 0.2s; }
.hero-word:nth-child(3) { animation-delay: 0.3s; }
.hero-word:nth-child(4) { animation-delay: 0.38s; }
.hero-word:nth-child(5) { animation-delay: 0.46s; }
.hero-word:nth-child(6) { animation-delay: 0.54s; }

.hero-fade-in {
  opacity: 0;
  animation: heroFadeIn 0.65s ease forwards;
}

.hero-sub.hero-fade-in  { animation-delay: 0.72s; }
.hero-ctas.hero-fade-in { animation-delay: 0.88s; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0;
}

.hero-stat {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
  text-align: center;
}

.stat-label-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}

.stat-label-link:hover {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}


/* =============================================================
   SECTION — IOT SOLUTIONS
============================================================= */

.solutions {
  background-color: var(--color-bg);
  padding: 96px 0 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Service cards */
.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(46, 134, 193, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: 22px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.card-body {
  font-size: 0.92rem;
  color: var(--color-grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--color-blue-mid);
  text-decoration: underline;
}

/* IoT Live Banner */
.iot-banner {
  margin-top: 64px;
  background-color: var(--color-navy-dark);
  padding: 48px 24px;
}

.iot-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.iot-banner-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--color-white);
  margin-bottom: 8px;
}

.iot-banner-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}


/* =============================================================
   SECTION — MOBILE APPS
============================================================= */

.apps {
  background-color: var(--color-white);
  padding: 96px 0 96px;
}

/* App cards — lighter, more consumer feel */
.app-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.app-card-inner {
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-badge {
  display: inline-block;
  background-color: rgba(46, 134, 193, 0.1);
  color: var(--color-blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.app-badge-2026 {
  background-color: rgba(30, 58, 95, 0.07);
  color: var(--color-navy);
}

.app-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.app-body {
  font-size: 0.9rem;
  color: var(--color-grey);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.app-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

.apps-footnote {
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--color-grey);
  text-align: center;
}


/* =============================================================
   SECTION — ABOUT
============================================================= */

.about {
  background-color: var(--color-bg);
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.about-body p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 400;
}

.point-marker {
  color: var(--color-blue);
  font-size: 0.6rem;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* Decorative visual */
.about-visual {
  display: none;
}

.about-visual-inner {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-navy);
}

.about-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.about-mark-large {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 155px;
}


/* =============================================================
   SECTION — CONTACT
============================================================= */

.contact {
  background-color: var(--color-white);
  padding: 96px 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-type {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-grey);
}

.contact-email {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-divider);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
  display: inline-block;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
}

.contact-divider {
  width: 40px;
  height: 1px;
  background-color: var(--color-divider);
}

.contact-note {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--color-grey);
  margin-bottom: 48px;
}

/* Timezone strip */
.timezone-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--color-divider);
  padding-top: 32px;
}

.tz-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tz-city {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy);
}

.tz-zone {
  font-size: 0.75rem;
  color: var(--color-grey);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.tz-connector {
  color: var(--color-divider);
  font-size: 1.2rem;
  line-height: 1;
}


/* =============================================================
   FOOTER
============================================================= */

.site-footer {
  background-color: var(--color-navy-dark);
  padding-top: 56px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-lockup > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-logo-primary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.footer-logo-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-white);
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-copy p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-strip {
  text-align: center;
  padding: 16px 24px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}


/* =============================================================
   RESPONSIVE — TABLET (768px+)
============================================================= */

@media (min-width: 768px) {

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

  .about-visual {
    display: block;
  }

  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .contact-divider {
    width: 1px;
    height: auto;
    min-height: 60px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .hero-stats {
    max-width: 600px;
  }

  .iot-banner-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}


/* =============================================================
   RESPONSIVE — DESKTOP (1024px+)
============================================================= */

@media (min-width: 1024px) {

  /* Show desktop nav, hide hamburger */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

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

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .hero-content {
    padding: 60px 24px;
  }

  .hero-stats {
    max-width: var(--container);
  }
}


/* =============================================================
   MOBILE NAV OPEN STATE
============================================================= */

@media (max-width: 1023px) {

  .nav-container {
    flex-wrap: wrap;
    gap: 0;
    height: auto;
    min-height: var(--nav-height);
    padding: 0 20px;
  }

  .nav-logo {
    height: var(--nav-height);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--color-navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: max-height 0.3s ease;
    order: 3;
  }

  .nav-links.is-open {
    max-height: 480px;
  }

  .nav-links > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link,
  .nav-item-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.95rem;
    justify-content: space-between;
    border-radius: 0;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0;
  }

  .has-dropdown.is-active .dropdown {
    max-height: 200px;
  }

  .dropdown-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 32px;
    border-radius: 0;
  }

  .dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
  }

  .chevron {
    color: rgba(255, 255, 255, 0.5);
  }
}


/* =============================================================
   REDUCED MOTION
============================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

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

  .hero-word {
    opacity: 1;
    animation: none;
  }

  .hero-fade-in {
    opacity: 1;
    animation: none;
  }

  .geo-shape {
    animation: none;
  }
}
