/**
 * Krakenbaker Digital Media FZCO
 * Editorial light corporate theme, brand navy + signature red
 * Fonts: Space Grotesk (display) / Inter (body)
 */

/*--------------------------------------------------------------
# Tokens
--------------------------------------------------------------*/
:root {
  --bg: #f6f8fb;
  --bg-2: #eef2f7;
  --surface: #ffffff;
  --line: rgba(12, 24, 46, 0.09);
  --line-strong: rgba(12, 24, 46, 0.18);
  --text: #2a3242;
  --muted: #5d6778;
  --heading: #0c1626;
  --red: #e01e2e;
  --red-bright: #ff3b49;
  --red-deep: #c8121f;
  --red-dim: rgba(224, 30, 46, 0.08);
  --navy: #0c1626;
  --navy-2: #101d33;
  --blue: #3d8fd4;
  --shadow-sm: 0 8px 28px rgba(12, 24, 46, 0.07);
  --shadow-md: 0 20px 55px rgba(12, 24, 46, 0.11);
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: clamp(90px, 12vw, 150px);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red-deep);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--heading);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

section {
  position: relative;
  z-index: 1;
  padding: var(--section) 0;
}

.accent {
  color: var(--red-deep);
  font-weight: 600;
}

::selection {
  background: var(--red);
  color: #fff;
}

/*--------------------------------------------------------------
# Scroll progress
--------------------------------------------------------------*/
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 10px rgba(224, 30, 46, 0.45);
}

/*--------------------------------------------------------------
# Ambient background
--------------------------------------------------------------*/
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 70% -10%, rgba(224, 30, 46, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 65%, rgba(61, 143, 212, 0.06), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #f1f5fa 55%, #f6f8fb 100%);
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 24, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 46, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 15%, transparent 75%);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orb 20s ease-in-out infinite alternate;
}

.ambient__orb--red {
  width: 460px;
  height: 460px;
  background: rgba(224, 30, 46, 0.10);
  top: 4%;
  left: -10%;
}

.ambient__orb--blue {
  width: 380px;
  height: 380px;
  background: rgba(61, 143, 212, 0.12);
  bottom: 8%;
  right: -8%;
  animation-delay: -8s;
}

@keyframes orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -50px, 0) scale(1.1); }
}

/*--------------------------------------------------------------
# Reveal engine
--------------------------------------------------------------*/
[data-anim] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-anim="up"] { transform: translateY(44px); filter: blur(5px); }
[data-anim="left"] { transform: translateX(-48px); filter: blur(5px); }
[data-anim="right"] { transform: translateX(48px); filter: blur(5px); }
[data-anim="scale"] { transform: scale(0.92); filter: blur(5px); }
[data-anim="fade"] { transform: none; }

[data-anim].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Split word reveal */
[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

[data-split] .wi {
  display: inline-block;
  transform: translateY(115%);
  visibility: hidden;
  will-change: transform;
}

[data-split].in-view .wi {
  transform: translateY(0);
  visibility: visible;
  transition: transform 1s var(--ease) var(--wd, 0ms), visibility 0s var(--wd, 0ms);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.35em;
  color: var(--heading);
  animation: brand-pulse 1.6s ease-in-out infinite;
}

.preloader__bar {
  width: 180px;
  height: 2px;
  background: rgba(12, 24, 46, 0.1);
  overflow: hidden;
  border-radius: 2px;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  animation: bar-slide 1.1s var(--ease) infinite;
}

@keyframes brand-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes bar-slide {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

/*--------------------------------------------------------------
# Buttons & links
--------------------------------------------------------------*/
.btn-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-solid {
  background: linear-gradient(135deg, var(--red-bright), var(--red) 55%, #a90f1c);
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(224, 30, 46, 0.28);
}

.btn-solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(224, 30, 46, 0.4);
}

.btn-solid:hover::after {
  left: 130%;
}

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--heading) !important;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 30, 46, 0.5);
  background: var(--red-dim);
  color: var(--red-deep) !important;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
  border-bottom: 1px solid var(--red);
  padding-bottom: 0.3rem;
}

