@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap&subset=latin-ext');

:root {
  --font-main: 'Open Sans', sans-serif, Helvetica, Arial, sans-serif;
  --font-heading: 'Open Sans', sans-serif, Helvetica, Arial, sans-serif;
  --color-accent: #01AAC1;
  --color-accent-dark: #017686;
  --color-page: #0c0c17;
  --color-panel: #171724;
  --color-section: rgba(23, 23, 36, 0.96);
  --color-section-alt: rgba(12, 12, 23, 0.98);
  --color-panel-soft: rgba(255, 255, 255, 0.055);
  --color-panel-strong: rgba(255, 255, 255, 0.085);
  --color-text: #ffffff;
  --color-text-soft: rgba(255, 255, 255, 0.74);
  --color-text-muted: rgba(255, 255, 255, 0.58);
  --color-nav-text: rgba(12, 12, 23, 0.78);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --radius: 0;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font: 300 14px/21px var(--font-main);
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.10) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--color-page);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

body.light-mode {
  --color-page:#ffffff;
  --color-panel: #ffffff;
  --color-section: #ffffff;
  --color-section-alt: #f5f5fa;
  --color-panel-soft: #ffffff;
  --color-panel-strong: #f5f5fa;
  --color-text: #0c0c17;
  --color-text-soft: rgba(12, 12, 23, 0.75);
  --color-text-muted: rgba(12, 12, 23, 0.55);
  --color-nav-text: rgba(12, 12, 23, 0.78);
  --color-border: rgba(12, 12, 23, 0.08);
  --color-border-strong: rgba(12, 12, 23, 0.14);
  --shadow: 0 18px 45px rgba(12, 12, 23, 0.08);
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.045) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--color-page);
}

body::selection,
body ::selection {
  background: var(--color-accent);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

a:hover,
a:focus {
  color: var(--color-accent-dark);
}

p a {
  border-bottom: 1px solid var(--color-accent);
}

p a:hover,
p a:focus {
  border-bottom-color: var(--color-accent-dark);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow: 0 6px 24px rgba(12, 12, 23, 0.06);
  backdrop-filter: blur(10px);
}

.nav {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 179px;
  height: 40px;
}

.brand:hover,
.brand:focus {
  opacity: 0.82;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 0 13px;
  color: rgba(12, 12, 23, 0.74);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--color-accent);
}

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

