/*
  Domtech Dark / Light Frontend V16
  ----------------------------------------------------
  Structure:
  01. Theme variables
  02. Reset and layout helpers
  03. Static portfolio-style background
  04. Loader
  05. Header and navigation
  06. Buttons and typography
  07. Home sections
  08. Inner pages
  09. Services tabs
  10. Contact page
  11. Footer
  12. Animations and responsive rules
*/

/* 01. Theme variables */
:root {
  --bg: #111111;
  --bg-soft: #121418;

  --surface: rgba(22, 26, 32, 0.86);
  --surface-solid: #181c22;
  --surface-light: #20262e;

  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f5f7fb;
  --muted: #b6beca;
  --muted-2: #89919e;

  --red: #ed1c24;
  --red-dark: #a81017;

  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);

  --radius: 28px;
  --scroll-y: 0px;
}

body.light-theme {
  --bg: #f5f6f8;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --surface-light: #eef1f5;
  --border: rgba(12, 18, 28, 0.13);
  --border-strong: rgba(12, 18, 28, 0.22);
  --text: #11151c;
  --muted: #515b69;
  --muted-2: #737d8a;
  --shadow: 0 24px 80px rgba(20, 28, 38, 0.14);
}

/* 02. Reset and layout helpers */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.center {
  text-align: center;
}

.section {
  position: relative;
  padding: 84px 0;
}

.section::before,
.compact-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.10), transparent 58%);
  pointer-events: none;
  filter: blur(6px);
  opacity: 0.75;
}

/* 03. Static portfolio-style background */
.background-effects {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(237, 28, 36, 0.20), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(237, 28, 36, 0.09), transparent 28%),
    linear-gradient(180deg, #1f2022 0%, #1a1b1d 56%, #1f2022 100%);
  background-size: 86px 86px, 86px 86px, auto, auto, auto;
}