.link-arrow i {
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  color: var(--red-deep);
}

.link-arrow:hover i {
  transform: translateX(6px);
}

/*--------------------------------------------------------------
# Section head
--------------------------------------------------------------*/
.section-head {
  margin-bottom: 2.25rem;
}

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
}

.section-head__eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: var(--header-h);
  z-index: 997;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(12, 24, 46, 0.07);
}

#header .logo img {
  max-height: 40px;
}

/* Theme-dependent logo variants */
.logo--on-dark {
  display: none;
}

[data-theme="dark"] .logo--on-light {
  display: none;
}

[data-theme="dark"] .logo--on-dark {
  display: inline-block;
}

.navbar {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.1rem;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.navbar a:hover,
.navbar .active {
  color: var(--heading);
}

.navbar a:hover::after,
.navbar .active::after {
  transform: scaleX(1);
}

.navbar .nav-cta {
  margin-left: 0.6rem;
  border: 1px solid rgba(224, 30, 46, 0.45);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  color: var(--red-deep);
  background: var(--red-dim);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.navbar .nav-cta::after {
  display: none;
}

.navbar .nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  color: var(--heading);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 0;
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.45s var(--ease);
}

.theme-toggle:hover {
  border-color: rgba(224, 30, 46, 0.55);
  color: var(--red-deep);
  background: var(--red-dim);
  transform: rotate(20deg);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  /* Bootstrap'in .navbar'ı position:relative verdiği için menü fixed konumlanmalı */
  .navbar ul {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + 6px);
    left: 16px;
    right: 16px;
    z-index: 998;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(22px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-mobile ul {
    display: flex;
  }

  .navbar a {
    padding: 0.85rem 1rem;
  }

  .navbar .nav-cta {
    margin-left: 0;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.86) 0%, rgba(246, 248, 251, 0.97) 85%),
    url("../img/hero-bg.jpg") center / cover no-repeat;
  transform: scale(1.06);
  animation: kenburns 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(0, -2.5%, 0); }
}

.hero__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 15rem);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 24, 46, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
}