.nav-links .mobile-contact-link,
.menu-toggle {
  display: none;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(12, 12, 23, 0.14);
  border-radius: 50%;
  color: rgba(12, 12, 23, 0.72);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-toggle span {
  position: absolute;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.nav.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.nav.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(1, 170, 193, 0.42);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
  outline: 0;
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid rgba(12, 12, 23, 0.14);
  border-radius: 50%;
  color: rgba(12, 12, 23, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.language-switch:hover,
.language-switch:focus {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(1, 170, 193, 0.42);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
  outline: 0;
  transform: translateY(-1px);
}

.theme-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px;
  margin-left: -12px;
  padding: 0;
  border: 1px solid rgba(12, 12, 23, 0.14);
  border-radius: 50%;
  color: rgba(12, 12, 23, 0.72);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.theme-btn:hover,
.theme-btn:focus {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(1, 170, 193, 0.42);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
  outline: 0;
  transform: translateY(-1px);
}

.theme-icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.moon-icon {
  opacity: 0;
  transform: scale(0.72) rotate(-18deg);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 0;
  overflow: hidden;
  color: var(--color-page);
  background: transparent;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateY(100%);
  transition: transform 0.24s ease;
  z-index: -1;
}

.button:hover,
.button:focus {
  color: var(--color-text);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.button:hover::before,
.button:focus::before {
  transform: translateY(0);
}

.button.primary {
  color: var(--color-text);
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 12px 28px rgba(1, 170, 193, 0.24);
}

.button.primary::before {
  background: #017686;
}

.button.primary:hover,
.button.primary:focus {
  border-color: var(--color-page);
}

.button.secondary {
  color: var(--color-page);
  border-color: rgba(12, 12, 23, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  padding: 118px 0 90px;
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(12, 12, 23, 0.88), rgba(12, 12, 23, 0.98)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.15) 0 1px, transparent 1px) 0 0 / 34px 34px,
    url('../img/backgrounds/home-background-01.jpg') center / cover no-repeat,
    var(--color-page);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(1, 170, 193, 0.10) 36% 37%, transparent 37% 100%),
    linear-gradient(55deg, transparent 0 58%, rgba(255, 255, 255, 0.08) 58% 59%, transparent 59% 100%);
}

.hero::after {
  width: 56vw;
  height: 56vw;
  right: -28vw;
  bottom: -36vw;
  border: 1px solid rgba(1, 170, 193, 0.18);
  transform: rotate(22deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.project-type,
.panel-card small {
  color: var(--color-accent);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 20px;
}

h1,
h2,
h3,
.section-title {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--color-text);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  text-transform: none;
}

.hero-title-accent {
  background: linear-gradient(120deg, var(--color-text) 0%, var(--color-accent) 58%, #35e9f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--color-text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero .button.secondary {
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.48);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 640px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
}

.stat {
  min-height: 116px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-panel {
  position: relative;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.portfolio-panel::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background:
    linear-gradient(60deg, transparent 0 47%, rgba(1, 170, 193, 0.22) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 30% 20%, rgba(1, 170, 193, 0.28), transparent 24%);
  transform: rotate(-8deg);
}

.panel-content {
  position: relative;
  z-index: 1;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.panel-title h2 {
  color: var(--color-text);
  font-size: 31px;
  line-height: 1.1;
}

.status,
.client-placeholder,
.tag,
.tech-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status {
  padding: 7px 11px;
  color: var(--color-accent);
  background: rgba(1, 170, 193, 0.10);
  border: 1px solid rgba(1, 170, 193, 0.48);
  white-space: nowrap;
}

.panel-card {
  margin-bottom: 14px;
  padding: 24px;
  background: rgba(12, 12, 23, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-card h3 {
  margin: 10px 0 9px;
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.25;
}

.panel-card p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
}

.section {
  position: relative;
  scroll-margin-top: 92px;
  padding: 92px 0;
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(23, 23, 36, 0.94), rgba(12, 12, 23, 0.98)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.08) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--color-section);
}

.section:nth-of-type(odd) {
  background:
    linear-gradient(135deg, rgba(12, 12, 23, 0.98), rgba(23, 23, 36, 0.94)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.06) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--color-section-alt);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.section-kicker {
  margin-bottom: 14px;
}

h2.section-title {
  color: var(--color-text);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: none;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 24px;
  background: var(--color-accent);
}

.section-text {
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card,
.tech-card,
.step-card {
  background: var(--color-panel-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.project-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.project-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 0 20px rgba(1, 170, 193, 0.14),
    0 24px 60px rgba(0, 0, 0, 0.28);
}

.project-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.14), rgba(255, 255, 255, 0.035) 44%),
    var(--color-panel-soft);
}

.project-topline {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.client-placeholder {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: 5px;
  margin-bottom: 15px;
  padding: 0;
  color: var(--color-text-soft);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.client-placeholder::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(1, 170, 193, 0.4);
  vertical-align: middle;
}

.project-card h3,
.tech-card h3,
.step-card h3 {
  color: var(--color-text);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.22;
}

.project-card h3 {
  margin-bottom: 14px;
}

.project-card p,
.tech-card p,
.step-card p {
  color: var(--color-text-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--color-border);
}

.metric {
  min-height: 86px;
  padding: 16px 14px;
  background: rgba(12, 12, 23, 0.42);
}

.metric strong {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.12;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: var(--color-text-soft);
  font-size: 12px;
}

.tags,
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags {
  margin-top: 24px;
}

.tag,
.tech-list span {
  padding: 6px 11px;
  border-radius: 20px;
  color: var(--color-text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.25;
  text-transform: none;
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.tag:hover,
.tech-list span:hover {
  color: var(--color-accent);
  background: rgba(1, 170, 193, 0.08);
  border-color: rgba(1, 170, 193, 0.34);
  box-shadow: 0 0 14px rgba(1, 170, 193, 0.14);
}

.tech-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(12, 12, 23, 0.98), rgba(23, 23, 36, 0.94)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.14) 0 1px, transparent 1px) 0 0 / 32px 32px;
  color: var(--color-text);
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(1, 170, 193, 0.08) 34% 35%, transparent 35% 100%),
    linear-gradient(55deg, transparent 0 62%, rgba(255, 255, 255, 0.055) 62% 63%, transparent 63% 100%);
}

.tech-section > .container {
  position: relative;
  z-index: 1;
}

.tech-section .section-title,
.tech-section .tech-card h3 {
  color: var(--color-text);
}

.tech-section .section-text {
  color: rgba(255, 255, 255, 0.70);
}

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

.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.cert-grid {
  align-items: stretch;
}

#technologies .tech-grid {
  gap: 22px;
  align-items: stretch;
}

.tech-card {
  min-width: 0;
  padding: 28px;
}

#technologies .tech-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 218px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(1, 170, 193, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

#technologies .tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 58%);
  opacity: 0.68;
  transition: opacity 0.24s ease;
}