body.light-theme .background-effects {
  background:
    linear-gradient(90deg, rgba(20, 24, 30, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(20, 24, 30, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(237, 28, 36, 0.12), transparent 36%),
    radial-gradient(circle at 96% 18%, rgba(237, 28, 36, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f6f8 58%, #eef1f5 100%);
  background-size: 86px 86px, 86px 86px, auto, auto, auto;
}

.circuit-layer {
  position: fixed;
  width: min(520px, 58vw);
  height: min(520px, 58vw);
  opacity: 0.32;
  background-repeat: no-repeat;
  background-size: contain;
  transform: none;
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238e949d' stroke-width='3' opacity='.75'%3E%3Cpath d='M24 54h120l42 42h84l42-42h140'/%3E%3Cpath d='M24 104h84l58 58h120l54-54h112'/%3E%3Cpath d='M24 154h64l66 66h150l44-44h104'/%3E%3Cpath d='M24 204h96l52 52h230'/%3E%3Cpath d='M24 254h142l46 46h240'/%3E%3Cpath d='M24 304h82l64-64h74'/%3E%3Cpath d='M24 354h132l60-60h236'/%3E%3Cpath d='M24 404h196l42-42h190'/%3E%3Cpath d='M88 154v92l44 44v122'/%3E%3Cpath d='M144 54v72l62 62v112'/%3E%3Cpath d='M312 54v74l-52 52v86'/%3E%3Cpath d='M402 256v84l50 50v88'/%3E%3C/g%3E%3Cg fill='%238e949d' opacity='.55'%3E%3Crect x='18' y='48' width='12' height='12' rx='2'/%3E%3Crect x='446' y='48' width='12' height='12' rx='2'/%3E%3Crect x='18' y='98' width='12' height='12' rx='2'/%3E%3Crect x='446' y='102' width='12' height='12' rx='2'/%3E%3Crect x='18' y='198' width='12' height='12' rx='2'/%3E%3Crect x='446' y='250' width='12' height='12' rx='2'/%3E%3Crect x='18' y='398' width='12' height='12' rx='2'/%3E%3Crect x='446' y='472' width='12' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}

.circuit-layer-one {
  top: 80px;
  left: 0;
}

.circuit-layer-two {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

body.light-theme .circuit-layer {
  opacity: 0.2;
}

/* Dots removed because they made the background feel busy while scrolling. */
.circuit-nodes {
  display: none;
}

.red-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.12);
  filter: blur(90px);
}

.red-glow-one {
  top: 16%;
  left: -80px;
}

.red-glow-two {
  right: -120px;
  bottom: 12%;
}

/* 04. Loader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.loader-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 270px;
  height: 120px;
}

/* Removed the circular loader behind the logo for a cleaner Domtech preload screen. */
.loader-logo-wrap::before {
  content: none;
}

.loader-box img {
  position: relative;
  z-index: 1;
  width: 220px;
  animation: loaderPulse 1.25s ease-in-out infinite alternate;
}

.loader-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader-track {
  width: 220px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-light);
}

.loader-track span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: loaderMove 1s linear infinite;
}

/* 05. Header and navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  padding: 12px 0;
  background: rgba(5, 6, 7, 0.86);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
}

body.light-theme .site-header.scrolled,
body.light-theme .site-header.menu-open {
  background: rgba(255, 255, 255, 0.86);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 0;
  transform: translateX(0);
}

.logo img {
  width: 174px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
  background: rgba(12, 18, 28, 0.07);
}

.has-dropdown {
  position: relative;
}

.chev {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  line-height: 1;
  transform: translateY(-1px);
  transition: none;
}

.has-dropdown:hover .chev {
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  width: 100%;
  border-radius: 12px;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 28, 36, 0.55);
}

.theme-toggle {
  position: relative;
  overflow: hidden;
}

.theme-icon {
  position: absolute;
  font-size: 1.12rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.theme-icon.sun {
  opacity: 0;
  transform: translateY(18px) rotate(-45deg);
}

.theme-icon.moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

body.light-theme .theme-icon.sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

body.light-theme .theme-icon.moon {
  opacity: 0;
  transform: translateY(-18px) rotate(45deg);
}

.menu-toggle {
  display: none;
}

/* 06. Buttons and typography */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #cf121b);
  box-shadow: 0 18px 46px rgba(237, 28, 36, 0.28);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

body.light-theme .btn-ghost {
  background: rgba(12, 18, 28, 0.04);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border: 1px solid rgba(237, 28, 36, 0.6);
  border-radius: 999px;
  color: var(--text);
  background: rgba(237, 28, 36, 0.08);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.1vw, 4.75rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.3vw, 3.35rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

/* 07. Home sections */
.page-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 140px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 32px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  max-width: 600px;
  min-height: 430px;
  height: auto;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 3.55rem);
  font-weight: 800;
  line-height: 1.06;
}
.hero-copy p {
  max-width: 720px;
  font-size: 1.14rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
  margin-top: auto;
}

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

.hero-stats-full {
  max-width: 100%;
  margin: 90px auto 0;
}

.stat {
  padding: 14px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.stat span {
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: 430px;
  margin-top: 0;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-card,
.map-card,
.panel-art,
.visual-panel {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(24, 28, 34, 0.92), rgba(10, 12, 15, 0.88));
  box-shadow: var(--shadow);
}

body.light-theme .dashboard-card,
body.light-theme .map-card,
body.light-theme .panel-art,
body.light-theme .visual-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 241, 245, 0.88));
}

.dashboard-card {
  position: absolute;
  inset: 30px 0 auto auto;
  width: min(520px, 100%);
  height: 390px;
  padding: 28px;
  border-radius: 34px;
}

