/*
Theme Name: AET IT
Theme URI: https://a-e-t.rs
Author: AET Team
Description: Custom WordPress tema za Aether Edge Technologies.
Version: 1.9.0
Text Domain: aet-it
*/

:root {
  --ink: #08111f;
  --ink-2: #13243a;
  --paper: #f6f8fb;
  --white: #ffffff;
  --muted: #627186;
  --line: #dbe3ee;
  --blue: #1267f3;
  --cyan: #26b7c8;
  --green: #80b918;
  --gold: #d99b2b;
  --navy: #030b1f;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(8, 17, 31, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

a { color: inherit; }

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

/* Public coming soon view */
.coming-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #eaf1ff;
  background:
    linear-gradient(135deg, rgba(18, 103, 243, 0.18) 0 25%, transparent 25% 50%, rgba(38, 183, 200, 0.12) 50% 75%, transparent 75%),
    linear-gradient(145deg, #030b1f, #0a1e47 48%, #10357a);
  background-size: 48px 48px, auto;
}

.panel {
  width: min(960px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 18, 43, 0.82);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 52px);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.logo-wrap img {
  display: block;
  width: min(540px, 100%);
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.coming-page .badge {
  color: #9ec4ff;
  border: 1px solid rgba(93, 156, 255, 0.42);
  border-radius: 999px;
  padding: 8px 12px;
}

.coming-page h1 {
  margin: 16px 0 8px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
}

.coming-page p {
  max-width: 700px;
  margin: 0;
  color: #a8bbdd;
  font-size: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.meta-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 11px 14px;
  color: #bed1f2;
}

.meta-item strong { color: #fff; }

.footer {
  margin-top: 34px;
  color: #97add3;
  font-size: 14px;
}

/* Admin-only full site preview */
.admin-ribbon {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 10px 12px;
  border: 1px solid rgba(8, 17, 31, 0.15);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(219, 227, 238, 0.78);
  background: rgba(246, 248, 251, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  min-width: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

.brand img {
  display: block;
  width: min(330px, 46vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.site-nav > *,
.hero > *,
.intro-section > *,
.contact-hero > *,
.contact-page-section > *,
.detail-hero > *,
.detail-section > *,
.footer-grid > * {
  min-width: 0;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(8, 17, 31, 0.12);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(8, 17, 31, 0.06);
}

.language-switcher a {
  min-width: 34px;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  background: var(--blue);
  color: #fff;
}

.mobile-menu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.mobile-menu-meta .mobile-menu-kicker {
  margin: 0;
}

.mobile-language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-language-switcher a {
  min-width: 38px;
  border-radius: 999px;
  padding: 8px 10px;
  color: #b7c9e5;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.mobile-language-switcher a.is-active,
.mobile-language-switcher a:hover {
  background: #fff;
  color: #06101f;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(8, 17, 31, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 17, 31, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  color: #fff;
  background: rgba(3, 11, 31, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.mobile-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-panel {
  min-height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 103, 243, 0.28), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(38, 183, 200, 0.2), transparent 28%),
    linear-gradient(135deg, #030b1f, #092149 58%, #062433);
  transform: translateY(14px) scale(0.985);
  transition: transform 220ms ease;
}

body.mobile-menu-open .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-right: 64px;
}

.mobile-menu-logo {
  width: min(270px, 72vw);
  flex: 0 1 min(270px, 72vw);
  display: inline-flex;
  border-radius: 12px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-menu-logo img {
  width: 100%;
}

.mobile-menu-close {
  position: fixed;
  top: 18px;
  right: auto;
  left: min(324px, calc(100vw - 66px));
  z-index: 2;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
}

.mobile-menu-kicker {
  margin: 8px 0 0;
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav {
  display: grid;
  gap: 14px;
}

.mobile-nav a {
  text-decoration: none;
}

.mobile-nav-main,
.mobile-nav-direct a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.mobile-nav-main::after,
.mobile-nav-direct a::after {
  content: "->";
  color: #7dd3fc;
  font-size: 16px;
}

.mobile-nav-group {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mobile-nav-group h2 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ec4ff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav-links {
  display: grid;
}

.mobile-nav-links a {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  color: #fff;
}

.mobile-nav-links a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links strong {
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.mobile-nav-links span {
  color: #b7c9e5;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.mobile-nav-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-menu-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.mobile-menu-footer a {
  color: #cfe1ff;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 6vw, 86px) clamp(48px, 8vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #030b1f, #12335c 52%, #113f4c);
  background-size: 42px 42px, 42px 42px, auto;
}

.hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: #c7d7ee;
  font-size: 20px;
}

.hero .eyebrow {
  color: #7dd3fc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.hero-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-system span {
  min-height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #d9e8ff;
  font-weight: 800;
}

.hero-system span:nth-child(3) {
  grid-column: span 2;
  color: #101827;
  background: #d9f99d;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 86px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.intro-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 560px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 11, 31, 0.92), rgba(3, 11, 31, 0.72) 44%, rgba(3, 11, 31, 0.34)),
    linear-gradient(0deg, rgba(18, 103, 243, 0.24), rgba(3, 11, 31, 0.08)),
    url("assets/img/generated/intro-process-background.jpg") center / cover no-repeat;
  overflow: hidden;
}

.intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 74%);
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.intro-section::after {
  content: "";
  position: absolute;
  right: clamp(28px, 7vw, 110px);
  bottom: clamp(28px, 6vw, 86px);
  width: clamp(110px, 16vw, 220px);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 34px rgba(38, 183, 200, 0.55);
}

.intro-section .section-heading {
  display: block;
  margin: 0;
}

.intro-section .eyebrow {
  color: #9ec4ff;
}

.intro-section h2 {
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

.intro-copy {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(5, 14, 34, 0.68);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color: #d8e6fa;
  font-size: 18px;
  backdrop-filter: blur(8px);
}

.intro-copy p {
  margin: 0;
}

.intro-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.intro-proof span {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #edf5ff;
  font-size: 14px;
  font-weight: 800;
}

.intro-proof strong {
  color: #74d9ff;
  font-size: 13px;
  letter-spacing: 0.12em;
}

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

.card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 17, 31, 0.06);
}

.card span {
  color: var(--blue);
  font-weight: 900;
}

.card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.card p,
.solution-list p,
.process p,
.tech-columns p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.section-contrast {
  color: #fff;
  background: #101827;
}

.section-contrast .eyebrow {
  color: #7dd3fc;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.18);
}

.solution-list article {
  min-height: 150px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.solution-list article:nth-child(odd) {
  padding-right: 34px;
}

.solution-list article:nth-child(even) {
  padding-left: 34px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

.solution-list h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.solution-list p {
  color: #bdcbe0;
}

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

.industry-grid span {
  display: flex;
  min-height: 82px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  font-weight: 800;
}

.industry-grid span:nth-child(3n) {
  border-left-color: var(--green);
}

.industry-grid span:nth-child(4n) {
  border-left-color: var(--gold);
}

.process-section {
  background: #fff;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process article {
  border-top: 4px solid var(--blue);
  padding: 18px 0 0;
}

.process strong {
  color: var(--blue);
}

.process h3 {
  margin: 12px 0 8px;
}

.tech-section {
  background: #eef3f8;
}

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

.tech-columns div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.tech-columns h3 {
  margin: 0 0 10px;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    #07101f;
  background-size: 36px 36px;
}

.contact-section .eyebrow {
  color: #7dd3fc;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}

.contact-panel p {
  max-width: 760px;
  color: #c7d7ee;
  font-size: 18px;
}

.contact-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-page-main {
  background: #eef3f8;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #030b1f, #0f2d55 52%, #0c4a5d);
  background-size: 40px 40px, 40px 40px, auto;
}

.contact-hero h1 {
  max-width: 980px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.contact-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #c7d7ee;
  font-size: 20px;
}

.contact-quick-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.contact-quick-card span {
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-quick-card a {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.contact-quick-card p {
  margin: 6px 0 0;
  color: #c7d7ee;
}

.contact-page-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: clamp(22px, 5vw, 52px);
  align-items: start;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.contact-form-card,
.contact-location-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(8, 17, 31, 0.08);
}

.contact-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-form-card h2,
.contact-location-card h2 {
  margin: 8px 0 22px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  padding: 13px 14px;
  background: #f8fbff;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(18, 103, 243, 0.16);
  border-color: var(--blue);
  background: #fff;
}

.contact-form-wide {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-message {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.form-message-success {
  border: 1px solid rgba(128, 185, 24, 0.3);
  background: rgba(128, 185, 24, 0.12);
  color: #315f00;
}

.form-message-error {
  border: 1px solid rgba(217, 67, 67, 0.26);
  background: rgba(217, 67, 67, 0.1);
  color: #8d1f1f;
}

.contact-location-card {
  overflow: hidden;
}

.contact-location-card > .eyebrow,
.contact-location-card > h2,
.contact-info-list {
  margin-left: clamp(22px, 3vw, 32px);
  margin-right: clamp(22px, 3vw, 32px);
}

.contact-location-card > .eyebrow {
  margin-top: clamp(22px, 3vw, 32px);
}

.contact-info-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-info-list span {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
}

.contact-info-list strong {
  color: var(--ink);
}

.contact-info-list a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.map-frame {
  width: 100%;
  height: 430px;
  border-top: 1px solid var(--line);
  background: #dbe3ee;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  position: relative;
  padding: clamp(52px, 7vw, 86px) clamp(20px, 6vw, 86px) 28px;
  color: #d7e5f8;
  background:
    radial-gradient(circle at 15% 10%, rgba(18, 103, 243, 0.22), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(38, 183, 200, 0.16), transparent 30%),
    linear-gradient(135deg, #030b1f, #07172d 52%, #06101f);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.42;
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 0.55fr));
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 20px;
}

.footer-logo {
  width: min(360px, 100%);
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.footer-brand p {
  max-width: 640px;
  margin: 0;
  color: #afc1da;
  font-size: 17px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span {
  border: 1px solid rgba(158, 196, 255, 0.34);
  border-radius: 999px;
  padding: 8px 10px;
  color: #9ec4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: #afc1da;
  font-size: 15px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: clamp(18px, 3vw, 32px);
}

.footer-cta {
  width: fit-content;
  margin-top: 8px;
  border: 1px solid rgba(158, 196, 255, 0.44);
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(38px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  color: #7f93b1;
  font-size: 14px;
}

.site-footer img {
  width: 100%;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding-left: clamp(18px, 3vw, 42px);
    padding-right: clamp(18px, 3vw, 42px);
  }

  .brand img {
    width: min(280px, 38vw);
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .card-grid,
  .tech-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 1080px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    padding-top: 12px;
    padding-right: 84px;
    padding-bottom: 12px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .brand img {
    width: min(270px, 68vw);
  }

  .brand {
    flex: 1 1 auto;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: 12px;
    right: auto;
    left: min(324px, calc(100vw - 66px));
    z-index: 30;
    display: inline-grid;
    flex: 0 0 auto;
    margin-left: 12px;
  }

  .mobile-menu {
    display: block;
  }

  .contact-hero,
  .contact-page-section {
    grid-template-columns: 1fr;
  }

  .contact-quick-card {
    align-self: stretch;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-system {
    grid-template-columns: 1fr;
  }

  .hero-system span:nth-child(3) {
    grid-column: auto;
  }

  .section-heading,
  .intro-section {
    grid-template-columns: 1fr;
  }

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

  .solution-list article,
  .solution-list article:nth-child(even),
  .solution-list article:nth-child(odd) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .intro-section {
    min-height: auto;
    background-position: center right;
  }

  .intro-copy {
    background: rgba(5, 14, 34, 0.78);
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .card-grid,
  .process,
  .tech-columns,
  .industry-grid,
  .footer-grid,
  .intro-proof {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .section,
  .contact-page-section,
  .contact-hero,
  .detail-hero,
  .detail-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .contact-hero h1,
  .detail-hero h1 {
    max-width: min(100%, 340px);
    font-size: 34px;
    line-height: 1.04;
    text-wrap: wrap;
  }

  .hero-copy,
  .intro-copy,
  .contact-panel p {
    font-size: 16px;
  }

  .meta-item,
  .btn,
  .contact-panel-actions .btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 20px;
  }

  .map-frame {
    height: 340px;
  }

  .mobile-nav-direct {
    grid-template-columns: 1fr;
  }

  .mobile-menu-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-menu-panel {
    width: min(100%, 390px);
  }

  .admin-ribbon {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Expanded site preview */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 18px 0;
  margin: -18px 0;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-item > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 25;
  width: min(720px, 92vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

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

.site-nav .nav-item:nth-child(3) .dropdown {
  right: 0;
  left: auto;
  transform: translate(0, 8px);
}

.site-nav .nav-item:nth-child(3):hover .dropdown,
.site-nav .nav-item:nth-child(3):focus-within .dropdown {
  transform: translate(0, 0);
}

.dropdown a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
}

.dropdown a:hover {
  background: #eef3f8;
}

.dropdown span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.hero-gallery {
  display: grid;
  gap: 12px;
}

.hero-gallery img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-gallery div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-gallery span {
  min-height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #d9e8ff;
  font-weight: 800;
}

.image-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 17, 31, 0.06);
  color: var(--ink);
  overflow: hidden;
  text-decoration: none;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.image-card span,
.image-card h3,
.image-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.image-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-card h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.2;
}

.image-card p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
}

.image-card:hover,
.industry-grid a:hover,
.mini-card:hover {
  transform: translateY(-3px);
  transition: transform 180ms ease;
}

.solution-list {
  gap: 0;
}

.solution-list a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 170px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
}

.solution-list a:nth-child(even) {
  border-left: 1px solid rgba(255,255,255,0.18);
}

.solution-list img {
  width: 150px;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 8px;
}

.industry-grid a {
  display: grid;
  gap: 10px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.industry-grid a:nth-child(3n) {
  border-left-color: var(--green);
}

.industry-grid a:nth-child(4n) {
  border-left-color: var(--gold);
}

.industry-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 6px;
}

.industry-grid strong {
  font-size: 19px;
}

.industry-grid span {
  display: block;
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

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

.tech-columns img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.detail-main {
  background: #fff;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #07101f, #12335c 55%, #184d57);
  background-size: 40px 40px, 40px 40px, auto;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.detail-hero p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: #c7d7ee;
  font-size: 20px;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: #9ec4ff;
  font-weight: 800;
  text-decoration: none;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.45fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 86px);
}

.detail-copy {
  display: grid;
  gap: 22px;
  color: var(--ink-2);
  font-size: 21px;
}

.detail-copy p {
  margin: 0;
}

.detail-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #f7fafc;
}

.detail-panel h2 {
  margin: 0 0 16px;
}

.detail-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.result-section {
  background: #eef3f8;
}

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

.result-grid article {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.result-grid span {
  width: 38px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

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

.mini-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .dropdown {
    left: 0;
    transform: translate(0, 8px);
  }

  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    transform: translate(0, 0);
  }

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

@media (max-width: 820px) {
  .dropdown {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    display: grid;
  }

  .site-nav .nav-item:nth-child(3) .dropdown,
  .site-nav .nav-item:nth-child(3):hover .dropdown,
  .site-nav .nav-item:nth-child(3):focus-within .dropdown {
    right: auto;
    left: auto;
    transform: none;
  }

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

  .detail-hero,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .solution-list a {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .solution-list a:nth-child(even) {
    border-left: 0;
  }

  .solution-list img {
    width: 100%;
    aspect-ratio: 1.7;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .tech-columns,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }
}
