/* ============================================================================
   RISAVIKA CONSULTING AS — SELF-CONTAINED PRODUCTION STYLESHEET
   ============================================================================ */

:root {
  --bg-dark: #0a1628;
  --bg-navy: #0d1e36;
  --bg-footer: #060d19;
  --card-bg: rgba(15, 31, 56, 0.8);
  --border-subtle: rgba(56, 189, 248, 0.16);
  --border-hover: rgba(56, 189, 248, 0.45);
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.hidden {
  display: none !important;
}

.text-white {
  color: var(--text-white);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================= STICKY HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
  flex-shrink: 0;
}

.brand-logo-wrap img,
.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-sub {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sky-400);
  font-weight: 600;
  margin-top: 0.25rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
}

.desktop-nav a:hover {
  color: var(--text-white);
}

.desktop-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.btn-lang {
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid #334155;
  color: #cbd5e1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-lang:hover {
  border-color: var(--sky-400);
  color: var(--text-white);
}

.btn-lang-sm {
  padding: 0.3rem 0.6rem;
}

.btn-menu {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
}

.mobile-dropdown {
  background: var(--bg-navy);
  border-bottom: 1px solid #1e293b;
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.mobile-cta {
  text-align: center;
  margin-top: 0.25rem;
}

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--sky-500);
  color: #020617;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--sky-400);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.78);
  color: var(--text-white);
  font-weight: 600;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: #1e293b;
  border-color: #475569;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.94) 0%,
    rgba(10, 22, 40, 0.78) 54%,
    rgba(10, 22, 40, 0.45) 100%
  );
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  pointer-events: none;
  width: 100%;
}

.hero-content {
  max-width: 48rem;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.9rem;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--sky-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ================= SECTIONS & GRIDS ================= */
.section-dark {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.section-navy {
  padding: 5rem 0;
  background-color: var(--bg-navy);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: block;
  color: var(--sky-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title-sm {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.grid-2-centered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.grid-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text {
  color: #cbd5e1;
  font-size: 1rem;
}

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

.grid-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* ================= SPOTLIGHT BENTO CARDS ================= */
.spotlight-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(56, 189, 248, 0.16),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.24);
}

.service-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-400);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky-400);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.service-cta:hover {
  color: #7dd3fc;
}

.badge-card {
  padding: 1.25rem;
}

.badge-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--sky-400);
  margin-bottom: 0.35rem;
}

.badge-label {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ================= CONTACT SECTION ================= */
.contact-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.info-box,
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.9rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.info-icon {
  color: var(--sky-400);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.info-label {
  font-weight: 600;
  color: var(--text-white);
}

.info-value {
  color: var(--text-muted);
}

.info-link {
  color: var(--sky-400);
}

.info-link:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.field-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid #334155;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.field-input::placeholder {
  color: #64748b;
}

.field-input:focus {
  outline: none;
  border-color: var(--sky-400);
}

.gdpr-note {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.form-status {
  font-size: 0.82rem;
  text-align: center;
  color: #7dd3fc;
  min-height: 1.2rem;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-logo-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.75rem;
  color: #64748b;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .desktop-nav,
  .desktop-actions {
    display: flex;
  }
  .mobile-controls,
  .mobile-dropdown {
    display: none !important;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-2-centered {
    grid-template-columns: repeat(2, 1fr);
  }
}

<!-- ================= FOOTER ================= -->
.footer-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--text-white);
}
.footer-top-link {
  color: var(--sky-400);
}
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

@media (min-width: 1024px) {
  .grid-about {
    grid-template-columns: 7fr 5fr;
  }
  .grid-contact {
    grid-template-columns: 5fr 7fr;
  }
}