.dash-top {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.dash-top span {
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: rgba(156, 166, 182, 0.36);
}

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

.dash-grid i {
  min-height: 105px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

body.light-theme .dash-grid i {
  background: rgba(12, 18, 28, 0.055);
}

.pulse-node {
  position: absolute;
  right: 46px;
  bottom: 46px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 20px rgba(237, 28, 36, 0.1), 0 0 70px rgba(237, 28, 36, 0.5);
  animation: pulseNode 1.8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 12px;
  max-width: 360px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.floating-card b,
.floating-card span {
  display: block;
}

.floating-card b {
  margin-bottom: 8px;
}

.floating-card span {
  color: var(--muted);
  line-height: 1.6;
}

.band {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(237, 28, 36, 0.15), rgba(255, 255, 255, 0.03), rgba(237, 28, 36, 0.15));
}

.marquee {
  display: flex;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  padding: 20px 34px;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.light-theme .marquee span {
  color: #11151c;
}

.marquee span::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 34px;
  border-radius: 50%;
  background: var(--red);
}

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

.card,
.info-card,
.timeline-item,
.partner-card,
.tabs-shell,
.contact-form,
.contact-info {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

body.light-theme .card,
body.light-theme .info-card,
body.light-theme .timeline-item,
body.light-theme .partner-card,
body.light-theme .tabs-shell,
body.light-theme .contact-form,
body.light-theme .contact-info {
  box-shadow: 0 20px 60px rgba(24, 34, 48, 0.11);
}

.card {
  min-height: 245px;
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.partner-card:hover,
.service-pillar-card:hover,
.service-feature-card:hover,
.info-card:hover,
.timeline-item:hover,
.process-step:hover,
.contact-method:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(237, 28, 36, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(237, 28, 36, 0.12);
  font-size: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 54px;
}

.visual-panel {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(156, 166, 182, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(156, 166, 182, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
}

.chip {
  position: absolute;
  z-index: 1;
  padding: 12px 18px;
  border: 1px solid rgba(237, 28, 36, 0.5);
  border-radius: 999px;
  background: rgba(237, 28, 36, 0.12);
  font-weight: 900;
}

.chip.one { top: 80px; left: 70px; }
.chip.two { top: 190px; right: 70px; }
.chip.three { bottom: 80px; left: 110px; }

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.check i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-style: normal;
  font-weight: 900;
}

.cta {
  padding: 48px;
  border: 1px solid rgba(237, 28, 36, 0.4);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(237, 28, 36, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(237, 28, 36, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.cta p {
  max-width: 760px;
  margin: 0 auto 26px;
}

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

.visual-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.visual-card-copy {
  padding: 18px 18px 20px;
}

.visual-card-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(237, 28, 36, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card-copy h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.visual-card-copy p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

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

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

/* 08. Inner pages */
.inner-hero {
  position: relative;
  padding: 142px 0 18px;
}

.compact-hero .eyebrow {
  margin-bottom: 10px;
}

.compact-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.compact-hero p {
  max-width: 880px;
  margin-bottom: 0;
}

.about-button {
  margin-top: 34px;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 24px;
}

.info-card strong,
.info-card span,
.info-card a {
  display: block;
}

.info-card strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.12rem;
}

.info-card span,
.info-card a {
  color: var(--muted);
  line-height: 1.65;
}

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

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 900;
}

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

.partner-card {
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.partner-card img {
  width: 100%;
  border-radius: 18px;
}

/* 09. Services tabs */
.services-hero {
  padding-bottom: 12px;
}

.services-tabs-section {
  padding-top: 8px;
}

.tabs-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 22px;
}

.tabs {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.tab-button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.light-theme .tab-button {
  background: rgba(12, 18, 28, 0.04);
}

.tab-button.active,
.tab-button:hover {
  color: #fff;
  border-color: rgba(237, 28, 36, 0.75);
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.92), rgba(168, 16, 23, 0.78));
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 26px;
  min-height: 0;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

body.light-theme .tab-panel {
  background: rgba(255, 255, 255, 0.72);
}

.tab-panel.active {
  display: grid;
  animation: fadeUp 0.35s ease both;
}

.panel-copy {
  max-width: 760px;
}

.panel-copy h2 {
  max-width: 720px;
  font-size: clamp(1.8rem, 2.8vw, 2.85rem);
}

.panel-copy p {
  max-width: 760px;
}

.service-list {
  display: grid;
  margin-top: 28px;
  gap: 12px;
}

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

.service-list span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  line-height: 1.35;
  background: rgba(5, 6, 7, 0.55);
}

.service-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--red);
}

body.light-theme .service-list span {
  background: rgba(255, 255, 255, 0.8);
}

.panel-art {
  display: none;
}

.device-art,
.server-art,
.shield-art,
.cloud-art,
.automation-art,
.web-art {
  width: 70%;
  aspect-ratio: 1.25;
  border: 3px solid rgba(156, 166, 182, 0.38);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(156, 166, 182, 0.22) 2px, transparent 2px),
    linear-gradient(rgba(156, 166, 182, 0.22) 2px, transparent 2px),
    radial-gradient(circle at 70% 35%, rgba(237, 28, 36, 0.5), transparent 18%);
  background-size: 42px 42px, 42px 42px, auto;
}

.server-art { border-radius: 12px; }
.shield-art { border-radius: 42px 42px 90px 90px; }
.cloud-art { border-radius: 90px; }
.automation-art { border-radius: 50%; }
.web-art { border-radius: 32px 32px 12px 12px; }

/* 10. Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info,
.contact-form {
  height: 100%;
}

.contact-info {
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-card {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.route-line {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 25%, rgba(156, 166, 182, 0.35) 26%, transparent 28%),
    linear-gradient(25deg, transparent 38%, rgba(237, 28, 36, 0.75) 39%, transparent 41%);
}

.pin {
  position: absolute;
  top: 40%;
  left: 43%;
  width: 88px;
  height: 88px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  transform: rotate(-45deg);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: var(--bg);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: rgba(5, 6, 7, 0.68);
  outline: none;
}

body.light-theme .contact-form input,
body.light-theme .contact-form select,
body.light-theme .contact-form textarea {
  background: rgba(255, 255, 255, 0.82);
}

.contact-form textarea {
  min-height: 142px;
  padding-top: 16px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

/* 11. Footer */
.site-footer {
  position: relative;
  padding: 66px 0 28px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(5, 6, 7, 0.92);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(237, 28, 36, 0.10), transparent 26%);
  pointer-events: none;
}

body.light-theme .site-footer {
  background: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.85fr 1fr;
  gap: 34px;
}

.footer-logo img {
  width: 170px;
  margin-bottom: 18px;
}

.site-footer h4 {
  margin: 0 0 16px;
}

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

.footer-links a,
.footer-links span {
  color: var(--muted);
  line-height: 1.55;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.92rem;
}

/* 12. Animations and responsive rules */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
  from { transform: scale(0.98); opacity: 0.75; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes loaderMove {
  from { transform: translateX(-100%); }
  to { transform: translateX(230%); }
}

@keyframes pulseNode {
  50% { transform: scale(1.08); }
}

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

@media (max-width: 1120px) {
  .logo {
    margin-left: clamp(20px, 3vw, 48px);
  }
}


@media (max-width: 1100px) {
  .tabs-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1020px) {
  .nav-btn {
    display: none;
  }

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

  .nav-links {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface-solid);
  }

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

  .nav-links a {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 4px 0 0;
    box-shadow: none;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
    margin-top: 0;
  }

  .card-grid,
  .timeline,
  .partners-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container,
  .narrow,
  .navbar {
    width: min(100% - 28px, 1180px);
  }

  .logo {
    margin-left: 0;
  }

  .logo img {
    width: 148px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.9rem);
  }

  .compact-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .page-hero {
    min-height: auto;
    padding-top: 128px;
  }

  .inner-hero {
    padding-top: 122px;
  }

  .hero-stats,
  .card-grid,
  .timeline,
  .partners-grid,
  .footer-grid,
  .eight-items {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    position: relative;
    height: 320px;
  }

  .floating-card {
    position: relative;
    margin-top: 18px;
  }

  .tab-panel,
  .cta {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* ----------------------------------------------------
   V9 refinements
   - Cleaner dropdown arrows
   - Services submenu
   - Structured service overview and individual pages
---------------------------------------------------- */

/* Keep dropdown arrows aligned beside text with no hover animation. */
.nav-links a {
  align-items: center;
}

.chev {
  position: relative;
  top: 0;
  margin-left: 3px;
  font-size: 0.78rem;
  line-height: 1;
  transform: none !important;
  transition: none !important;
}

.has-dropdown:hover .chev {
  transform: none !important;
}

.services-dropdown {
  min-width: 230px;
}

/* Remove the old sticky tabs behavior completely. */
.tabs {
  position: static;
  top: auto;
}

/* Services overview page */
.services-overview-section {
  padding-top: clamp(28px, 4vw, 54px);
}

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

.service-pillar-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  min-height: 360px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-pillar-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.2), transparent 68%);
  pointer-events: none;
}

