﻿:root {
  --primary: #2979B6;
  --primary-dark: #1A4F7A;
  --secondary: #0E3558;
  --accent: #EE4023;
  --accent-hover: #C9341A;
  --brand-green: #138D48;
  --brand-blue: #2979B6;
  --surface: #F3F6F9;
  --text: #152028;
  --muted: #5A6A72;
  --white: #ffffff;
  --border: #d5dde0;
  --shadow: 0 10px 30px rgba(14, 53, 88, 0.1);
  --radius: 6px;
  --container: 1140px;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* Top bar */
.topbar {
  background: var(--accent);
  color: #ffe8e3;
  font-size: 0.875rem;
  padding: 0.55rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: flex-end;
  align-items: center;
}
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: flex-end;
}
.topbar a { color: #ffe8e3; font-weight: 700; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }

/* Header / Nav */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
}
.brand:hover { color: var(--primary); }
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.brand-text .brand-title {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
}
.brand-title .brand-smart { color: var(--brand-green); }
.brand-title .brand-engineering { color: var(--brand-blue); }
.brand-title .brand-solutions { color: var(--accent); }
.brand-text .brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #cfd8dc;
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
}

.main-nav {
  flex-shrink: 0;
}
.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem 0.2rem;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 0.5rem 0.55rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(238, 64, 35, 0.08);
}
.main-nav .nav-btn {
  background: var(--accent);
  color: var(--white) !important;
  border: 2px solid var(--accent);
  padding: 0.45rem 0.8rem;
  margin-left: 0.25rem;
}
.main-nav .nav-btn:hover,
.main-nav .nav-btn.active {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}
.btn-dark {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  min-height: min(78vh, 640px);
  color: var(--white);
  overflow: hidden;
  background: var(--primary-dark);
}
.carousel-track { position: relative; min-height: inherit; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: end;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(14, 53, 88, 0.92) 0%, rgba(26, 79, 122, 0.72) 48%, rgba(238, 64, 35, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4.2rem;
  max-width: 720px;
}
.hero-kicker {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #FFB4A6;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.hero-carousel h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.hero-carousel p {
  font-size: 1.05rem;
  color: #dce7eb;
  margin-bottom: 1.5rem;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.carousel-btn:hover { background: rgba(238, 64, 35,0.9); }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.carousel-dots .dot.is-active { background: var(--accent); }

/* Page banner */
.page-banner {
  background:
    linear-gradient(120deg, rgba(14, 53, 88, 0.94), rgba(41, 121, 182, 0.78)),
    linear-gradient(160deg, var(--secondary), var(--primary));
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.4rem;
}
.page-banner p { color: #d5e2e7; max-width: 640px; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--surface); }
.section-head {
  margin-bottom: 2rem;
  max-width: 680px;
}
.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.section-head h2,
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.section-head p,
.lead { color: var(--muted); }

/* Cards / grids */
.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid #e4eaed;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(41, 121, 182, 0.16);
}
.card-body { padding: 1.25rem 1.3rem 1.4rem; }
.card-media {
  position: relative;
  width: 100%;
  height: 200px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 53, 88, 0.88), rgba(41, 121, 182, 0.55) 55%, rgba(238, 64, 35, 0.4)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 10px, transparent 10px 20px);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0;
}
.card-media:not(:has(img)) {
  padding: 1rem;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.45rem;
}
.card p { color: var(--muted); font-size: 0.95rem; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 0.35rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(41, 121, 182,0.08);
  color: var(--primary);
}
.badge-accent {
  background: rgba(238, 64, 35,0.15);
  color: var(--accent-hover);
}

.focus-card .card-body { padding-top: 1.5rem; }
.focus-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.service-item {
  padding: 1.4rem;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background-color: rgba(41, 121, 182, 0.08);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}