#technologies .tech-card::after {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 16px rgba(1, 170, 193, 0.55);
  opacity: 0.62;
}

#technologies .tech-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 0 22px rgba(1, 170, 193, 0.24),
    0 18px 55px rgba(0, 0, 0, 0.30);
}

#technologies .tech-card:hover::before {
  opacity: 1;
}

#technologies .tech-card > * {
  position: relative;
  z-index: 1;
}

.tech-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

#technologies .tech-card h3 {
  margin-bottom: 18px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

#technologies .tech-list {
  gap: 9px;
}

#technologies .tech-list span {
  color: var(--color-text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

#technologies .tech-card:hover .tech-list span {
  border-color: rgba(255, 255, 255, 0.12);
}

#technologies .tech-list span:hover {
  color: var(--color-accent);
  background: rgba(1, 170, 193, 0.08);
  border-color: rgba(1, 170, 193, 0.34);
  box-shadow: 0 0 14px rgba(1, 170, 193, 0.14);
}

.customers-grid .tech-card,
.tech-card {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
}

.tech-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 0 20px rgba(1, 170, 193, 0.14),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.customers-grid .tech-list span,
.tech-list span {
  color: var(--color-text-soft);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  text-transform: none;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 26px;
  border-radius: 8px;
}

.cert-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.32;
}