body.light-theme .service-pillar-card {
  background: rgba(255, 255, 255, 0.78);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(237, 28, 36, 0.48);
  border-radius: 18px;
  color: var(--red);
  font-weight: 900;
  background: rgba(237, 28, 36, 0.08);
}

.service-pillar-card h2 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.25vw, 2.3rem);
}

.service-pillar-card p {
  color: var(--muted);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.mini-tags span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

body.light-theme .mini-tags span {
  background: rgba(12, 18, 28, 0.04);
}

.split-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
}

body.light-theme .split-card {
  background: rgba(255, 255, 255, 0.78);
}

/* Individual service pages */
.service-detail-section {
  padding-top: clamp(28px, 4vw, 52px);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.service-side-menu,
.service-detail-content {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

body.light-theme .service-side-menu,
body.light-theme .service-detail-content {
  background: rgba(255, 255, 255, 0.78);
}

.service-side-menu {
  padding: 20px;
}

.service-side-menu h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.service-side-menu a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 850;
}

.service-side-menu a:hover,
.service-side-menu a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.92), rgba(168, 16, 23, 0.76));
}

.service-detail-content {
  padding: clamp(26px, 4vw, 42px);
}

.service-detail-content h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
}

.detail-list {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .service-pillars-grid,
  .split-card,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-pillar-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .service-pillar-card {
    grid-template-columns: 1fr;
  }

  .pillar-number {
    width: 50px;
    height: 50px;
  }
}

