@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap');

:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --panel-2: #eef2f8;
  --text: #16233a;
  --muted: #5b6982;
  --accent: #0f7bff;
  --accent-2: #12c2a3;
  --stroke: rgba(17, 35, 73, 0.08);
  --shadow: 0 20px 50px rgba(28, 55, 95, 0.12);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

/* Page load fade-in */
body {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(15, 123, 255, 0.08), transparent 32%),
    radial-gradient(circle at 75% 8%, rgba(18, 194, 163, 0.08), transparent 28%),
    repeating-linear-gradient(45deg,
      transparent,
      transparent 60px,
      rgba(15, 123, 255, 0.01) 60px,
      rgba(15, 123, 255, 0.01) 120px),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

main {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 5vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 12px 30px rgba(31, 56, 97, 0.07);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 16px 40px rgba(31, 56, 97, 0.12);
  padding: 0.75rem 5vw;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 123, 255, 0.2);
}

.nav__logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1);
}

.nav__name span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  font-weight: 600;
}

.nav__links a {
  padding: 0.35rem 0.55rem;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
  background: rgba(15, 123, 255, 0.08);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 123, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 123, 255, 0.32);
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--ghost {
  background: #ffffff;
  border: 1px solid var(--stroke);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(15, 123, 255, 0.2);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: inline-flex;
  width: auto;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle button.active {
  background: rgba(15, 123, 255, 0.12);
  color: var(--accent);
}

#menuToggle {
  display: none;
  width: 46px;
  height: 46px;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #ffffff;
}

#menuToggle span {
  height: 3px;
  background: var(--text);
  width: 100%;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-chip {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.12), rgba(18, 194, 163, 0.2));
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--stroke);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-chip span,
.icon::after {
  content: '';
  display: block;
}

.icon-chip--launch span {
  width: 12px;
  height: 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  clip-path: polygon(50% 0%, 100% 70%, 50% 100%, 0 70%);
}

.icon-chip--growth span {
  width: 14px;
  height: 14px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg) translate(-2px, 2px);
  border-radius: 2px;
}

.icon-chip--global span {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 -3px 0 0 var(--accent), inset 0 -3px 0 0 var(--accent);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(15, 123, 255, 0.12), rgba(18, 194, 163, 0.15));
  border: 1px solid var(--stroke);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon:hover,
.card:hover .icon {
  background: linear-gradient(150deg, rgba(15, 123, 255, 0.18), rgba(18, 194, 163, 0.22));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px rgba(15, 123, 255, 0.15);
}