.cert-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.cert-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-list li {
  position: relative;
  padding-left: 16px;
  color: var(--color-text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.cert-list li strong {
  color: var(--color-text);
  font-weight: 700;
}

.cert-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(1, 170, 193, 0.35);
}

.case-structure {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 25px;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 22px;
  color: var(--color-accent);
  font-family: var(--font-main);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.step-card p {
  margin-bottom: 0;
  line-height: 1.65;
}

.step-card .button {
  width: 100%;
  min-height: 40px;
  padding-inline: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.cta {
  position: relative;
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 86px;
  padding: 54px;
  overflow: hidden;
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.20), transparent 38%),
    var(--color-page);
  box-shadow: 0 24px 70px rgba(12, 12, 23, 0.24);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px) 0 0 / 32px 32px;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

footer.container {
  display: grid;
  gap: 24px;
  padding: 34px 0 46px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

.footer-company,
.footer-right {
  display: grid;
  gap: 8px;
}

.footer-company strong {
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-company span,
.footer-right span {
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(400px, calc(100% - 32px));
  padding: 22px;
  color: var(--color-text);
  background: rgba(12, 12, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-content {
  display: grid;
  gap: 18px;
}

.cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-bottom: 12px;
}

.cookie-header h2 {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cookie-text-link {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.cookie-text-link:hover,
.cookie-text-link:focus {
  color: var(--color-accent-dark);
  text-shadow: 0 0 8px rgba(1, 170, 193, 0.35);
  outline: 0;
}

.cookie-banner p,
.cookie-option small {
  color: var(--color-text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.cookie-actions[hidden] {
  display: none;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-actions .cookie-btn {
  flex: 1;
}

.cookie-btn:hover,
.cookie-btn:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  outline: 0;
}

.cookie-settings {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.cookie-settings[hidden],
.cookie-banner[hidden] {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-text-soft);
  background: rgba(12, 12, 23, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  color: var(--color-accent);
  background: rgba(12, 12, 23, 0.88);
  border-color: rgba(1, 170, 193, 0.38);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.16);
  outline: 0;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

.cookie-option strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
}

.cookie-option.is-disabled {
  opacity: 0.68;
}

.cookie-save,
.cookie-cancel {
  width: 100%;
}

body.light-mode .hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 250, 0.94)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.075) 0 1px, transparent 1px) 0 0 / 34px 34px,
    url('../img/backgrounds/home-background-01.jpg') center / cover no-repeat,
    #ffffff;
}

body.light-mode .hero::before {
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(1, 170, 193, 0.08) 36% 37%, transparent 37% 100%),
    linear-gradient(55deg, transparent 0 58%, rgba(12, 12, 23, 0.045) 58% 59%, transparent 59% 100%);
}

body.light-mode .hero::after {
  border-color: rgba(1, 170, 193, 0.16);
}

body.light-mode .topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(12, 12, 23, 0.08);
  box-shadow: 0 6px 24px rgba(12, 12, 23, 0.06);
}

body.light-mode .nav-links a {
  color: var(--color-nav-text);
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a:focus {
  color: var(--color-accent);
}

body.light-mode .menu-toggle {
  color: var(--color-accent-dark);
  background: transparent;
  border-color: rgba(12, 12, 23, 0.14);
}

body.light-mode .menu-toggle:hover,
body.light-mode .menu-toggle:focus {
  color: var(--color-accent-dark);
  background: rgba(12, 12, 23, 0.05);
  border-color: rgba(1, 170, 193, 0.30);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
}

body.light-mode .language-switch {
  color: var(--color-accent-dark);
  background: transparent;
  border-color: rgba(12, 12, 23, 0.14);
}

body.light-mode .language-switch:hover,
body.light-mode .language-switch:focus {
  color: var(--color-accent-dark);
  background: rgba(12, 12, 23, 0.05);
  border-color: rgba(1, 170, 193, 0.30);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
}

body.light-mode .theme-btn {
  color: var(--color-accent-dark);
  background: transparent;
  border-color: rgba(12, 12, 23, 0.14);
}

body.light-mode .theme-btn:hover,
body.light-mode .theme-btn:focus {
  color: var(--color-accent-dark);
  background: rgba(12, 12, 23, 0.05);
  border-color: rgba(1, 170, 193, 0.30);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.10);
}

body.light-mode .sun-icon {
  opacity: 0;
  transform: scale(0.72) rotate(18deg);
}

body.light-mode .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

body.light-mode .lead,
body.light-mode .section-text,
body.light-mode .project-card p,
body.light-mode .step-card p,
body.light-mode .panel-card p,
body.light-mode .cta p {
  color: var(--color-text-soft);
}

body.light-mode .stats {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow: 0 8px 30px rgba(12, 12, 23, 0.04);
}

body.light-mode .stat {
  background: rgba(255, 255, 255, 0.86);
  border-right: 1px solid rgba(12, 12, 23, 0.08);
}

body.light-mode .stat:last-child {
  border-right: 0;
}

body.light-mode .stat strong {
  background: linear-gradient(120deg, #0c0c17 0%, #171724 34%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}

body.light-mode .stat span {
  color: var(--color-text-soft);
}

body.light-mode .section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.035) 0 1px, transparent 1px) 0 0 / 34px 34px,
    #ffffff;
}

body.light-mode .section:nth-of-type(odd),
body.light-mode .tech-section {
  background:
    linear-gradient(135deg, rgba(245, 245, 250, 0.96), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(1, 170, 193, 0.035) 0 1px, transparent 1px) 0 0 / 34px 34px,
    #f5f5fa;
}

body.light-mode .tech-section::before {
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(1, 170, 193, 0.045) 34% 35%, transparent 35% 100%),
    linear-gradient(55deg, transparent 0 62%, rgba(12, 12, 23, 0.035) 62% 63%, transparent 63% 100%);
}