/* V10 service page refinements
   Cleaner service structure, logo strips, and individual service detail pages. */
.nav-links a .chev,
.chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  top: auto;
  margin-left: 2px;
  line-height: 1;
  transform: none !important;
  transition: none !important;
}

.clean-service-grid .service-pillar-card {
  min-height: 420px;
}

.service-card-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.service-card-body p {
  margin-bottom: 0;
}

.service-card-btn {
  margin-top: auto;
}

.brand-strip {
  display: grid;
  gap: 12px;
  width: 100%;
}

.small-brand-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 28px;
}

.brand-strip img {
  display: block;
  width: 100%;
  height: 58px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.035);
}

body.light-theme .brand-strip img {
  background: rgba(12, 18, 28, 0.04);
}

.logo-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.brand-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

body.light-theme .brand-panel {
  background: rgba(255, 255, 255, 0.78);
}

.detail-brand-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.clean-detail-section {
  padding-top: clamp(28px, 4vw, 50px);
}

.full-width-detail {
  width: 100%;
}

.full-width-detail > p {
  max-width: 900px;
  margin-bottom: 26px;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.service-feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

body.light-theme .service-feature-card {
  background: rgba(12, 18, 28, 0.035);
}

.service-feature-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.1rem;
}

.service-feature-card p {
  font-size: 0.96rem;
  line-height: 1.65;
}

.service-audience-card {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

body.light-theme .service-audience-card {
  background: rgba(12, 18, 28, 0.035);
  box-shadow: 0 16px 36px rgba(18, 28, 40, 0.10);
}

.service-audience-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-audience-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .clean-service-grid .service-pillar-card {
    min-height: auto;
  }

  .small-brand-strip,
  .detail-brand-strip,
  .service-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .small-brand-strip,
  .detail-brand-strip,
  .service-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* V11: platform logos now live inside the individual service details */
.included-brand-panel {
  margin-top: 26px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

body.light-theme .included-brand-panel {
  background: rgba(12, 18, 28, 0.035);
}

.included-brand-panel .detail-brand-strip {
  margin-top: 16px;
}

/* V12: white SVG icons added beside individual service card titles */
.feature-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-title-row h3 {
  margin-bottom: 0;
}

.feature-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.light-theme .feature-icon {
  background: var(--primary);
  border-color: rgba(236, 28, 36, 0.35);
}

body.light-theme .feature-icon svg {
  stroke: #ffffff;
}

/* ----------------------------------------------------
   V15 refinements
   - Better homepage trust / audience sections
   - Cleaner Services process section
   - Removes the floating-text feeling by placing content inside panels
---------------------------------------------------- */

.trust-panel,
.who-panel,
.process-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

body.light-theme .trust-panel,
body.light-theme .who-panel,
body.light-theme .process-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 245, 0.78)),
    var(--surface);
  box-shadow: 0 22px 70px rgba(24, 34, 48, 0.11);
}

.trust-panel::after,
.who-panel::after,
.process-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.17), transparent 68%);
  pointer-events: none;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.trust-item {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 36px);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-item span,