.icon--shield::after {
  content: '🛡️';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--doc::after {
  content: '📄';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--lock::after {
  content: '🔒';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--flow::after {
  content: '🔄';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--consent::after {
  content: '✔️';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--storage::after {
  content: '💾';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--key::after {
  content: '🔑';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--backup::after {
  content: '💿';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--check::after {
  content: '✅';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--research::after {
  content: '🔍';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--messaging::after {
  content: '💬';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--ia::after {
  content: '🗂️';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--stacks::after {
  content: '🚀';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}
.icon--reliable::after {
  content: '📞';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--qa::after {
  content: '🔍';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--analytics::after {
  content: '📊';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--design::after {
  content: '✨';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--lift::after {
  content: '📈';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--control::after {
  content: '⚙️';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.icon--trust::after {
  content: '🤝';
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s ease;
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  right: 5vw;
  left: 5vw;
  padding: 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 5vw 2rem;
  align-items: center;
}

.hero--bright {
  background:
    radial-gradient(circle at 10% 20%, rgba(15, 123, 255, 0.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(18, 194, 163, 0.04), transparent 40%),
    linear-gradient(135deg, #ffffff, #f3f6fb);
  border-bottom: 1px solid var(--stroke);
  position: relative;
}

.hero--bright::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg,
      transparent,
      transparent 2px,
      rgba(15, 123, 255, 0.01) 2px,
      rgba(15, 123, 255, 0.01) 4px);
  pointer-events: none;
  opacity: 0.5;
}

.hero--services {
  background:
    radial-gradient(circle at 30% 20%, rgba(15, 123, 255, 0.06), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(18, 194, 163, 0.06), transparent 50%),
    linear-gradient(135deg, #f0f4ff 0%, #e8f5f2 100%);
  border-bottom: 1px solid var(--stroke);
  padding: 5rem 5vw 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero--services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 80px,
      rgba(15, 123, 255, 0.015) 80px,
      rgba(15, 123, 255, 0.015) 160px);
  pointer-events: none;
}

.hero--services .hero__content {
  max-width: 800px;
  text-align: center;
}

.hero__services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  justify-items: center;
}

.hero--services .hero__actions {
  justify-content: center;
}

.service-mini-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 123, 255, 0.15);
}

.service-mini-card:hover .icon {
  box-shadow: 0 0 20px rgba(15, 123, 255, 0.3);
}

.service-mini-card .icon {
  width: 48px;
  height: 48px;
  transition: box-shadow 0.3s ease;
}

.service-mini-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.hero--work {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f7bff 0%, #12c2a3 100%);
  color: #ffffff;
  padding: 6rem 5vw 4rem;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08), transparent 40%),
    repeating-linear-gradient(135deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.02) 100px,
      rgba(255, 255, 255, 0.02) 200px);
  pointer-events: none;
  animation: subtleShift 20s ease-in-out infinite alternate;
}

@keyframes subtleShift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(20px, -20px);
  }
}

.hero__content--centered {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero--work .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.hero--work h1,
.hero--work .hero__lead {
  color: #ffffff;
}

.hero__stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-pill strong {
  font-size: 1.5rem;
  color: #ffffff;
}

.stat-pill span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero--legal {
  background:
    radial-gradient(circle at 20% 30%, rgba(15, 123, 255, 0.05), transparent 40%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
  border-bottom: 1px solid var(--stroke);
  padding: 5rem 5vw 3rem;
  position: relative;
}

.hero--legal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(15, 123, 255, 0.012) 3px,
      rgba(15, 123, 255, 0.012) 6px);
  pointer-events: none;
}

.hero--legal .hero__content {
  max-width: 800px;
}

.hero__legal-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.legal-badge {
  background: rgba(15, 123, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 123, 255, 0.12);
}

.legal-badge .icon {
  width: 42px;
  height: 42px;
}

.legal-badge span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  width: 220px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer__logo:hover {
  transform: scale(1.05);
}

.footer__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer__brand p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 260px;
}

.hero__content {
  max-width: 640px;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0.4rem 0 0.8rem;
}

/* Optional gradient text on hero titles */
.hero--work h1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero--work .hero__actions,
.hero__content--centered .hero__actions {
  justify-content: center;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(15, 123, 255, 0.06);
  border: 1px solid var(--stroke);
}

.hero__metrics strong {
  font-size: 1.4rem;
}

.photo {
  background: linear-gradient(135deg, #d9e5ff 0%, #f4f9ff 40%, #d6f3ea 100%);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(28, 55, 95, 0.15);
}

.photo--hero {
  min-height: 500px;
  background: linear-gradient(145deg, #dbe8ff, #eef6ff, #d1f2e9);
  background-size: cover;
  background-position: center;
}

.photo--wide {
  min-height: 280px;
}

.photo--tall {
  min-height: 400px;
}

.photo--card {
  min-height: 420px;
}

.section {
  padding: 4.5rem 5vw;
  position: relative;
}

.section--panel {
  background: #ffffff;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  position: relative;
}

.section--panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(15, 123, 255, 0.02) 50%, transparent 100%),
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(15, 123, 255, 0.015) 2px,
      rgba(15, 123, 255, 0.015) 4px);
  pointer-events: none;
  opacity: 0.5;
}

.section--gallery {
  background: var(--panel-2);
  border-block: 1px solid var(--stroke);
  position: relative;
}

.section--gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15, 123, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(18, 194, 163, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section__heading h2 {
  margin: 0.4rem 0 0.3rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section__heading {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cards--wide {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Varied card layouts */
.cards--varied {
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.cards--varied .card:nth-child(1) {
  grid-column: span 5;
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.03), rgba(18, 194, 163, 0.03));
}

.cards--varied .card:nth-child(2) {
  grid-column: span 7;
}

.cards--varied .card:nth-child(3) {
  grid-column: span 6;
  background: linear-gradient(135deg, rgba(18, 194, 163, 0.03), rgba(15, 123, 255, 0.03));
}

.cards--varied .card:nth-child(4) {
  grid-column: span 6;
}

.cards--varied .card:nth-child(5) {
  grid-column: span 4;
}

.cards--varied .card:nth-child(6) {
  grid-column: span 8;
}

/* Alternating featured cards */
.cards--featured {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--featured .card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cards--featured .card:nth-child(odd) {
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.04), rgba(18, 194, 163, 0.04));
}

.cards--featured .card:nth-child(even) {
  background: linear-gradient(135deg, rgba(18, 194, 163, 0.04), rgba(15, 123, 255, 0.04));
}

.cards--featured .card:first-child {
  padding: 2rem;
}

.cards--featured .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(28, 55, 95, 0.18);
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(28, 55, 95, 0.16);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(15, 123, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}

.legal-cards .card__icon {
  width: auto;
  padding: 0.4rem 0.75rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.lead {
  color: var(--muted);
  max-width: 720px;
}

.gallery {
  display: flex;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
  min-height: 450px;
}

.gallery .photo {
  flex: 1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 450px;
  position: relative;
}

.gallery:hover .photo {
  flex: 0.3;
  filter: brightness(0.65) saturate(0.6);
  transform: scale(0.98);
}

.gallery .photo:hover {
  flex: 2.4;
  filter: brightness(1) saturate(1.1);
  transform: scale(1);
  box-shadow: 0 32px 80px rgba(28, 55, 95, 0.25);
  z-index: 2;
}

.work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work--grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section__cta {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.work__item {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work__item--hidden {
  display: none;
}

.work__item--hidden.visible-item {
  display: grid;
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.work__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(28, 55, 95, 0.15);
}

.work__item:hover::before {
  transform: scaleX(1);
}

.work__meta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work__meta h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.4rem;
}

.work__meta p {
  flex: 1;
}

.work__meta .btn {
  align-self: flex-start;
}

@keyframes sheen {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
  }
}

.work-showcase {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.work-showcase__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.03), rgba(18, 194, 163, 0.03));
  border-radius: calc(var(--radius) + 8px);
  padding: 2.5rem;
  border: 1px solid var(--stroke);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-showcase__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.work-showcase__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(28, 55, 95, 0.14);
}

.work-showcase__item.visible::before {
  transform: scaleX(1);
}

.work-showcase__item--reverse {
  grid-template-columns: 1fr 1fr;
}

.work-showcase__item--reverse .work-showcase__image {
  order: 2;
}

.work-showcase__item--reverse .work-showcase__content {
  order: 1;
}

.work-showcase__image {
  position: relative;
}

.work-showcase__image .photo {
  min-height: 360px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-showcase__item:hover .work-showcase__image .photo {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(28, 55, 95, 0.18);
}

.work-showcase__content {
  display: grid;
  gap: 1rem;
}

.work-showcase__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

.work-showcase__content h3 {
  font-size: 2rem;
  margin: 0;
  line-height: 1.2;
}

.work-showcase__content p {
  color: var(--muted);
  line-height: 1.7;
}

.work-showcase__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.metric-badge {
  background: rgba(15, 123, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.metric-badge:hover {
  transform: translateY(-2px);
  background: rgba(15, 123, 255, 0.12);
}

.metric-badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1.2;
}

.metric-badge span {
  font-size: 0.75rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 2px solid var(--stroke);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s ease;
}

.timeline.visible::before {
  transform: scaleY(1);
}

.timeline__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline__step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.timeline__step p {
  color: var(--muted);
  margin: 0;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent);
  margin-left: -2.5rem;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(15, 123, 255, 0.1);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background:
    linear-gradient(135deg, rgba(15, 123, 255, 0.06), rgba(18, 194, 163, 0.06)),
    #ffffff;
  padding: 3.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 60px rgba(15, 123, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 123, 255, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact__copy h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact__badges span {
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.12), rgba(18, 194, 163, 0.12));
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(15, 123, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact__badges span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 123, 255, 0.15);
}

.contact__form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 123, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact__form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--stroke);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 123, 255, 0.08), 0 4px 12px rgba(15, 123, 255, 0.1);
  transform: translateY(-1px);
}

.contact__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__form .btn--primary {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.contact__note {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.06), rgba(18, 194, 163, 0.06));
  border-radius: 12px;
  border: 1px solid rgba(15, 123, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact__note::before {
  content: '✉';
  font-size: 1.5rem;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.footer {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid var(--stroke);
  padding: 4rem 5vw 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.footer__links a {
  display: block;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.footer__links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--accent);
}

.footer__copy {
  color: var(--muted);
  font-size: 0.9rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services Section Redesign */
.section--services {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.section--services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(15, 123, 255, 0.04), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(18, 194, 163, 0.04), transparent 40%);
  pointer-events: none;
}

.services-hero {
  position: relative;
  z-index: 1;
}

.services-hero__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.services-hero__content h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}

.services-hero__lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(28, 55, 95, 0.18);
  border-color: rgba(15, 123, 255, 0.2);
}

.service-card--featured {
  background: linear-gradient(135deg, rgba(15, 123, 255, 0.04), rgba(18, 194, 163, 0.04));
  border: 2px solid rgba(15, 123, 255, 0.15);
  transform: scale(1.02);
}

.service-card--featured:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 80px rgba(28, 55, 95, 0.22);
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.service-card__icon {
  width: 64px;
  height: 64px;
}

.service-card--featured .service-card__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(150deg, rgba(15, 123, 255, 0.18), rgba(18, 194, 163, 0.22));
}

.service-card__number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card__number {
  opacity: 0.6;
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}

.service-card--featured h3 {
  font-size: 1.65rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 0.5rem;
}

.service-card__link:hover {
  gap: 0.75rem;
  color: var(--accent-2);
}

/* Responsive Breakpoints */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card--featured {
    transform: scale(1);
  }

  .service-card--featured:hover {
    transform: translateY(-8px) scale(1);
  }

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

  .footer__brand {
    grid-column: span 2;
  }

  .cards--varied {
    grid-template-columns: repeat(6, 1fr);
  }

  .cards--varied .card:nth-child(1) {
    grid-column: span 6;
  }

  .cards--varied .card:nth-child(2) {
    grid-column: span 6;
  }

  .cards--varied .card:nth-child(3) {
    grid-column: span 3;
  }

  .cards--varied .card:nth-child(4) {
    grid-column: span 3;
  }

  .cards--varied .card:nth-child(5) {
    grid-column: span 6;
  }

  .cards--varied .card:nth-child(6) {
    grid-column: span 6;
  }

  .work {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "links links";
    row-gap: 0.65rem;
  }

  .nav__brand {
    grid-area: brand;
  }

  .nav__links {
    grid-area: links;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }

  .services-hero__content h2 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  .work-showcase__item,
  .work-showcase__item--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .work-showcase__item--reverse .work-showcase__image,
  .work-showcase__item--reverse .work-showcase__content {
    order: initial;
  }

  .work-showcase__image .photo {
    min-height: 420px;
  }

  .photo--hero {
    min-height: 500px;
  }

  .work-showcase__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    flex-direction: column;
    min-height: auto;
  }

  .gallery .photo {
    min-height: 320px;
  }

  .gallery:hover .photo {
    flex: 1;
    filter: brightness(1);
    transform: scale(1);
  }

  .gallery .photo:hover {
    flex: 1;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3.6rem);
  }

  .work-showcase__content h3 {
    font-size: 1.6rem;
  }

  .contact {
    padding: 2rem 1.5rem;
  }

  .cards--varied {
    grid-template-columns: 1fr;
  }

  .cards--varied .card:nth-child(1),
  .cards--varied .card:nth-child(2),
  .cards--varied .card:nth-child(3),
  .cards--varied .card:nth-child(4),
  .cards--varied .card:nth-child(5),
  .cards--varied .card:nth-child(6) {
    grid-column: span 1;
  }

  .cards--featured .card:first-child {
    padding: 1.35rem;
  }
}

@media (max-width: 780px) {
  .nav {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand cta";
  }

  .nav__links {
    display: none;
  }

  #menuToggle {
    display: inline-flex;
  }

  .nav__mobile.show {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 2rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .services-hero__content {
    margin-bottom: 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
  }

  .service-card--featured .service-card__icon {
    width: 60px;
    height: 60px;
  }

  .service-card__number {
    font-size: 2rem;
  }

  .hero__services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero--work {
    min-height: 60vh;
    padding: 4rem 1.25rem 3rem;
  }

  .hero__stats {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-pill {
    justify-content: center;
  }

  .photo--hero {
    min-height: 400px;
  }

  .photo--tall {
    min-height: 400px;
  }

  .photo--wide {
    min-height: 280px;
  }

  .photo--card {
    min-height: 320px;
  }

  .work {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-showcase__image .photo {
    min-height: 360px;
  }

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

  .cards--wide {
    grid-template-columns: 1fr;
  }

  .work-showcase__metrics {
    grid-template-columns: 1fr;
  }

  .metric-badge {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    text-align: left;
    padding: 0.75rem 1rem;
    align-items: center;
  }

  .metric-badge strong {
    font-size: 1.6rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  /* Process section responsive */
  .process-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .photo--process {
    height: 350px;
  }

  .footer {
    padding: 2rem 1.25rem;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

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

  .contact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .contact__form {
    padding: 1.5rem;
  }
}

/* Process Section with Photo Layout */
.section--process {
  padding: 5rem 0;
}

.section--process .process-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

.process-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.process-image {
  position: relative;
}

.photo--process {
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  position: relative;
}

.photo--process::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.process-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-content .section__heading {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 2px solid var(--stroke);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s ease;
}

.timeline.visible::before {
  transform: scaleY(1);
}

.timeline__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline__step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.timeline__step p {
  color: var(--muted);
  margin: 0;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent);
  margin-left: -2.5rem;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(15, 123, 255, 0.1);
}

/* ========================================
   Cookie Consent Banner
   ======================================== */

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  width: calc(100% - 2rem);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(28, 55, 95, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--stroke);
  pointer-events: none;
}

.cookie-banner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

.cookie-banner__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cookie-banner__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
}

.cookie-banner__icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cookie-banner__close {
  display: none;
}

.cookie-banner__content {
  margin-bottom: 1.5rem;
}

.cookie-banner__text {
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner__text a:hover {
  color: var(--accent-2);
}

.cookie-banner__categories {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(15, 123, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(15, 123, 255, 0.1);
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category__info {
  flex: 1;
}

.cookie-category__label {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
}

.cookie-category__description {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e0;
  border-radius: 26px;
  transition: background 0.3s ease;
}

.cookie-toggle__slider:before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked+.cookie-toggle__slider {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.cookie-toggle input:checked+.cookie-toggle__slider:before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled+.cookie-toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--stroke);
  color: var(--text);
  font-weight: 600;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(15, 123, 255, 0.05);
}

/* Cookie backdrop overlay */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 55, 95, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-backdrop.show {
  opacity: 1;
  pointer-events: all;
}

/* Prevent body scroll when banner is shown */
body.cookie-banner-active {
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-banner {
    width: calc(100% - 1rem);
    padding: 1.5rem;
    max-width: none;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cookie-banner__title {
    font-size: 1.1rem;
  }

  .cookie-banner__text {
    font-size: 0.9rem;
  }

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

  .cookie-banner__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cookie-toggle {
    align-self: flex-end;
  }
}

/* Animation for cookie icon */
@keyframes cookiePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.cookie-banner.show .cookie-banner__icon {
  animation: cookiePulse 3s ease-in-out infinite;
}