.navbar {
  position: fixed;
  top: 27px;
  left: 30px;
  width: calc(100% - 60px);
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 15px 0 20px;

  /* Softer background so the wave is visible */
  background: linear-gradient(
    110deg,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 40%,
    rgba(200, 200, 200, 0.7) 65%,
    rgba(177, 176, 176, 0.4) 80%,
    rgba(177, 176, 176, 0.15) 90%,
    rgba(171, 166, 166, 0) 100%
  );

  border-radius: 30px;

  z-index: 1000;

  /* Required for the liquid effect */
  overflow: hidden;
  isolation: isolate;
}
/* =========================================
   VISIBLE GREY LIQUID WAVE
   ========================================= */

.navbar {
  position: fixed;
  overflow: hidden;
  isolation: isolate;
}

/* Main liquid wave - Premium elegant flow */
.navbar::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -30px;
  width: 90%;
  height: 90px;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(220, 220, 220, 0.40) 15%,
    rgba(100, 100, 100, 0.45) 30%,
    rgba(50, 50, 50, 0.55) 45%,
    rgba(80, 80, 80, 0.45) 60%,
    rgba(120, 120, 120, 0.40) 75%,
    rgba(60, 60, 60, 0.30) 100%
  );

  border-radius: 60% 40% 60% 40% / 70% 30% 70% 30%;
  filter: blur(12px);

  animation: liquidWave 8s ease-in-out infinite;

  z-index: -1;
  pointer-events: none;
}

/* Subtle highlight wave for premium shimmer */
.navbar::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -20px;
  width: 90%;
  height: 60px;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.35) 15%,
    rgba(220, 220, 220, 0.40) 30%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(200, 200, 200, 0.35) 60%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 100%
  );

  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  filter: blur(8px);

  animation: liquidWave2 12s ease-in-out infinite reverse;

  z-index: -1;
  pointer-events: none;
}


/* =========================================
   WAVE ANIMATION - Premium smooth flow
   ========================================= */

@keyframes liquidWave {
  0% {
    transform: translateX(-8%) rotate(-1.5deg) scaleY(0.92);
  }

  25% {
    transform: translateX(3%) rotate(1.5deg) scaleY(1.08);
  }

  50% {
    transform: translateX(10%) rotate(-1deg) scaleY(0.96);
  }

  75% {
    transform: translateX(-1%) rotate(1.2deg) scaleY(1.05);
  }

  100% {
    transform: translateX(-8%) rotate(-1.5deg) scaleY(0.92);
  }
}


@keyframes liquidWave2 {
  0% {
    transform: translateX(8%) scaleY(0.95);
  }

  50% {
    transform: translateX(-8%) scaleY(1.1);
  }

  100% {
    transform: translateX(8%) scaleY(0.95);
  }
}


/* =========================================================
   LOGO
   ========================================================= */

.logo img {
  width: 107px;
  display: block;

  transform: translateY(18px);

  -webkit-transform: translateY(18px);
  -moz-transform: translateY(18px);
  -ms-transform: translateY(18px);
  -o-transform: translateY(18px);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.nav-links {
  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 0;

  background: #f0eded;

  width: 573px;
  height: 36px;

  justify-content: space-evenly;

  padding: 0 18px;

  border-radius: 40px;
}


.nav-links a {
  color: #353566;

  text-decoration: none;

  font-family: "inter", sans-serif;

  font-size: 14.5px;

  font-weight: 525;

  position: relative;

  transition:
    color 0.25s ease;
}


.nav-links a:hover {
  color: #51a3b1;
}

/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 280px;
  background: #0e0e0e;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(27, 20, 100, 0.16);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 40;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #353566;
}

.nav-dropdown-menu a:hover {
  background: rgba(81, 163, 177, 0.08);
  color: #1b6b7a;
}
/* =========================================================
   SERVICES MEGA-MENU
   Dark panel. Opens on hover / focus (CSS) and via
   body.services-menu-open (services-dropdown.js).
   ========================================================= */

/* ---- Trigger inside the navbar ---- */
.nav-services {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links .nav-services-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
  white-space: nowrap;
  text-decoration: none;
}

.services-chevron {
  flex-shrink: 0;
  transition: transform 220ms ease;
}