.client-grid article span,
.process-step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  letter-spacing: -0.04em;
}

.trust-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.who-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(32px, 5vw, 60px);
}

.who-copy,
.process-copy,
.client-grid,
.process-grid {
  position: relative;
  z-index: 1;
}

.who-copy h2,
.process-copy h2 {
  max-width: 620px;
}

.who-copy p,
.process-copy p {
  max-width: 640px;
}

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

.client-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

body.light-theme .client-grid article {
  background: rgba(12, 18, 28, 0.035);
}

.client-grid article strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: -0.035em;
}

.client-grid article p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(32px, 5vw, 58px);
}

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

.process-step {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

body.light-theme .process-step {
  background: rgba(12, 18, 28, 0.035);
}

.process-step h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.18rem;
}

.process-step p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .trust-panel,
  .who-panel,
  .process-panel {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .client-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .who-panel,
  .process-panel {
    padding: 26px;
  }
}


/* ----------------------------------------------------
   V16 refinements
   - Real partner logo assets added
   - Brand logo cards work in dark and light mode
   - Fixed light-mode feature icons
   - Added final WhatsApp / Google Maps contact states
---------------------------------------------------- */

.brand-strip img,
.partner-card img {
  background: #ffffff;
  border-color: rgba(12, 18, 28, 0.10);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

body.light-theme .brand-strip img,
body.light-theme .partner-card img {
  background: #ffffff;
  border-color: rgba(12, 18, 28, 0.12);
  box-shadow: 0 12px 30px rgba(18, 28, 40, 0.10);
}

.partner-card {
  display: grid;
  place-items: center;
}

.partner-card img {
  height: 96px;
  padding: 16px;
  object-fit: contain;
}

.feature-icon {
  background: rgba(237, 28, 36, 0.16);
  border-color: rgba(237, 28, 36, 0.36);
}

body.light-theme .feature-icon {
  background: var(--red);
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.18);
}

body.light-theme .feature-icon svg {
  stroke: #ffffff;
}

.map-card {
  color: inherit;
  text-decoration: none;
}

.map-card:hover {
  border-color: rgba(237, 28, 36, 0.55);
  transform: translateY(-3px);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----------------------------------------------------
   V17 refinements
   - Removed Acronis
   - Larger partner logos for better visual balance
   - Contact card icon links
---------------------------------------------------- */
.partner-card {
  min-height: 134px;
}

.partner-card img {
  height: 112px;
  padding: 18px;
}

.brand-strip img {
  height: 76px;
  padding: 10px 16px;
}

.detail-brand-strip img {
  height: 82px;
}

.contact-methods-card {
  display: grid;
  gap: 12px;
}

.contact-methods-card strong {
  margin-bottom: 4px;
}

.contact-method {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 28, 36, 0.55);
  background: rgba(237, 28, 36, 0.08);
}

.contact-method-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(237, 28, 36, 0.22);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.light-theme .contact-method {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 700px) {
  .partner-card img {
    height: 96px;
  }

  .brand-strip img,
  .detail-brand-strip img {
    height: 68px;
  }
}


/* ----------------------------------------------------
   V18 refinements
   - Updated partner logos
   - Better homepage partner grid spacing
   - Cleaner contact icons
---------------------------------------------------- */
.home-brand-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}

.home-brand-strip img {
  height: 104px;
  padding: 18px 28px;
  border-radius: 20px;
}

.home-brand-strip img[alt="Microsoft"],
.home-brand-strip img[alt="Samsung"],
.home-brand-strip img[alt="Google Cloud"] {
  transform: scale(1.22);
}

.home-brand-strip img[alt="Cisco"],
.home-brand-strip img[alt="VMware"] {
  transform: scale(1.12);
}

.brand-panel {
  max-width: 1120px;
  margin-inline: auto;
}

.brand-panel .center {
  margin-top: 8px;
}

.partners-grid .partner-card {
  min-height: 142px;
  padding: 20px;
}

.partners-grid .partner-card img {
  height: 104px;
  width: 100%;
  padding: 16px 24px;
}

.partners-grid .partner-card img[alt*="Microsoft"],
.partners-grid .partner-card img[alt*="Samsung"],
.partners-grid .partner-card img[alt*="Kaspersky"],
.partners-grid .partner-card img[alt*="Western Digital"],
.partners-grid .partner-card img[alt*="Logitech"] {
  transform: scale(1.22);
}