body.light-mode .portfolio-panel {
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.08), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(12, 12, 23, 0.08);
  box-shadow: 0 22px 58px rgba(12, 12, 23, 0.12);
}

body.light-mode .portfolio-panel::before {
  background:
    linear-gradient(60deg, transparent 0 47%, rgba(1, 170, 193, 0.10) 47% 48%, transparent 48% 100%),
    radial-gradient(circle at 30% 20%, rgba(1, 170, 193, 0.12), transparent 24%);
}

body.light-mode .panel-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(12, 12, 23, 0.08);
}

body.light-mode .project-card,
body.light-mode .tech-card,
body.light-mode .step-card {
  background: #ffffff;
  border: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow: 0 8px 30px rgba(12, 12, 23, 0.04);
}

body.light-mode .project-card {
  background: #ffffff;
  border: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow:
    0 10px 35px rgba(12, 12, 23, 0.05),
    0 1px 3px rgba(12, 12, 23, 0.02);
}

body.light-mode .project-card h3 {
  color: #0c0c17;
}

body.light-mode .project-card:hover,
body.light-mode .tech-card:hover,
body.light-mode #technologies .tech-card:hover {
  background: #ffffff;
  border-color: rgba(1, 170, 193, 0.4);
  box-shadow:
    0 0 24px rgba(1, 170, 193, 0.14),
    0 18px 48px rgba(12, 12, 23, 0.10),
    0 2px 6px rgba(12, 12, 23, 0.04);
}

body.light-mode .project-card.featured,
body.light-mode #technologies .tech-card {
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.06), rgba(255, 255, 255, 0) 44%),
    #ffffff;
  border-color: rgba(12, 12, 23, 0.08);
}

body.light-mode #technologies .tech-card::before {
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), transparent 58%);
}

body.light-mode .project-meta {
  background: rgba(12, 12, 23, 0.06);
  border-color: rgba(12, 12, 23, 0.08);
}

body.light-mode .metric {
  background: #ffffff;
}

body.light-mode .tag,
body.light-mode .tech-list span,
body.light-mode #technologies .tech-list span {
  color: rgba(12, 12, 23, 0.8);
  background: rgba(12, 12, 23, 0.05);
  border-color: rgba(12, 12, 23, 0.10);
}

body.light-mode .tag:hover,
body.light-mode .tech-list span:hover,
body.light-mode #technologies .tech-list span:hover {
  color: var(--color-accent-dark);
  background: rgba(1, 170, 193, 0.08);
  border-color: rgba(1, 170, 193, 0.32);
  box-shadow: 0 0 14px rgba(1, 170, 193, 0.10);
}

body.light-mode .eyebrow,
body.light-mode .client-placeholder {
  color: var(--color-text-soft);
}

body.light-mode .button.primary {
  color: #ffffff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 10px 26px rgba(1, 170, 193, 0.28);
}

body.light-mode .button.primary:hover,
body.light-mode .button.primary:focus {
  color: #ffffff;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 12px 30px rgba(1, 118, 134, 0.26);
}

body.light-mode .cta {
  background:
    linear-gradient(135deg, rgba(1, 170, 193, 0.10), transparent 38%),
    #ffffff;
  color: var(--color-text);
  border: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow: 0 20px 52px rgba(12, 12, 23, 0.10);
}

body.light-mode .cta::before {
  background: linear-gradient(135deg, rgba(1, 170, 193, 0.055) 0 1px, transparent 1px) 0 0 / 32px 32px;
}

body.light-mode footer.container {
  color: var(--color-text-muted);
}

body.light-mode .cookie-banner {
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid rgba(12, 12, 23, 0.08);
  box-shadow: 0 18px 48px rgba(12, 12, 23, 0.12);
}

body.light-mode .back-to-top {
  color: rgba(12, 12, 23, 0.62);
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(12, 12, 23, 0.10);
  box-shadow: 0 14px 34px rgba(12, 12, 23, 0.10);
}

