:root {
  --blue-950: #051723;
  --blue-900: #092235;
  --blue-800: #11374e;
  --teal-980: #062d33;
  --teal-940: #083941;
  --blue-600: #1d8ed0;
  --blue-500: #35aaf2;
  --cyan: #77d7ff;
  --text: #333333;
  --muted: #667483;
  --soft: #f3f7fb;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, .72);
  --line: rgba(20, 55, 78, .12);
  --shadow: 0 18px 45px rgba(6, 28, 43, .12);
  --radius: 22px;
  --container: min(85vw, 1480px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.65;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

p {
  max-width: 70ch;
  margin: 0 0 1rem;
  font-weight: 500;
}

h1,
h2 {
  margin: 0;
  color: var(--blue-950);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 300;
}

h3 {
  margin: 0;
  color: var(--blue-950);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 700;
}

h1 {
  max-width: 18ch;
  color: var(--white);
  font-size: clamp(3.7rem, 4.35rem, 5.4rem);
}

/* Utility: silný / tenký řez v nadpisech */
.h-bold {
  font-weight: 800;
  letter-spacing: -.02em;
}

.h-thin {
  font-weight: 300;
}

.hero-title-bold {
  font-weight: 800;
}

.hero-title-light {
  font-weight: 300;
}

@media (min-width: 861px) {
  h1 {
    max-width: 32ch;
  }
  .hero-title-bold {
    display: block;
  }
  .hero-title-light {
    display: block;
  }
}

h2 {
  max-width: 16ch;
  font-size: clamp(3.2rem, 3.35rem, 4.35rem);
}

#intro-title {
  max-width: 22ch;
}

h3 {
  font-size: clamp(1.05rem, 1.18rem, 1.35rem);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-950);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0;
  transition: padding .28s ease;
}

.site-header.is-scrolled {
  padding: 5px 5px 0;
}

.site-header.is-scrolled .nav-shell {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  box-shadow: 0 10px 40px rgba(5, 23, 35, .07);
  backdrop-filter: blur(26px) saturate(1.35);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 1rem;
  transition: min-height .28s ease, background .28s ease, box-shadow .28s ease, border-color .28s ease, border-radius .28s ease, backdrop-filter .28s ease;
}

.brand {
  position: relative;
  z-index: 55;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
  transform-origin: left center;
  transition: transform .28s ease;
}

.site-header.is-scrolled .brand img {
  transform: scale(.86);
}

@media (min-width: 861px) {
  .brand img {
    width: 190px;
  }
}

@media (min-width: 1400px) {
  .brand img {
    width: 220px;
  }
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  font-weight: 700;
}

.site-header.is-scrolled .site-nav {
  color: var(--blue-950);
}

.site-nav a,
.nav-cta {
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.site-nav a:hover,
.nav-cta:hover {
  color: var(--blue-500);
  transform: translateY(-1px);
}

.nav-cta {
  padding: .76rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 12px 30px rgba(29, 142, 208, .32);
  font-size: .88rem;
  font-weight: 600;
}

.nav-cta:hover {
  color: var(--white);
}

.site-header.is-scrolled .nav-cta {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
}

.nav-menu-cta {
  display: none;
}

.lang-switch {
  position: relative;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.site-header.is-scrolled .lang-switch {
  color: var(--blue-950);
}

.lang-switch a {
  color: inherit;
  opacity: .5;
  transition: opacity .2s ease, color .2s ease;
}

.lang-switch a:hover {
  opacity: .85;
}

.lang-switch a.is-active {
  opacity: 1;
  color: var(--blue-500);
}

.lang-switch span {
  opacity: .32;
  font-weight: 400;
}

.lang-switch-menu,
.nav-menu-logo {
  display: none;
}

.nav-used-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 168px;
  min-height: 52px;
  padding: .72rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
}

.nav-used-logo img {
  width: 100%;
  max-height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.site-header.is-scrolled .nav-used-logo {
  background: rgba(255, 255, 255, .45);
}

.site-header.is-scrolled .nav-used-logo img {
  filter: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 9rem 0 11.5rem;
  background: var(--blue-950);
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: .84;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(53, 170, 242, .38), transparent 28rem),
    linear-gradient(90deg, rgba(5, 23, 35, .88), rgba(5, 23, 35, .58) 42%, rgba(5, 23, 35, .24));
}

.hero-video {
  z-index: -2;
}

.hero-orbit,
.shape {
  background-image: url("../../Obrazky/kruh.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .18;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  right: -8vw;
  bottom: 5rem;
  width: min(38vw, 560px);
  aspect-ratio: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 2vh;
}

.eyebrow,
.section-kicker {
  margin-bottom: .85rem;
  color: var(--blue-500);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 55ch;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.18rem, 1.35rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.1;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 16px 32px rgba(29, 142, 208, .28);
}

.btn-glass,
.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
}

.btn-light {
  color: var(--blue-950);
  background: var(--white);
}

.client-strip {
  position: absolute;
  right: auto;
  bottom: 4rem;
  left: 50%;
  z-index: 2;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  width: var(--container);
  margin-inline: auto;
  transform: translateX(-50%);
}

.client-label {
  width: max-content;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4.2rem, 6rem);
  padding: .35rem 0;
  animation: marquee 34s linear infinite;
}