.partners-grid .partner-card img[alt*="Cisco"],
.partners-grid .partner-card img[alt*="Vmware"],
.partners-grid .partner-card img[alt*="Veeam"] {
  transform: scale(1.12);
}

.contact-method {
  gap: 14px;
  padding: 14px 16px;
}

.contact-method-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.12);
  border: 1px solid rgba(237, 28, 36, 0.42);
  box-shadow: none;
}

.contact-method-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--red);
  stroke-width: 2.2;
}

body.light-theme .contact-method-icon {
  background: rgba(237, 28, 36, 0.10);
  border-color: rgba(237, 28, 36, 0.35);
}

body.light-theme .contact-method-icon svg {
  stroke: var(--red);
}

@media (max-width: 900px) {
  .home-brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-brand-strip {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   V20 refinements
   - Cleaner partners page cards
   - Contact icons without circles
   - Updated single-service platform logo presentation
---------------------------------------------------- */
.partners-grid {
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.partners-grid .partner-card {
  min-height: 132px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

body.light-theme .partners-grid .partner-card {
  border-color: rgba(12, 18, 28, 0.10);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 28, 40, 0.10);
}

.partners-grid .partner-card img {
  width: 100%;
  max-width: 220px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.partners-grid .partner-card img[alt*="Microsoft"],
.partners-grid .partner-card img[alt*="Samsung"],
.partners-grid .partner-card img[alt*="Kaspersky"],
.partners-grid .partner-card img[alt*="Western Digital"],
.partners-grid .partner-card img[alt*="Logitech"] {
  max-width: 235px;
  height: 82px;
}

.partners-grid .partner-card img[alt*="Intel"],
.partners-grid .partner-card img[alt*="Msi"],
.partners-grid .partner-card img[alt*="Kingston"],
.partners-grid .partner-card img[alt*="Cisco"],
.partners-grid .partner-card img[alt*="Vmware"],
.partners-grid .partner-card img[alt*="Veeam"] {
  max-width: 245px;
  height: 86px;
}

.included-brand-panel .detail-brand-strip {
  gap: 14px;
}

.included-brand-panel .detail-brand-strip img {
  height: 76px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

body.light-theme .included-brand-panel .detail-brand-strip img {
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 28, 40, 0.10);
}

.contact-method {
  gap: 16px;
}

.contact-method-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2;
}

body.light-theme .contact-method-icon {
  background: transparent;
  border: 0;
}

body.light-theme .contact-method-icon svg {
  stroke: var(--red);
}

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

@media (max-width: 560px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid .partner-card {
    min-height: 118px;
  }

  .partners-grid .partner-card img {
    height: 70px;
  }
}


/* ----------------------------------------------------
   V21 refinements
   - Balanced homepage partner logo grid
   - Cleaner full partners page logo cards
   - Contact icons without circles, white in dark mode and red in light mode
   - Google Maps iframe card styling
---------------------------------------------------- */
.home-brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.home-brand-strip img,
.home-brand-strip img[alt="Microsoft"],
.home-brand-strip img[alt="Samsung"],
.home-brand-strip img[alt="Google Cloud"],
.home-brand-strip img[alt="Cisco"],
.home-brand-strip img[alt="VMware"] {
  width: 100%;
  height: 96px;
  max-width: none;
  padding: 18px 26px;
  object-fit: contain;
  transform: none !important;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.brand-panel {
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.brand-panel .center {
  margin-top: 28px;
}

.partners-grid {
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.partners-grid .partner-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-soft);
}

body.light-theme .partners-grid .partner-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 18, 28, 0.10);
  box-shadow: 0 18px 42px rgba(18, 28, 40, 0.10);
}

.partners-grid .partner-card img,
.partners-grid .partner-card img[alt*="Microsoft"],
.partners-grid .partner-card img[alt*="Samsung"],
.partners-grid .partner-card img[alt*="Kaspersky"],
.partners-grid .partner-card img[alt*="Western Digital"],
.partners-grid .partner-card img[alt*="Logitech"],
.partners-grid .partner-card img[alt*="Intel"],
.partners-grid .partner-card img[alt*="Msi"],
.partners-grid .partner-card img[alt*="Kingston"],
.partners-grid .partner-card img[alt*="Cisco"],
.partners-grid .partner-card img[alt*="Vmware"],
.partners-grid .partner-card img[alt*="Veeam"] {
  width: 100%;
  max-width: none;
  height: 96px;
  padding: 18px 24px;
  object-fit: contain;
  transform: none !important;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(12, 18, 28, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.partners-grid .partner-card img[alt*="Microsoft"],
.partners-grid .partner-card img[alt*="Samsung"],
.partners-grid .partner-card img[alt*="Lenovo"],
.partners-grid .partner-card img[alt*="Kaspersky"] {
  padding: 22px 30px;
}

.map-embed-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 0;
  display: block;
}

.map-embed-card iframe {
  width: 100%;
  height: 320px;
  display: block;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.78);
}

body.light-theme .map-embed-card iframe {
  filter: grayscale(0.35) contrast(1) brightness(1.02);
}

.map-open-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(237, 28, 36, 0.24);
}

.contact-method {
  gap: 16px;
}

.contact-method-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-method-icon svg {
  width: 23px;
  height: 23px;
  stroke: #ffffff;
  stroke-width: 2;
}

body.light-theme .contact-method-icon svg {
  stroke: var(--red);
}

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

@media (max-width: 560px) {
  .home-brand-strip,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .home-brand-strip img,
  .partners-grid .partner-card img {
    height: 86px;
  }
}

/* Production contact form feedback */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.form-alert {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  color: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.form-alert.error {
  color: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

body.light-theme .form-alert.success {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}

body.light-theme .form-alert.error {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.12);
}

/* =========================================================
   Image visual replacements
   Used for homepage and partners visual sections
========================================================= */

.image-visual,
.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  min-height: auto;
  aspect-ratio: 4 / 3;
  z-index: 2;
}

.image-visual img,
.image-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-visual {
  min-height: 430px;
}

.image-panel {
  min-height: 430px;
}

.image-visual img {
  aspect-ratio: 4 / 3;
}

.image-panel img {
  aspect-ratio: 4 / 3;
}

/* Mobile image sizing */
@media (max-width: 768px) {
  .image-visual,
  .image-panel {
    min-height: 280px;
  }

  .image-visual img,
  .image-panel img {
    aspect-ratio: 16 / 11;
  }
}

.image-visual::before,
.image-visual::after,
.image-panel::before,
.image-panel::after {
  display: none !important;
}
/* Floating WhatsApp contact menu */
.whatsapp-widget {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: inherit;
}

.whatsapp-options {
  display: grid;
  gap: 10px;
  width: min(290px, calc(100vw - 36px));
  transform: translateY(8px) scale(.97);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.whatsapp-widget.is-open .whatsapp-options {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 11px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.whatsapp-option:hover,
.whatsapp-option:focus-visible {
  transform: translateX(-3px);
  border-color: #25d366;
  outline: none;
}

.whatsapp-option-icon,
.whatsapp-launcher-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #20b85a;
  border-radius: 50%;
}

.whatsapp-option-icon {
  width: 40px;
  height: 40px;
}

.whatsapp-option-icon svg { width: 22px; height: 22px; }
.whatsapp-option-copy { display: grid; gap: 3px; }
.whatsapp-option-copy strong { font-size: 14px; line-height: 1.2; }
.whatsapp-option-copy span { color: var(--muted); font-size: 12px; }

.whatsapp-launcher {
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #20b85a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.whatsapp-launcher:hover { transform: translateY(-2px); background: #16a34a; }
.whatsapp-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.whatsapp-launcher-icon { width: 100%; height: 100%; background: transparent; }
.whatsapp-launcher-icon svg { width: 34px; height: 34px; }
.whatsapp-launcher .whatsapp-close-icon { display: none; font-size: 32px; font-weight: 300; line-height: 1; }
.whatsapp-widget.is-open .whatsapp-launcher-icon { display: none; }
.whatsapp-widget.is-open .whatsapp-close-icon { display: block; }

@media (max-width: 600px) {
  .whatsapp-widget {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .whatsapp-launcher { width: 56px; height: 56px; }
  .whatsapp-options { width: min(270px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-options, .whatsapp-option, .whatsapp-launcher { transition: none; }
}