/* Rotating slogans: word-masked enter/exit, stacked via grid */
.hero__slogans {
  display: grid;
  margin: 0 0 1.9rem;
  font-size: clamp(2.7rem, 7.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero__slogan {
  grid-area: 1 / 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.26em;
  opacity: 0;
  pointer-events: none;
}

.hero__slogan.is-active,
.hero__slogan.is-leaving {
  opacity: 1;
}

.hero__slogan .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero__slogan .wi {
  display: inline-block;
  transform: translateY(120%);
  visibility: hidden;
  will-change: transform;
  background: linear-gradient(180deg, #0c1626 35%, rgba(12, 22, 38, 0.66));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__slogan .wi.hl {
  background: linear-gradient(120deg, #ff5560 0%, var(--red) 50%, #b0121e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Kırmızı kelime gölgesi maske (.w) üzerinde: filter kırpmadan SONRA
   uygulandığı için gölge overflow:hidden sınırında kesilmez */
.hero__slogan .w--glow {
  filter: drop-shadow(0 6px 18px rgba(224, 30, 46, 0.25));
}

.hero__slogan.is-active .wi {
  transform: translateY(0);
  visibility: visible;
  transition: transform 1s var(--ease) var(--wd, 0ms), visibility 0s var(--wd, 0ms);
}

.hero__slogan.is-leaving .wi {
  transform: translateY(-120%);
  visibility: visible;
  transition: transform 0.65s var(--ease) var(--wl, 0ms);
}

.hero__lead {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* Yatay ortalama transform ile YAPILMAZ: data-anim sistemi transform'u
   sıfırladığı için kayma olur. left/right + margin auto kullanılır. */
.hero__scroll {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}

.hero__scroll:hover {
  color: var(--heading);
}

.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scroll-hint 1.9s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-hint {
  0%, 100% { transform: scaleY(0.6); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/*--------------------------------------------------------------
# Spotlight cards (shared hover effect)
--------------------------------------------------------------*/
.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 30, 46, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

/*--------------------------------------------------------------
# Capabilities
--------------------------------------------------------------*/
.capabilities {
  padding-top: clamp(50px, 7vw, 90px);
}

.cap-card {
  height: 100%;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.cap-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 30, 46, 0.35);
  box-shadow: var(--shadow-md);
}

.cap-card__index {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(12, 24, 46, 0.22);
}

.cap-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--red-deep);
  background: var(--red-dim);
  border: 1px solid rgba(224, 30, 46, 0.2);
  margin-bottom: 1.3rem;
}

.cap-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}

.cap-card p {
  margin: 0;
  font-size: 0.94rem;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about__statement {
  max-width: 520px;
}

.about__body p {
  font-size: 1.06rem;
  color: var(--text);
}

.about__body strong {
  color: var(--heading);
  font-weight: 600;
}

.about__body .link-arrow {
  margin-top: 0.5rem;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: clamp(40px, 6vw, 70px) 0;
}

.counts__panel {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}

.counts__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(224, 30, 46, 0.65), transparent);
}

.count-box {
  text-align: center;
  padding: 1rem 0.5rem;
}

.count-box span {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.6rem;
  background: linear-gradient(180deg, #0c1626 30%, rgba(12, 22, 38, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.count-box p {
  margin: 0;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services__visual {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--surface);
}

.services__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(224, 30, 46, 0.06), transparent 55%);
  pointer-events: none;
}

.services__visual img {
  display: block;
  width: 100%;
  transition: transform 0.8s var(--ease);
}

.services__visual:hover img {
  transform: scale(1.04);
}

.services__intro {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  transition: padding-left 0.35s var(--ease), color 0.3s ease;
}

.service-list li:hover {
  padding-left: 0.9rem;
  color: var(--heading);
}

.service-list li i {
  color: var(--red-deep);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Clients marquee
--------------------------------------------------------------*/
.clients {
  padding: clamp(50px, 7vw, 80px) 0;
}

.clients__label {
  text-align: center;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.marquee__item img {
  height: 36px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.marquee__item:hover img {
  filter: none;
  opacity: 1;
}

/*--------------------------------------------------------------
# GEOs
--------------------------------------------------------------*/
.geos__intro {
  margin-bottom: 3rem;
}

.geos__intro p {
  font-size: 1.03rem;
  margin: 0;
}

.geo-card {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.geo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 30, 46, 0.35);
  box-shadow: var(--shadow-md);
}

.geo-card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(12, 24, 46, 0.1);
  box-shadow: 0 12px 26px rgba(12, 24, 46, 0.16);
  margin-bottom: 1.1rem;
  transition: transform 0.45s var(--ease), border-color 0.35s ease;
}

.geo-card:hover img {
  transform: scale(1.08);
  border-color: rgba(224, 30, 46, 0.5);
}

.geo-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.geos .swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.geos .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(12, 24, 46, 0.22);
  opacity: 1;
  transition: width 0.3s var(--ease), background 0.3s ease;
}

.geos .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 999px;
  background: var(--red);
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features__intro {
  margin-bottom: 3rem;
}

.features__intro p {
  font-size: 1.03rem;
  margin: 0;
}

.feature-card {
  height: 100%;
  padding: 2.1rem 1.7rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 30, 46, 0.35);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--red-deep);
  background: var(--red-dim);
  border: 1px solid rgba(224, 30, 46, 0.2);
  margin-bottom: 1.35rem;
}