.client-strip:hover .client-track {
  animation-play-state: paused;
}

.client-track a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 58px;
}

.client-track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .82;
}

.section {
  position: relative;
  padding: clamp(4.25rem, 6.5vw, 7rem) 0;
  overflow: hidden;
}

.light-section {
  background:
    radial-gradient(circle at 94% 8%, rgba(12, 181, 214, .15), transparent 24rem),
    linear-gradient(180deg, rgba(6, 45, 51, .035), rgba(255, 255, 255, 0) 38%),
    var(--soft);
}

.dark-section {
  color: rgba(255, 255, 255, .72);
  background: linear-gradient(145deg, var(--blue-950), var(--teal-980));
}

.services-section {
  background:
    linear-gradient(135deg, rgba(5, 23, 35, .94), rgba(6, 45, 51, .78)),
    url("../../Obrazky/pozadi.jpg") center / cover fixed;
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.card-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.4rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.services-showcase,
.fields-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(1.5rem, 3rem, 4rem);
  align-items: stretch;
  margin-top: 2.3rem;
}

.services-showcase .card-grid.two {
  height: 100%;
  margin-top: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.services-showcase .glass-card,
.field-cards .glass-card {
  min-height: 0;
}

.services-showcase .glass-card {
  background: rgba(255, 255, 255, .15);
}

.services-showcase .section-photo img {
  min-height: 100%;
}

.section-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 45, 51, .3), rgba(6, 45, 51, .54));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.section-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform .35s ease;
}

.section-photo:hover img {
  transform: scale(1.035);
}

.glass-card,
.process-card,
.special-card,
.contact-form {
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-card {
  min-height: 235px;
  padding: 1.45rem;
}

.glass-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.35rem;
  border-radius: 50%;
  color: var(--blue-600);
  background: linear-gradient(135deg, rgba(53, 170, 242, .16), rgba(255, 255, 255, .78));
}

.glass-card .card-icon-img {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 1.35rem;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(53, 170, 242, .16), rgba(255, 255, 255, .78));
  object-fit: contain;
}

.glass-card h3,
.process-card h3 {
  margin-bottom: .75rem;
}

.glass-card p,
.process-card p,
.service-matrix p {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.services-section .split-heading {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (min-width: 861px) {
  .services-section .split-heading {
    gap: 0;
    align-items: start;
  }
  .services-section .section-copy {
    padding-left: 2rem;
  }
}

.section-copy {
  color: inherit;
  max-width: 68ch;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
}

.service-matrix article {
  min-height: 210px;
  padding: 2rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.service-matrix article:first-child {
  border-left: 0;
}

.service-matrix h3 {
  margin-bottom: 1.15rem;
}

.service-matrix span {
  display: inline-block;
  margin-bottom: .9rem;
  color: var(--blue-500);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-matrix p {
  color: rgba(255, 255, 255, .62);
}

.service-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.service-card-link h3 {
  color: var(--blue-500);
  transition: opacity 0.2s ease;
}

.service-card-link:hover h3 {
  opacity: 0.82;
}

.fields-heading {
  grid-column: 1 / -1;
  max-width: 740px;
  margin-bottom: -.8rem;
}

.fields-heading h2 {
  max-width: none;
}

.field-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: auto;
  height: 100%;
  margin-top: 0;
}

.field-cards .glass-card {
  min-height: 0;
}

.field-photos {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.15rem;
  height: 100%;
}

.photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame:first-child {
  grid-column: auto;
  aspect-ratio: auto;
}

@media (max-width: 860px) {
  .field-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  
  .field-photos .photo-frame {
    aspect-ratio: 1.35 / 1;
    height: auto;
  }
}

.slice-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 46%, transparent 47%),
    conic-gradient(from var(--slice-start), var(--blue-500) 0 90deg, rgba(53, 170, 242, .16) 90deg 360deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .95), 0 10px 28px rgba(29, 142, 208, .16);
}

.slice-one {
  --slice-start: 0deg;
}

.slice-two {
  --slice-start: 90deg;
}

.slice-three {
  --slice-start: 180deg;
}

.slice-four {
  --slice-start: 270deg;
}

.slice-five {
  --slice-start: 45deg;
}

.slice-six {
  --slice-start: 135deg;
}

.shape {
  position: absolute;
  width: min(48vw, 720px);
  aspect-ratio: 1;
}

.shape-left {
  left: -20vw;
  top: 18%;
}

.shape-right {
  right: -16vw;
  bottom: 4%;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-top: 3.5rem;
}

.expertise-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.stats strong {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .35rem;
  flex: 1 1 160px;
  min-height: 150px;
  padding: 1rem .85rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-stretch: condensed;
  line-height: .95;
  text-align: center;
}

.stats .stat-label {
  display: block;
  color: var(--muted);
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.35;
}

.stats .stat-value {
  color: var(--text);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.stats .stat-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .08em;
  color: var(--text);
  font-size: inherit;
  font-weight: 500;
  line-height: .9;
  white-space: nowrap;
}

.expertise-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 380px;
}