body:has(.nav-services:hover) .services-chevron,
body:has(.nav-services:focus-within) .services-chevron,
body.services-menu-open .services-chevron {
  transform: rotate(180deg);
}

.nav-services-trigger:focus-visible {
  outline: 2px solid #168da8;
  outline-offset: 3px;
}

/* ---- Panel ---- */
.services-mega-menu {
    --svc-bg: #fffafa;
    --svc-card: #e2dede;
    --svc-line: #eaeaea;
    --svc-text: #000000;
    --svc-green: #3d98da;

    position: fixed;
    z-index: 1002;
    top: 82px;
    left: 50%;
    width: calc(100vw - 60px);
    max-width: 1500px;
    max-height: calc(100vh - 100px);
    isolation: isolate;

    padding: 44px clamp(32px, 5vw, 88px);
    background: var(--svc-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition:
      opacity 180ms ease,
      transform 220ms ease,
      visibility 180ms ease;
  }

  .services-mega-menu__scroller {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    margin: -44px;
    padding: 44px;
    border-radius: 24px;
  }

/* Invisible bridge so the pointer can travel from "Services" into the panel */
.services-mega-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

body:has(.nav-services:hover) .services-mega-menu,
body:has(.nav-services:focus-within) .services-mega-menu,
body.services-menu-open .services-mega-menu,
.services-mega-menu:hover,
.services-mega-menu:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}


.services-mega-menu a {
  text-decoration: none;
}

.services-mega-menu a:focus-visible {
  outline: 2px solid var(--svc-green);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---- Grid ---- */
.services-mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 400px);
  grid-template-areas:
    "tech    marketing feature"
    "branding branding feature";
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 18px;
  align-items: start;
}

.services-mega-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.services-mega-tech { grid-area: tech; }
.services-mega-marketing { grid-area: marketing; }
.services-mega-branding { grid-area: branding; }

/* ---- Group headings ---- */
.services-mega-column h3 {
  margin: 0 0 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--svc-line);
  color: #000000;
  font: 500 21px/1.3 "Geist", "Inter", sans-serif;
  letter-spacing: -0.01em;
  text-transform: none;
}

.services-mega-column h3 a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  transition: color 180ms ease;
}

.services-mega-column h3 a svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.services-mega-column h3 a:hover,
.services-mega-column h3 a:focus-visible {
  color: var(--svc-green);
}

.services-mega-column h3 a:hover svg {
  transform: translateX(4px);
}

/* ---- Service links ---- */
.services-mega-links {
  display: flex;
  flex-direction: column;
}

.services-mega-links--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 4vw, 64px);
}

.services-mega-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  color: var(--svc-text);
  font: 400 16px/1.35 "Inter", sans-serif;
  transition: color 180ms ease;
}

.services-mega-link:hover,
.services-mega-link:focus-visible {
  color: #34b1ff;
}

.services-link-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #bdbdbd;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 180ms ease;
}

.services-link-icon .a {
  stroke: var(--svc-green);
}

.services-mega-link:hover .services-link-icon,
.services-mega-link:focus-visible .services-link-icon {
  stroke: #34b1ff;
}

/* ---- Call-to-action card ---- */
.services-mega-feature {
  grid-area: feature;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  min-height: 440px;
  overflow: hidden;
  padding: 32px 30px;
  border-radius: 16px;
  background: var(--svc-card);
  color: #000000;
}