body.light-mode .back-to-top:hover,
body.light-mode .back-to-top:focus {
  color: var(--color-accent-dark);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(1, 170, 193, 0.30);
  box-shadow: 0 0 18px rgba(1, 170, 193, 0.12);
}

body.light-mode .cookie-btn {
  color: #0c0c17;
  background: rgba(12, 12, 23, 0.06);
  border-color: rgba(12, 12, 23, 0.10);
}

body.light-mode .cookie-btn:hover,
body.light-mode .cookie-btn:focus {
  background: rgba(12, 12, 23, 0.09);
  border-color: rgba(12, 12, 23, 0.16);
}

body.light-mode .cookie-option {
  background: rgba(12, 12, 23, 0.035);
  border-color: rgba(12, 12, 23, 0.08);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .cta {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .tech-grid,
  .customers-grid,
  .case-structure {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    margin-left: 0;
    padding: 12px;
    background: rgba(12, 12, 23, 0.94);
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav.is-menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 46px;
    padding: 0 12px;
    color: var(--color-text);
  }

  .nav-links a::after {
    left: 12px;
    right: 12px;
  }

  .nav-links .mobile-contact-link {
    display: inline-flex;
    margin-top: 8px;
    color: #ffffff !important;
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    box-shadow: 0 10px 26px rgba(1, 170, 193, 0.20);
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav-contact {
    display: none;
  }

  body.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(12, 12, 23, 0.08);
    box-shadow: 0 18px 48px rgba(12, 12, 23, 0.12);
  }

  body.light-mode .nav-links a {
    color: var(--color-text);
  }

  body.light-mode .mobile-contact-link {
    color: #ffffff !important;
    background: var(--color-accent);
    border-color: var(--color-accent);
  }

  .portfolio-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1170px);
  }

  .nav {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    width: 146px;
    height: auto;
  }

  .theme-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    margin-left: -4px;
  }

  .language-switch {
    width: 38px;
    height: 38px;
    min-height: 38px;
    font-size: 10px;
  }

  .topbar .button {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero {
    padding: 76px 0 62px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .stats,
  .project-meta,
  .project-grid,
  .tech-grid,
  .customers-grid,
  .case-structure {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 32px;
  }

  .project-card,
  .tech-card,
  .step-card,
  .portfolio-panel,
  .cta {
    padding: 20px;
  }

  .project-card {
    min-width: 0;
  }

  .project-card > div {
    min-width: 0;
  }

  .project-card h3,
  .project-card p {
    overflow-wrap: anywhere;
  }

  .project-topline,
  .panel-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .client-placeholder {
    width: auto;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .tags,
  .tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
  }

  .tag,
  .tech-list span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 18px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cta {
    margin-top: 44px;
    margin-bottom: 56px;
  }
}

.customers-grid .cert-card {
  position: static;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.customers-grid .cert-card:hover {
  transform: none;
}

/* Moderné corporate CSS pre pätku stránky */
footer#site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-accent-line {
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 6px;
}

.footer-accent-line a {
  color: inherit;
}

.footer-accent-line a:hover,
.footer-accent-line a:focus {
  color: var(--color-accent-dark);
}

.footer-bottom-bar {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

body.light-mode footer#site-footer {
  border-top-color: rgba(12, 12, 23, 0.08);
}

body.light-mode .footer-bottom-bar {
  border-top-color: rgba(12, 12, 23, 0.06);
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
  }

  .footer-right {
    text-align: center;
  }
}

/* Logá certifikátov nad nadpisom */
#customers .cert-card {
  position: static !important;
  padding-right: 26px !important;
}

.cert-card-branding {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.cert-logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 38px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cert-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 24px;
  object-fit: contain;
}

#customers .cert-card:hover .cert-logo-tile {
  border-color: rgba(1, 170, 193, 0.32);
  box-shadow: 0 10px 26px rgba(1, 170, 193, 0.14);
  transform: translateY(-1px);
}

body.light-mode .cert-logo-tile {
  border-color: rgba(12, 12, 23, 0.08);
  box-shadow: 0 8px 22px rgba(12, 12, 23, 0.06);
}