.expertise-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.expertise-photo:hover img {
  transform: scale(1.035);
}

.special-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .3);
}

.special-card ul {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.special-card li {
  position: relative;
  padding-left: 1.55rem;
}

.special-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58rem;
  width: .55rem;
  height: .55rem;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
}

.centered {
  text-align: center;
}

.centered h2,
.centered p {
  margin-inline: auto;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 4rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(29, 142, 208, .2), rgba(29, 142, 208, .78), rgba(29, 142, 208, .2));
}

.process-card {
  position: relative;
  min-height: 230px;
  padding: 0 1.4rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

.process-card span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.8rem;
  border: 1px solid rgba(29, 142, 208, .18);
  border-radius: 50%;
  color: var(--blue-600);
  background:
    linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)),
    url("../../Obrazky/kruh.png") center / 118% no-repeat;
  box-shadow: 0 20px 45px rgba(6, 28, 43, .1);
  font-size: clamp(1.7rem, 2rem, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.gallery-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(29, 142, 208, .3), transparent 24rem),
    linear-gradient(150deg, var(--blue-950), var(--teal-980) 55%, #0b5361);
}

.gallery-section h2 {
  color: var(--white);
}

.gallery-section .section-copy {
  text-align: right;
}

.gallery-grid {
  columns: 4;
  column-gap: 1rem;
  margin-top: 3rem;
}

[data-lightbox] {
  cursor: zoom-in;
}

.gallery-item::after,
.expertise-photo::after,
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 45, 51, .3);
  mix-blend-mode: color;
  pointer-events: none;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(5, 23, 35, .86);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, calc(100vw - 4rem));
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 16px 32px rgba(29, 142, 208, .28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .22s ease;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(29, 142, 208, .34);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .22);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.cta-section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 40%, rgba(255, 255, 255, .2), transparent 16rem),
    linear-gradient(135deg, #1d8ed0, #217fb6 45%, #0b4c70);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .62fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.cta-box h2 {
  max-width: 18ch;
  color: var(--white);
}

.cta-section h1 {
  color: var(--white);
}

.cta-box p {
  color: rgba(255, 255, 255, .82);
}

.contact-form {
  display: grid;
  gap: .65rem;
  padding: 1.35rem;
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .14);
}

.contact-form label {
  color: var(--white);
  font-size: .88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  padding: .9rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, .68);
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 2rem;
}

.footer-logo {
  width: 168px;
  margin-bottom: 1.25rem;
}

.used-logo {
  display: inline-flex;
  margin-top: 1rem;
}

.used-logo img {
  width: 135px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--blue-500);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: .55rem;
}

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

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: rgba(255, 255, 255, .88);
}

.footer-contact h2 {
  margin-bottom: 0.6rem;
  color: var(--blue-500);
}

.footer-contact .contact-name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
}