.icon-epc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V8l7-5 7 5v13M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.icon-design { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 4v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V7l8-4z'/%3E%3Cpath d='M9 12h6M12 9v6'/%3E%3C/svg%3E"); }
.icon-civil { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M2 20h20M4 20V10h4v10M10 20V6h4v14M16 20v-8h4v8'/%3E%3C/svg%3E"); }
.icon-erect { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v18M7 8l5-5 5 5M7 16l5 5 5-5'/%3E%3C/svg%3E"); }
.icon-test { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6M10 3v5l-5 9a4 4 0 003.5 6h7a4 4 0 003.5-6l-5-9V3'/%3E%3C/svg%3E"); }
.icon-construct { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 7l3-3 3 3-3 3M3 21l8.5-8.5M11 8l5 5M8 14l-5 5'/%3E%3C/svg%3E"); }
.icon-telecom { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 21V10M8 21h8M12 10l6 8H6l6-8zM12 4a2 2 0 110-0.01'/%3E%3C/svg%3E"); }
.icon-manage { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 19V5M4 19h16M8 15V9m4 6V7m4 8v-4'/%3E%3C/svg%3E"); }
.icon-supply { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h18l-1.5 11h-15L3 7zM8 7V5a4 4 0 018 0v2'/%3E%3C/svg%3E"); }
.service-item h3 {
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}
.service-item p { color: var(--muted); font-size: 0.93rem; }

/* About / content */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split-media {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(41, 121, 182,0.9), rgba(26, 79, 122,0.75)),
    repeating-linear-gradient(-30deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
  color: var(--white);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.split-media strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.ceo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e4eaed;
  max-width: 280px;
  width: 100%;
  margin-inline: auto;
}
.ceo-card img {
  width: 280px;
  max-width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
}
.ceo-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}
.ceo-card-body strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
}
.ceo-card-body span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin: 0.2rem 0 0.6rem;
}
.ceo-card-body p { color: var(--muted); font-size: 0.95rem; }

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--secondary) 0%, #163E63 55%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3.2rem 0;
}
.stats-head { max-width: 680px; margin-bottom: 2rem; }
.stats-head .section-kicker { color: #FFB4A6; }
.stats-head h2 { color: var(--white); }
.stats-head p { color: #d5e2e7; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.2rem 0.8rem;
}
.stat-item strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #FFD2C4;
  line-height: 1.1;
}
.stat-item span {
  color: #d5e2e7;
  font-size: 0.92rem;
}

/* Clients */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.client-pill {
  padding: 0.7rem 1rem;
  background: var(--white);
  border: 1px solid #e0e6e9;
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}
.clients-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.clients-viewport {
  overflow: hidden;
  width: 100%;
}
.clients-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.client-card {
  background: var(--white);
  border: 1px solid #e4eaed;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 0.9rem 1.1rem;
  text-align: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 180px;
}
.client-card img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  margin: 0 auto 0.55rem;
  background: #fff;
}
.client-card span {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clients-nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
}
.clients-nav:hover { background: var(--accent); }

@media (max-width: 639px) {
  .client-card { width: 150px; }
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filters a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #d7e0e4;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.88rem;
}
.filters a.active,
.filters a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Team */
.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e4eaed;
  box-shadow: var(--shadow);
  height: 100%;
}
.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.team-card .role { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.team-card .exp { color: var(--muted); font-size: 0.85rem; margin-top: 0.35rem; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid #e4eaed;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #e8eef1;
  color: var(--muted);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.15rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--secondary);
}
.form-control {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cfd8dc;
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
.form-control:focus {
  outline: 2px solid rgba(41, 121, 182,0.25);
  border-color: var(--primary);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.alert-success {
  background: #e8f6ef;
  color: #1d6b45;
  border: 1px solid #b7e0c8;
}
.alert-error {
  background: #fdeceb;
  color: #a13228;
  border: 1px solid #f3c3be;
}

.content-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid #e4eaed;
  box-shadow: var(--shadow);
}
.content-block p { color: var(--muted); margin-bottom: 1rem; }
.content-block ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
}
.content-block li { margin-bottom: 0.45rem; }
.feature-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.feature-list li {
  list-style: none;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  color: var(--secondary);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #c9d4d9;
  padding: 3rem 0 1.25rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}
.site-footer a { color: #c9d4d9; }
.site-footer a:hover { color: #FFB4A6; }
.site-footer ul li { margin-bottom: 0.45rem; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  line-height: 1.45;
}
.footer-contact li span:last-child { flex: 1; }
.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
}
.icon-office {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V8l7-4 7 4v13M9 21v-6h6v6'/%3E%3C/svg%3E");
}
.icon-factory {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M2 21h20M4 21V10l6 4V10l6 4V7h4v14'/%3E%3C/svg%3E");
}
.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6 19.8 19.8 0 01-3.1-8.7A2 2 0 014.1 2h3a2 2 0 012 1.7c.1.9.3 1.8.6 2.6a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.5-1.1a2 2 0 012.1-.4c.8.3 1.7.5 2.6.6a2 2 0 011.7 2z'/%3E%3C/svg%3E");
}
.icon-mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E");
}
.icon-web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23A8D4F5' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E");
}
.contact-list .contact-icon {
  margin-top: 0.35rem;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-list .icon-office {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18M5 21V8l7-4 7 4v13M9 21v-6h6v6'/%3E%3C/svg%3E");
}
.contact-list .icon-factory {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M2 21h20M4 21V10l6 4V10l6 4V7h4v14'/%3E%3C/svg%3E");
}
.contact-list .icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 01-2.2 2 19.8 19.8 0 01-8.6-3.1 19.5 19.5 0 01-6-6 19.8 19.8 0 01-3.1-8.7A2 2 0 014.1 2h3a2 2 0 012 1.7c.1.9.3 1.8.6 2.6a2 2 0 01-.5 2.1L8.1 9.9a16 16 0 006 6l1.5-1.1a2 2 0 012.1-.4c.8.3 1.7.5 2.6.6a2 2 0 011.7 2z'/%3E%3C/svg%3E");
}
.contact-list .icon-mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
.contact-list .icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E");
}
.contact-list .icon-web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232979B6' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E");
}
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  text-decoration: none;
  max-width: 420px;
}
.footer-brand-block:hover { color: inherit; }
.footer-brand-block .brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
}
.footer-brand-block .brand-title {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
}
.footer-brand-block .brand-smart { color: var(--brand-green); }
.footer-brand-block .brand-engineering { color: var(--brand-blue); }
.footer-brand-block .brand-solutions { color: var(--accent); }
.footer-brand-block .footer-tagline {
  display: block;
  font-size: 0.75rem;
  color: #c9d4d9;
  font-weight: 400;
  margin-top: 0.15rem;
}
.footer-brand-block:hover .brand-smart { color: var(--brand-green); }
.footer-brand-block:hover .brand-engineering { color: var(--brand-blue); }
.footer-brand-block:hover .brand-solutions { color: var(--accent); }
.footer-brand-block:hover .footer-tagline { color: #c9d4d9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

/* Compact desktop: MacBook / mid-width browsers */
@media (min-width: 1101px) and (max-width: 1280px) {
  .brand { max-width: 300px; }
  .brand-text .brand-title { font-size: 0.95rem; }
  .brand-text .brand-tagline { display: none; }
  .main-nav a { padding: 0.45rem 0.4rem; font-size: 0.82rem; }
  .main-nav .nav-btn { padding: 0.4rem 0.7rem; font-size: 0.82rem; }
}

@media (min-width: 1281px) {
  .brand { max-width: 440px; }
  .main-nav a { padding: 0.55rem 0.7rem; font-size: 0.9rem; }
  .main-nav .nav-btn { padding: 0.5rem 0.9rem; }
}

/* Hamburger for tablet / MacBook mid-width / mobile */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .brand { max-width: none; flex: 1 1 auto; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid #e4eaed;
    display: none;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    z-index: 1001;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .main-nav a { padding: 0.8rem 0.9rem; font-size: 0.95rem; }
  .main-nav .nav-btn {
    margin: 0.35rem 0 0;
    text-align: center;
    width: 100%;
  }
  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .hero-carousel { min-height: 70vh; }
  .hero-content { padding: 3.2rem 0 3.4rem; }
  .section { padding: 3rem 0; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; min-width: 140px; }
  .carousel-btn { width: 38px; height: 38px; }
  .brand-text .brand-tagline { display: none; }
}
