:root {
  --bg: #08080d;
  --surface: #121225;
  --surface-soft: #1a1a33;
  --text: #f5f6ff;
  --muted: #b7b9d4;
  --brand: #4169e1;
  --brand-strong: #2f4fc0;
  --accent: #2a0a5e;
  --border: #30305f;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(65, 105, 225, 0.24), transparent 42%),
    radial-gradient(circle at 82% 16%, rgba(42, 10, 94, 0.34), transparent 38%),
    linear-gradient(180deg, #0b0b14 0%, #050509 100%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

#header {
  transition: all 0.3s ease;
  padding: 14px 0;
  z-index: 997;
}

#header.header-scrolled {
  background: rgba(8, 8, 13, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#fplogo {
  width: 46px;
  height: 46px;
}

.brand span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.navbar a {
  font-weight: 500;
  color: #e2e6ff;
  transition: color 0.25s ease;
}

.navbar a:hover,
.navbar .active {
  color: var(--brand);
}

.mobile-nav-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cta-link {
  background: var(--text);
  color: #06070d;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta-link:hover {
  transform: translateY(-2px);
  background: #cfd7ff;
}

.hero-section {
  min-height: 100vh;
  padding-top: 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(65, 105, 225, 0.16);
  color: #c8d4ff;
  border: 1px solid rgba(65, 105, 225, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 18px;
}

#hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin: 0;
  max-width: 720px;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 22px 0 26px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-outline {
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
}

.btn-hero-primary {
  background: var(--brand);
  color: #fefeff;
}

.btn-hero-primary:hover {
  background: var(--brand-strong);
  color: #fff;
}

.btn-hero-outline {
  border: 1px solid var(--text);
  color: var(--text);
}

.btn-hero-outline:hover {
  background: #1c1c34;
}

.hero-badges {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #d2d5ef;
}

.hero-badges i {
  color: var(--brand);
}

.hero-visual-card {
  background: linear-gradient(150deg, #15152c 0%, #202042 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transform: rotate(1deg);
}

.hero-visual-card img {
  border-radius: 18px;
}

.section-pad {
  padding: 95px 0;
}

.section-title {
  margin-bottom: 34px;
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.18;
  margin: 0;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.panel-card p {
  margin-bottom: 12px;
  color: #d2d5ef;
}

.checklist-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.checklist-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5d8f0;
}

.checklist-card i {
  color: var(--brand);
  font-size: 1.05rem;
}

.services-section {
  background: linear-gradient(180deg, rgba(42, 10, 94, 0.24) 0%, rgba(8, 8, 13, 0.04) 100%);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.55);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), #140528);
}

.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 0;
  color: #ccd0ec;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-info {
  background: linear-gradient(165deg, #09090f 0%, #1b1140 100%);
  color: #f5f6ff;
  border: none;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info .info-item i {
  background: rgba(255, 255, 255, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-info h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.contact-info p {
  margin: 0;
  color: rgba(226, 231, 255, 0.82);
}

.map-wrap {
  display:flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 8px; */
  border-radius: 16px;
  margin:auto;
  overflow: hidden;
  border: 1px solid rgba(130, 155, 245, 0.35);
}

.contact-form h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 4px;
}

.contact-form p {
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid #35356a;
  padding: 12px 14px;
  background: #0e0e1a;
  color: #eff2ff;
}

.contact-form .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

.contact-form .form-control::placeholder {
  color: #8f94ba;
}

.btn-send {
  width: 100%;
  border-radius: 12px;
  border: none;
  background: linear-gradient(120deg, var(--brand), #2a0a5e);
  color: #fff;
  padding: 12px;
  font-weight: 600;
}

.btn-send:hover {
  background: linear-gradient(120deg, #2f4fc0, #1c0740);
  color: #fff;
}

.site-footer {
  border-top: 1px solid rgba(65, 105, 225, 0.25);
  background: rgba(7, 7, 13, 0.9);
  backdrop-filter: blur(10px);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 12px;
}

.footer-copy {
  margin: 0;
  color: #b9bedf;
  font-size: 0.9rem;
}

.footer-legal-nav {
  display: flex;
  gap: 16px;
}

.footer-legal-nav a {
  color: #dce3ff;
  font-weight: 500;
}

.footer-legal-nav a:hover {
  color: var(--brand);
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding-top: 110px;
  padding-bottom: 70px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.legal-card h1,
.legal-card h2 {
  font-family: "Space Grotesk", sans-serif;
}

.legal-card h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.legal-meta {
  color: #a7add2;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.legal-card h2 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li {
  color: #d2d6ef;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.work-main {
  padding-bottom: 85px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  background: linear-gradient(160deg, #13132a 0%, #0b0b18 100%);
  border: 1px solid #2e366f;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 127, 232, 0.8);
}

.work-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  background: linear-gradient(130deg, #4169e1 0%, #2a0a5e 100%);
  color: #ffffff;
  font-size: 1.25rem;
}

.work-icon span {
  line-height: 1;
  font-weight: 700;
}

.work-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(110, 134, 222, 0.45);
  margin-bottom: 14px;
}

.rise-gallery-image {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.rise-gallery-image.is-changing {
  opacity: 0;
}

.rise-gallery {
  margin-bottom: 14px;
}

.rise-gallery .work-thumb {
  margin-bottom: 8px;
  cursor: zoom-in;
}

.rise-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rise-gallery-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(94, 122, 218, 0.6);
  border-radius: 8px;
  background: #151b3c;
  color: #dbe2ff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.rise-gallery-btn:hover {
  background: #1f2855;
}

.rise-gallery-count {
  color: #a7b3eb;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 12, 0.82);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 20px;
}

.image-modal.hidden {
  display: none;
}

.image-modal-dialog {
  position: relative;
  width: min(1100px, 95vw);
  max-height: 90vh;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(97, 128, 232, 0.55);
  background: #080814;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.62);
}

.image-modal-img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(134, 157, 241, 0.9);
  border-radius: 10px;
  background: rgba(11, 18, 44, 0.9);
  color: #eff3ff;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover {
  background: rgba(27, 39, 87, 0.95);
}

body.modal-open {
  overflow: hidden;
}

.work-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.work-card p {
  color: #c7cdef;
  margin-bottom: 12px;
}

.work-meta {
  margin: 0;
  padding-left: 1.1rem;
  color: #9fa8d8;
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: rgba(12, 12, 22, 0.96);
  border: 1px solid rgba(65, 105, 225, 0.45);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.cookie-text {
  margin: 0;
  color: #d7dcf8;
  font-size: 0.95rem;
}

.cookie-text a {
  color: #a5bbff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border-radius: 10px;
  border: 1px solid #4258aa;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-btn.reject {
  background: #17172c;
  color: #d9def8;
}

.cookie-btn.reject:hover {
  background: #222244;
}

.cookie-btn.accept {
  background: linear-gradient(120deg, #4169e1, #2a0a5e);
  color: #fff;
  border-color: transparent;
}

.cookie-btn.accept:hover {
  background: linear-gradient(120deg, #2f4fc0, #1d0843);
}

@media (max-width: 991.98px) {
  .cta-link {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar.navbar-mobile {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.82);
    z-index: 999;
  }

  .navbar.navbar-mobile ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111124;
    border-radius: 18px;
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    bottom: 16px;
    gap: 20px;
  }

  .navbar.navbar-mobile a {
    font-size: 1.2rem;
  }

  .navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 18px;
    right: 16px;
    color: #e9edff;
  }

  .hero-section {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-visual-card {
    transform: none;
  }

  .section-pad {
    padding: 75px 0;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-main {
    padding-top: 95px;
    padding-bottom: 50px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}