:root {
  color-scheme: dark;
  --color-ink: #04060a;
  --color-charcoal: #0b1220;
  --color-slate: #111a2f;
  --color-cloud: #f5f7fb;
  --color-muted: #b9c1d6;
  --color-gold: #f4c95d;
  --color-aqua: #38d4c0;
  --color-plum: #7c6bff;
  --color-rose: #ff8db5;
  --shadow-soft: 0 12px 30px rgba(4, 6, 10, 0.35);
  --shadow-bold: 0 25px 60px rgba(4, 6, 10, 0.55);
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-ink);
  color: var(--color-cloud);
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}
.bg-app {
  background: var(--color-ink);
}
.bg-page-gradient {
  background: radial-gradient(circle at 10% 20%, rgba(244, 201, 93, 0.1), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(124, 107, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.95) 0%, rgba(11, 18, 32, 0.98) 35%, rgba(4, 6, 10, 1) 100%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url('/images/noise.png');
  opacity: 0.15;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--color-cloud);
  color: var(--color-ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  z-index: 50;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  left: 1rem;
  transform: translateY(-0.25rem);
}
.logo-ring {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(56, 212, 192, 0.55);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45), 0 0 10px rgba(56, 212, 192, 0.3);
  background: rgba(7, 12, 22, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}
.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.45)) contrast(1.15) saturate(1.1);
}
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-section::before {
  background: radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.35), transparent 60%);
}
.hero-section::after {
  background: radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.3), transparent 55%);
  animation-delay: 4s;
}
@keyframes heroDrift {
  0% {
    transform: translate(-5%, -5%) scale(1);
  }
  50% {
    transform: translate(5%, 5%) scale(1.1);
  }
  100% {
    transform: translate(-3%, 7%) scale(0.95);
  }
}
.card {
  background: radial-gradient(circle at 0% 0%, rgba(56, 212, 192, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(11, 18, 32, 0.92), rgba(6, 10, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
@media (max-width: 768px) {
  .card {
    padding: 1.2rem;
  }
  .hero-section .grid {
    gap: 2.5rem;
  }
  header nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #mobileNav a {
    font-size: 1rem;
  }
}
.cta-primary {
  background: linear-gradient(120deg, var(--color-gold), var(--color-rose));
  color: var(--color-ink);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 15px 35px rgba(244, 201, 93, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(244, 201, 93, 0.45);
}
.cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.cta-secondary:hover {
  border-color: rgba(244, 201, 93, 0.8);
  color: var(--color-gold);
  background: rgba(244, 201, 93, 0.08);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}
.badge {
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 11, 16, 0.8);
  padding: 0.85rem 1rem;
  color: #f3f4f6;
}
.form-field small {
  color: #f87171;
}
.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
.filter-btn.active {
  background: var(--color-gold);
  color: var(--color-ink);
}
.hero-media {
  width: min(100%, 420px);
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 7, 10, 0.4);
  padding: 1rem;
  object-fit: contain;
  box-shadow: var(--shadow-soft);
}
.portfolio-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}
.alert {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}
.alert-success {
  border: 1px solid rgba(20, 184, 166, 0.6);
  background: rgba(20, 184, 166, 0.1);
}
.alert-error {
  border: 1px solid rgba(248, 113, 113, 0.6);
  background: rgba(248, 113, 113, 0.08);
}
.cta-banner {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: linear-gradient(135deg, rgba(244, 201, 93, 0.14), rgba(56, 212, 192, 0.14)),
    rgba(7, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.cta-floating {
  position: sticky;
  bottom: 1rem;
  width: min(600px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(4, 6, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-bold);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.cta-floating strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cta-floating .cta-primary {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
}
.cta-floating .cta-secondary {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .cta-floating {
    flex-direction: column;
  }
}
.chatbot-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 9, 18, 0.9);
  box-shadow: var(--shadow-soft);
  color: var(--color-cloud);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-bold);
}
.chatbot-toggle img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(244, 201, 93, 0.5);
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
}
.chatbot-toggle__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.chatbot-toggle__text span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.chatbot-panel {
  width: min(360px, calc(100vw - 2rem));
  height: 520px;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 6, 10, 0.96);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chatbot-panel.hidden {
  display: none;
}
.chatbot-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 22, 0.95);
}
.chatbot-panel__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.chatbot-panel__brand img {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.15rem;
}
.chatbot-panel__eyebrow {
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}
.chatbot-panel__title {
  font-weight: 600;
}
.chatbot-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-cloud);
  font-size: 1rem;
  line-height: 1;
}
.chatbot-panel iframe {
  border: none;
  flex: 1;
  width: 100%;
  background: #030712;
}
.chatbot-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 22, 0.95);
}
.chatbot-close-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-cloud);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}
.chatbot-popout {
  font-size: 0.85rem;
  color: var(--color-gold);
  text-decoration: none;
}
@media (max-width: 640px) {
  .chatbot-widget {
    right: 1rem;
    bottom: 1rem;
  }
  .chatbot-panel {
    width: calc(100vw - 2rem);
    height: min(520px, calc(100vh - 5rem));
  }
}
.service-section {
  position: relative;
}
.service-section::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(120deg, rgba(234, 179, 8, 0.5), rgba(20, 184, 166, 0.3));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}