.footer-contact .contact-person {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 0.3rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-contact .contact-item i {
  color: var(--blue-500);
  width: 16px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-contact .contact-item a {
  color: var(--cyan);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-contact .contact-item a:hover {
  color: var(--blue-500);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom a {
  color: inherit;
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: var(--blue-500);
}

.reveal {
  opacity: 0;
  transform: translateY(54px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1120px) {
  .card-grid.four,
  .process-timeline,
  .card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    columns: 2;
  }

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

  .service-matrix article {
    border-left: 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .expertise-photo {
    min-height: 340px;
    aspect-ratio: 16 / 9;
  }

  .expertise-text {
    gap: 2rem;
  }

  .stats {
    margin-top: 0;
  }

  .process-timeline {
    gap: 2rem 0;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(90vw, 680px);
  }

  h1 {
    max-width: 15ch;
  }

  p {
    max-width: 100%;
  }

  .nav-shell {
    padding-inline-start: .4rem;
    padding-inline-end: 13px;
  }

  .nav-toggle {
    position: relative;
    z-index: 1001;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform .22s ease;
  }

  .site-header.is-scrolled .nav-shell {
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
  }

  .site-header.is-scrolled .nav-toggle span {
    background: var(--blue-950);
  }

  .nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 54;
    display: grid;
    place-content: center;
    justify-items: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    gap: 1.35rem;
    margin: 0;
    color: var(--white);
    font-size: clamp(1.05rem, 4.6vw, 1.4rem);
    background: rgba(5, 23, 35, .98);
    backdrop-filter: blur(24px);
    border: 0;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }

  .lang-switch-bar {
    display: none;
  }

  .brand img {
    width: 198px;
  }

  .lang-switch-menu {
    display: inline-flex;
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    letter-spacing: .08em;
  }

  .site-header.is-scrolled .lang-switch-menu {
    color: rgba(255, 255, 255, .7);
  }

  .nav-used-logo {
    justify-content: center;
    width: min(320px, 80vw);
    min-height: 58px;
    margin-inline: auto;
  }

  .nav-used-logo img {
    width: 210px;
    max-height: 42px;
    filter: brightness(0) invert(1);
  }

  .nav-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    box-shadow: 0 12px 30px rgba(29, 142, 208, .32);
    font-size: 1rem;
    font-weight: 700;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.nav-open .site-header {
    inset: 0;
    z-index: 999;
    height: 100vh;
    height: 100dvh;
    padding: 0;
  }

  body.nav-open .site-header .nav-shell {
    position: static;
    width: 100%;
    min-height: 76px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.nav-open .site-header.is-scrolled .nav-shell {
    min-height: 76px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.nav-open .site-header.is-scrolled .nav-toggle span {
    background: var(--white);
  }

  .site-header.is-scrolled .site-nav.is-open {
    color: var(--white);
  }

  .site-header.is-scrolled .site-nav.is-open .nav-used-logo img {
    filter: brightness(0) invert(1);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 96svh;
    padding: 7rem 0 8rem;
  }

  h1 {
    font-size: clamp(1.6rem, 8.4vw, 2.3rem);
  }

  .hero-title-bold {
    display: inline-block;
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(2.25rem, 2.45rem, 3.2rem);
  }

  .split-heading,
  .services-section .split-heading,
  .expertise-grid,
  .services-showcase,
  .fields-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-cards {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer nav {
    display: none;
  }

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

  .photo-frame:first-child {
    grid-column: auto;
    aspect-ratio: 1;
  }

  .client-strip {
    bottom: 2.4rem;
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .client-track {
    animation-duration: 22s;
  }

  .client-label {
    width: max-content;
    margin-inline: auto;
    padding: 0 1.25rem;
    text-align: center;
    background: rgba(5, 23, 35, .7);
    border-radius: 999px;
  }

  .client-label::after {
    display: none;
  }

  .service-matrix article {
    padding: 1.5rem 0;
  }

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

@media (max-width: 620px) {
  .section {
    padding: 3.5rem 0;
  }

  .card-grid.four,
  .card-grid.two,
  .field-cards,
  .process-timeline,
  .service-matrix {
    grid-template-columns: 1fr;
  }

  .field-photos {
    columns: 1;
  }

  .gallery-section {
    overflow-x: clip;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-grid .gallery-item {
    max-width: 100%;
  }

  .back-to-top {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 46px;
    height: 46px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: .5rem;
  }

  .lightbox-next {
    right: .5rem;
  }

  .stats {
    flex-direction: column;
  }

  .stats strong {
    min-height: 130px;
    border-color: rgba(255, 255, 255, .14);
    background: var(--teal-980);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(6, 45, 51, .38);
  }

  .stats .stat-label {
    color: rgba(255, 255, 255, .72);
  }

  .stats .stat-value,
  .stats .stat-number {
    color: var(--white);
  }

  .expertise-photo {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    min-height: 240px;
    aspect-ratio: 3 / 2;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .glass-card,
  .process-card {
    min-height: auto;
  }

  .process-card {
    padding-inline: 0;
  }

  .client-track a {
    width: 104px;
  }

  .client-track {
    animation-duration: 18s;
  }
}