.feature-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/*--------------------------------------------------------------
# Publisher CTA (dark contrast panel)
--------------------------------------------------------------*/
.publisher {
  padding: clamp(50px, 7vw, 90px) 0;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.publisher__panel {
  position: relative;
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(ellipse at 50% -20%, rgba(224, 30, 46, 0.24), transparent 55%),
    linear-gradient(165deg, #131e34 0%, #080d17 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.publisher__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), transparent 0%, rgba(224, 30, 46, 0.85) 12%, rgba(61, 143, 212, 0.4) 24%, transparent 36%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: border-spin 7s linear infinite;
  pointer-events: none;
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

.publisher__panel .section-head__eyebrow {
  color: #ff6b74;
}

.publisher__panel h2 {
  margin: 1rem 0;
  color: #fff;
}

.publisher__panel p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: rgba(230, 236, 246, 0.78);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact__intro {
  margin-bottom: 2.5rem;
}

.contact__intro p {
  font-size: 1.03rem;
  margin: 0;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}

.contact__block {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.contact__block i {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--red-deep);
  background: var(--red-dim);
  border: 1px solid rgba(224, 30, 46, 0.2);
}

.contact__block h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.contact__block p {
  margin: 0;
  font-size: 0.95rem;
}

.contact__block a {
  color: var(--text);
}

.contact__block a:hover {
  color: var(--red-deep);
}

.contact__form .form-control {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.95rem 1.15rem;
  font-size: 0.98rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form .form-control::placeholder {
  color: rgba(93, 103, 120, 0.65);
}

.contact__form .form-control:focus {
  border-color: rgba(224, 30, 46, 0.55);
  box-shadow: 0 0 0 3px rgba(224, 30, 46, 0.12);
  color: var(--heading);
  outline: none;
}

.contact__form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact__form .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.contact__form .loading,
.contact__form .error-message,
.contact__form .sent-message {
  display: none;
  margin-bottom: 0.6rem;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
}

.contact__form .loading {
  color: var(--muted);
  background: rgba(12, 24, 46, 0.05);
  text-align: center;
}

.contact__form .error-message {
  color: #b3121f;
  background: rgba(224, 30, 46, 0.09);
}

.contact__form .sent-message {
  color: #157347;
  background: rgba(21, 115, 71, 0.09);
}

.contact__form .loading.d-block,
.contact__form .error-message.d-block,
.contact__form .sent-message.d-block {
  display: block;
}

/*--------------------------------------------------------------
# Footer (dark contrast)
--------------------------------------------------------------*/
#footer {
  position: relative;
  z-index: 1;
  background: #0b1322;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(230, 236, 246, 0.75);
}

.footer__top {
  padding: 4.5rem 0 3rem;
}

#footer p {
  color: rgba(230, 236, 246, 0.6);
}

.footer__logo img {
  max-height: 36px;
  margin-bottom: 1.1rem;
}

.footer__tagline {
  max-width: 270px;
  font-size: 0.95rem;
}

.footer__mail a {
  color: rgba(230, 236, 246, 0.9);
  font-family: var(--display);
  font-weight: 500;
}

.footer__mail a:hover {
  color: var(--red-bright);
}

.footer__links h4,
.footer__newsletter h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: rgba(230, 236, 246, 0.6);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__newsletter p {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.footer__newsletter form {
  display: flex;
  gap: 0.4rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.footer__newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

.footer__newsletter button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.footer__newsletter button:hover {
  background: var(--red-bright);
}

.newsletter-message {
  display: none;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #8cf5b5;
}

.newsletter-message.is-visible {
  display: block;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(230, 236, 246, 0.55);
}

.footer__bottom a {
  color: #fff;
}

.footer__bottom a:hover {
  color: var(--red-bright);
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 12px 30px rgba(224, 30, 46, 0.35);
}

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

.back-to-top:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Theme notice toast
--------------------------------------------------------------*/
.theme-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1050;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: min(380px, calc(100vw - 40px));
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}

.theme-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.theme-toast__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-dim);
  color: var(--red-deep);
  font-size: 1.15rem;
}

.theme-toast__body p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.theme-toast__switch {
  background: none;
  border: none;
  padding: 0 0 0.1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--red-deep);
  border-bottom: 1px solid rgba(224, 30, 46, 0.4);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.theme-toast__switch:hover {
  color: var(--heading);
  border-color: var(--heading);
}

.theme-toast__close {
  background: none;
  border: none;
  padding: 0.2rem;
  line-height: 0;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.theme-toast__close:hover {
  color: var(--heading);
}

/*--------------------------------------------------------------
# Theme switch transition
--------------------------------------------------------------*/
html.theme-fade body,
html.theme-fade body *,
html.theme-fade body *::before,
html.theme-fade body *::after {
  transition:
    background-color 0.5s ease,
    background 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    filter 0.5s ease !important;
}

/*--------------------------------------------------------------
# Dark theme
--------------------------------------------------------------*/
[data-theme="dark"] {
  --bg: #05070d;
  --bg-2: #090e18;
  --surface: #0e1526;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eaeef6;
  --muted: #8e99ad;
  --heading: #f5f8fc;
  --red-deep: #ff4b57;
  --red-dim: rgba(224, 30, 46, 0.16);
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 55px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ambient__mesh {
  background:
    radial-gradient(ellipse 90% 55% at 70% -10%, rgba(224, 30, 46, 0.13), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 65%, rgba(61, 143, 212, 0.07), transparent 55%),
    linear-gradient(180deg, #05070d 0%, #070b14 55%, #05070d 100%);
}

[data-theme="dark"] .ambient__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

[data-theme="dark"] .ambient__orb {
  opacity: 0.4;
}

[data-theme="dark"] .ambient__orb--red {
  background: rgba(224, 30, 46, 0.28);
}

[data-theme="dark"] .ambient__orb--blue {
  background: rgba(61, 143, 212, 0.18);
}

[data-theme="dark"] #header.header-scrolled {
  background: rgba(5, 7, 13, 0.78);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-outline {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .preloader__bar {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero__bg {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.55) 0%, rgba(5, 7, 13, 0.92) 85%),
    url("../img/hero-bg.jpg") center / cover no-repeat;
}

[data-theme="dark"] .hero__watermark {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hero__slogan .wi {
  background-image: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero__slogan .wi.hl {
  background-image: linear-gradient(120deg, #ff6b74 0%, var(--red-bright) 45%, #ff9098 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero__slogan .w--glow {
  filter: drop-shadow(0 0 22px rgba(224, 30, 46, 0.45));
}

[data-theme="dark"] .spotlight::before {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(224, 30, 46, 0.14), transparent 65%);
}

[data-theme="dark"] .cap-card__index {
  color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .about__body p {
  color: rgba(232, 238, 247, 0.78);
}

[data-theme="dark"] .counts__panel {
  background: linear-gradient(160deg, rgba(18, 27, 46, 0.75), rgba(8, 12, 20, 0.9));
}

[data-theme="dark"] .count-box span {
  background-image: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .services__visual::after {
  background: linear-gradient(140deg, rgba(224, 30, 46, 0.12), transparent 55%);
}

[data-theme="dark"] .marquee__item img {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.6;
}

[data-theme="dark"] .marquee__item:hover img {
  filter: none;
  opacity: 1;
}

[data-theme="dark"] .geo-card img {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .geos .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .geos .swiper-pagination-bullet-active {
  background: var(--red);
}

[data-theme="dark"] .contact__form .form-control {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .contact__form .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .contact__form .form-control::placeholder {
  color: rgba(142, 153, 173, 0.7);
}

[data-theme="dark"] .contact__form .loading {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .contact__form .error-message {
  color: #ff9aa2;
  background: rgba(224, 30, 46, 0.12);
}

[data-theme="dark"] .contact__form .sent-message {
  color: #8cf5b5;
  background: rgba(36, 170, 96, 0.13);
}

@media (max-width: 991px) {
  [data-theme="dark"] .navbar ul {
    background: rgba(8, 11, 19, 0.97);
  }
}

/*--------------------------------------------------------------
# Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-anim],
  [data-split] .wi,
  .hero__slogan.is-active .wi {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  :root {
    --header-h: 68px;
  }

  #hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 4.5rem);
    padding-bottom: 6rem;
  }

  .hero__watermark {
    font-size: clamp(3rem, 18vw, 8rem);
  }

  .about__statement {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-solid,
  .btn-outline {
    width: 100%;
  }

  .footer__newsletter form {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .footer__newsletter button {
    width: 100%;
  }
}