.services-mega-feature h3 {
  margin: 0;
  max-width: 14em;
  color: #000000;
  font: 500 27px/1.3 "Geist", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.services-mega-feature p {
  margin: 14px 0 0;
  max-width: 17em;
  color: #232323;
  font: 400 17px/1.7 "Inter", sans-serif;
}

.services-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 13px 22px;
  border-radius: 8px;
  background:linear-gradient(135deg, #87ceeb 0%, #1e72d1 100%);
  color: #fff;
  font: 600 16px/1.2 "Inter", sans-serif;
  transition: background 180ms ease, transform 180ms ease;
}

.services-feature-cta::after {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.services-mega-feature:hover .services-feature-cta,
.services-mega-feature:focus-visible .services-feature-cta {
  background: linear-gradient(135deg, #1e72d1 0%,  #87ceeb 100%);
  transform: translateY(-1px);
}

.services-feature-crystal {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Mobile Services accordion inside the existing hamburger panel */
.mobile-services-accordion {
  border-bottom: 1px solid #e8e8ec;
}

.mobile-services-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}

.mobile-services-accordion > summary::-webkit-details-marker {
  display: none;
}

.mobile-services-accordion > summary svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.mobile-services-accordion[open] > summary svg {
  transform: rotate(180deg);
}

.mobile-services-accordion .mobile-menu-link {
  border-bottom: 0;
}

.mobile-services-submenu {
  padding: 0 0 8px 12px;
  border-left: 2px solid #d8eef2;
  margin: 0 0 10px 2px;
}

.mobile-services-submenu .mobile-menu-link {
  padding: 9px 0;
  color: #656d85;
  font-size: 14px;
}

.mobile-services-submenu .mobile-services-all {
  color: #168da8;
  font-weight: 650;
}

/* The desktop panel is replaced by the mobile menu on small screens */
@media (max-width: 800px) {
  .services-mega-menu {
    display: none !important;
  }

  .nav-links .nav-services-trigger {
    height: auto;
  }
}

@media (min-width: 801px) {
  .mobile-services-accordion {
    display: none;
  }
}

/* Narrow desktop / small laptop: card moves under the lists */
@media (min-width: 801px) and (max-width: 1100px) {
  .services-mega-menu {
    padding: 32px 32px;
  }

  .services-mega-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "tech marketing"
      "branding branding"
      "feature feature";
  }

  .services-mega-feature {
    min-height: 0;
    padding-bottom: 150px;
  }

  .services-feature-crystal {
    height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-mega-menu,
  .services-chevron,
  .services-mega-link,
  .services-link-icon,
  .services-mega-column h3 a,
  .services-mega-column h3 a svg,
  .services-feature-cta,
  .mobile-services-accordion > summary svg {
    transition: none !important;
  }
}




/* =========================================================
   MENU BUTTON
   ========================================================= */

.menu-button {
  position: relative;

  display: flex;

  width: 40px;
  height: 40px;

  border: none;

  background: transparent;

  border-radius: 50%;

  box-shadow: none;

  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.menu-button:hover {
  transform: scale(1.08);

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3);
}


.menu-button:focus-visible {
  outline: 2px solid #fcffff;
  outline-offset: 2px;
}


/* =========================================================
   HAMBURGER ICON
   ========================================================= */

.hamburger {
  position: relative;

  display: block;

  width: 40px;
  height: 40px;

  background:
    url("../assets/pupose/ham1.svg")
    center / contain
    no-repeat;
}


.hamburger-line {
  position: absolute;

  left: 0;

  display: none;

  width: 18px;
  height: 2px;

  border-radius: 2px;

  background: #000000;

  transition:
    transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.25s ease,
    background-color 0.3s ease;
}


.hamburger-line-top {
  top: 0;
}

.hamburger-line-middle {
  top: 5px;
}

.hamburger-line-bottom {
  top: 10px;
}


/* =========================================================
   OPEN MENU BUTTON
   ========================================================= */

.menu-button.is-open {
  transform: scale(0.9);
}


@keyframes hamburger-button-open {

  0% {
    transform:
      scale(1)
      rotate(0deg);
  }

  28% {
    transform:
      scale(0.72)
      rotate(-14deg);
  }

  58% {
    transform:
      scale(1.18)
      rotate(8deg);
  }

  80% {
    transform:
      scale(0.95)
      rotate(-3deg);
  }

  100% {
    transform:
      scale(0.9)
      rotate(0deg);
  }
}


.menu-button.is-open {
  animation:
    hamburger-button-open
    0.5s
    cubic-bezier(0.34, 1.56, 0.64, 1)
    both;
}


/* =========================================================
   HAMBURGER → X
   ========================================================= */

.menu-button.is-open .hamburger-line {
  display: block;

  transition-delay: 0.04s;
}


.menu-button.is-open .hamburger {
  background-image: none;

  width: 18px;
  height: 12px;
}


.menu-button.is-open .hamburger-line-top {
  transform:
    translateY(5px)
    rotate(45deg);
}


.menu-button.is-open .hamburger-line-middle {
  opacity: 0;

  transform:
    scaleX(0);
}


.menu-button.is-open .hamburger-line-bottom {
  transform:
    translateY(-5px)
    rotate(-45deg);
}


/* =========================================================
   MOBILE MENU OVERLAY & PANEL
   ========================================================= */

.mobile-menu-overlay {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: none;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


.mobile-menu-overlay.is-open {
  display: block;

  opacity: 1;
  visibility: visible;
}


.mobile-menu-overlay::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.4);

  opacity: 0;

  transition:
    opacity 0.3s ease;
}


.mobile-menu-overlay.is-open::before {
  opacity: 1;
}


.mobile-menu-panel {
  position: fixed;

  top: 0;
  right: 0;

  height: 50vh;
  max-height: 50vh;

  width: 100%;
  max-width: 320px;

  background: #ffffff;

  z-index: 1001;

  display: flex;

  flex-direction: column;

  border-radius:
    0 0 0 24px;

  box-shadow:
    -8px 8px 32px rgba(0, 0, 0, 0.15);

  transform:
    translateX(100%)
    translateY(-10px);

  opacity: 0;

  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;

  overflow-y: auto;

  overscroll-behavior: contain;
}


.mobile-menu-overlay.is-open .mobile-menu-panel {
  transform:
    translateX(0)
    translateY(0);

  opacity: 1;
}


/* =========================================================
   MOBILE MENU HEADER
   ========================================================= */

.mobile-menu-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 20px 24px;

  border-bottom:
    1px solid #e8e8ec;

  flex-shrink: 0;
}


.mobile-menu-logo img {
  width: 107px;

  display: block;
}


.mobile-menu-close {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border: none;

  background: #f5f5f7;

  border-radius: 50%;

  cursor: pointer;

  color: #1b1464;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}


.mobile-menu-close:hover {
  background: #e8e8ec;

  color: #20b9d2;
}


.mobile-menu-close:focus-visible {
  outline:
    2px solid #20b9d2;

  outline-offset: 2px;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-menu-nav {
  flex: 1;

  padding: 24px;

  display: flex;

  flex-direction: column;

  gap: 0;
}


.mobile-menu-link {
  display: block;

  padding: 12px 0;

  font-family:
    "Geist",
    "Inter",
    sans-serif;

  font-size: 16px;

  font-weight: 500;

  line-height: 1.2;

  color: #1b1464;

  text-decoration: none;

  border-bottom:
    1px solid #e8e8ec;

  transition:
    color 0.2s ease;
}


.mobile-menu-link:last-child {
  border-bottom: none;
}


.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  color: #20b9d2;

  outline: none;
}


.mobile-menu-link:focus-visible {
  outline:
    2px solid #20b9d2;

  outline-offset: 4px;

  border-radius: 4px;
}

/* =========================================================
   MOBILE SERVICES ACCORDION
   ========================================================= */

.mobile-menu-accordion {
  border-bottom: 1px solid #e8e8ec;
}

.mobile-menu-accordion:last-of-type {
  border-bottom: none;
}

.mobile-menu-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-accordion-summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-accordion-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mobile-menu-accordion[open] .mobile-menu-accordion-summary::after {
  transform: rotate(225deg);
}

.mobile-menu-accordion-panel {
  display: flex;
  flex-direction: column;
  padding: 4px 0 12px 12px;
  gap: 8px;
}

.mobile-menu-sublink {
  font-family: "Geist", "Inter", sans-serif;
  font-size: 14px;
  color: #3f3f6b;
  text-decoration: none;
}

.mobile-menu-sublink:hover {
  color: #20b9d2;
}







/* =========================================================
   DIVIDER
   ========================================================= */

.mobile-menu-divider {
  height: 1px;

  background: #e8e8ec;

  margin: 0 24px;

  flex-shrink: 0;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.mobile-menu-contact {
  padding: 24px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  flex-shrink: 0;
}


.mobile-menu-contact-item {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.mobile-menu-contact-info {
  display: flex;

  flex-direction: column;

  gap: 2px;

  min-width: 0;
}


.mobile-menu-contact-label {
  font-family:
    "Inter",
    sans-serif;

  font-size: 10px;

  font-weight: 600;

  line-height: 1.3;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  color: #8a8fa3;
}


.mobile-menu-contact-value {
  font-family:
    "Inter",
    sans-serif;

  font-size: 14px;

  font-weight: 500;

  line-height: 1.5;

  color: #1b1464;

  text-decoration: none;

  transition:
    color 0.2s ease;

  word-break: break-word;
}


.mobile-menu-contact-value:hover,
.mobile-menu-contact-value:focus-visible {
  color: #20b9d2;
}


.mobile-menu-contact-value:focus-visible {
  outline:
    2px solid #20b9d2;

  outline-offset: 2px;

  border-radius: 2px;
}


.mobile-menu-contact-item address.mobile-menu-contact-value {
  font-style: normal;
}


/* =========================================================
   CONNECT MODAL
   ========================================================= */

.connect-modal[hidden] {
  display: none;
}


.connect-modal {
  position: fixed;

  inset: 0;

  z-index: 2000;

  display: grid;

  place-items: center;

  padding: 24px;
}


.connect-modal-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(17, 24, 39, 0.62);

  -webkit-backdrop-filter: blur(5px);
  backdrop-filter:
    blur(5px);
}


.connect-modal-dialog {
  position: relative;

  z-index: 1;

  width: min(100%, 620px);

  max-height:
    min(90vh, 820px);

  overflow-y: auto;

  padding: 36px;

  border:
    1px solid rgba(255, 255, 255, 0.72);

  border-radius: 24px;

  background: #fff;

  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24);
}


.connect-modal-close {
  position: absolute;

  top: 16px;
  right: 18px;

  width: 40px;
  height: 40px;

  border: 0;

  border-radius: 50%;

  background: #f1f3f5;

  color: #3c4652;

  font-size: 28px;

  line-height: 1;

  cursor: pointer;
}


.connect-modal-kicker {
  color: #168da8;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.connect-modal-dialog h2 {
  margin:
    8px 44px 8px 0;

  color: #17212b;

  font-family:
    "Geist",
    "Inter",
    sans-serif;

  font-size:
    clamp(24px, 3vw, 32px);

  line-height: 1.2;
}


.connect-modal-intro {
  margin:
    0 0 22px;

  color: #59636e;

  font-size: 15px;

  line-height: 1.5;
}


.connect-modal-form {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}


.connect-modal-form label {
  display: grid;

  gap: 6px;

  color: #303a45;

  font-size: 13px;

  font-weight: 600;
}


.connect-modal-form input,
.connect-modal-form select,
.connect-modal-form textarea {
  width: 100%;

  min-height: 44px;

  padding: 10px 12px;

  border:
    1px solid #d8dee5;

  border-radius: 10px;

  background: #fff;

  color: #17212b;

  font: inherit;

  font-weight: 400;
}


.connect-modal-form textarea {
  min-height: 86px;

  resize: vertical;
}


.connect-modal-form input:focus,
.connect-modal-form select:focus,
.connect-modal-form textarea:focus {
  border-color: #168da8;

  outline:
    3px solid rgba(22, 141, 168, 0.16);
}


.connect-modal-message,
.connect-modal-status,
.connect-modal-submit {
  grid-column: 1 / -1;
}


.connect-modal-status {
  margin: 0;

  color: #8b3b16;

  font-size: 13px;

  line-height: 1.45;
}


.connect-modal-submit {
  min-height: 48px;

  border: 0;

  border-radius: 12px;

  background: #18232e;

  color: #fff;

  font: inherit;

  font-weight: 650;

  cursor: pointer;

  transition:
    background 160ms ease,
    transform 160ms ease;
}


.connect-modal-submit:hover {
  background: #168da8;

  transform:
    translateY(-1px);
}


/* =========================================================
   CONNECT MODAL — SMALL SCREENS
   ========================================================= */

@media (max-width: 800px) {

  .connect-modal {
    display: none !important;
  }

}


/* =========================================================
   CONNECT MODAL — VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 520px) {

  .connect-modal-dialog {
    padding:
      28px 20px 22px;
  }


  .connect-modal-form {
    grid-template-columns: 1fr;

    gap: 12px;
  }

}


/* =========================================================
   TABLET / DESKTOP RESPONSIVE
   >= 768px
   ========================================================= */

@media (min-width: 768px) {

  .mobile-menu-panel {
    height: 100vh;

    max-height: 100vh;

    max-width: 420px;

    border-radius:
      24px 0 0 24px;

    box-shadow:
      -24px 0 48px rgba(0, 0, 0, 0.12);

    transform:
      translateX(100%);
  }


  .mobile-menu-overlay.is-open .mobile-menu-panel {
    transform:
      translateX(0);
  }


  .mobile-menu-header {
    padding:
      28px 32px;
  }


  .mobile-menu-logo img {
    width: 120px;
  }


  .mobile-menu-close {
    width: 44px;
    height: 44px;
  }


  .mobile-menu-nav {
    padding: 32px;
  }


  .mobile-menu-link {
    font-size: 18px;

    padding: 14px 0;
  }


  .mobile-menu-divider {
    margin:
      0 32px;
  }


  .mobile-menu-contact {
    padding: 32px;

    gap: 20px;
  }


  .mobile-menu-contact-label {
    font-size: 11px;
  }


  .mobile-menu-contact-value {
    font-size: 15px;
  }

}


/* =========================================================
   LARGE DESKTOP
   >= 1024px
   ========================================================= */

@media (min-width: 1024px) {

  .mobile-menu-panel {
    max-width: 460px;
  }


  .mobile-menu-header {
    padding:
      32px 40px;
  }


  .mobile-menu-nav {
    padding: 40px;
  }


  .mobile-menu-link {
    font-size: 20px;

    padding: 16px 0;
  }


  .mobile-menu-divider {
    margin:
      0 40px;
  }


  .mobile-menu-contact {
    padding: 40px;

    gap: 24px;
  }


  .mobile-menu-contact-label {
    font-size: 12px;
  }


  .mobile-menu-contact-value {
    font-size: 16px;
  }

}


/* =========================================================
   MOBILE RESPONSIVE
   <= 800px
   ========================================================= */

@media (max-width: 800px) {

  .navbar {
    top: 16px;

    left: 16px;

    width:
      calc(100% - 32px);

    height: 56px;

    padding:
      0 12px 0 16px;
  }


  .nav-links {
    display: none;
  }


  /* Hamburger dropdown */

  .nav-links.nav-open {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    position: absolute;

    top:
      calc(100% + 8px);

    right: 8px;

    left: auto;

    width:
      min(78vw, 300px);

    height: auto;

    transform: none;

    gap: 0;

    justify-content: flex-start;

    padding:
      10px 18px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.18);

    z-index: 30;
  }


  .nav-links.nav-open a {
    padding:
      13px 2px;

    font-size: 15px;

    border-bottom:
      1px solid #e8e8ec;
  }


  .nav-links.nav-open a:last-child {
    border-bottom: none;
  }


  .nav-links.nav-open a:hover {
    color: #20b9d2;
  }


  /* Hide raw dropdown when full overlay exists */

  body:has(.mobile-menu-overlay)
  .nav-links.nav-open {
    display: none;
  }


  .menu-button {
    display: flex;
  }


  .logo img {
    width: 107px;
  }

}


/* =========================================================
   SMALL MOBILE
   <= 480px
   ========================================================= */

@media (max-width: 480px) {

  .mobile-menu-panel {
    max-width: 100%;

    border-radius: 0;
  }


  .mobile-menu-header {
    padding:
      16px 20px;
  }


  .mobile-menu-logo img {
    width: 96px;
  }


  .mobile-menu-nav {
    padding: 20px;
  }


  .mobile-menu-link {
    font-size: 16px;

    padding: 12px 0;
  }


  .mobile-menu-divider {
    margin:
      0 20px;
  }


  .mobile-menu-contact {
    padding: 20px;

    gap: 14px;
  }


  .mobile-menu-contact-label {
    font-size: 10px;
  }


  .mobile-menu-contact-value {
    font-size: 13px;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .navbar::before,
  .navbar::after {
    animation: none !important;
  }


  .mobile-menu-overlay,
  .mobile-menu-panel,
  .mobile-menu-overlay::before,
  .hamburger-line,
  .menu-button,
  .mobile-menu-close,
  .mobile-menu-link,
  .mobile-menu-contact-icon,
  .mobile-menu-contact-value,
  .nav-links a::after {
    transition: none !important;

    animation: none !important;
  }

}
