:root {
  --navy: #06063f;
  --navy-soft: #10105c;
  --navy-deep: #04042d;
  --navy-mid: #0b0b5f;
  --text: #161a2d;
  --muted: #69708a;
  --line: #d9deea;
  --bg: #f5f7fb;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 60px rgba(9, 16, 38, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 222, 234, 0.75);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  gap: 24px;
  position: relative;
  transition: min-height 0.3s ease;
}

.logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(217, 222, 234, 0.92);
  box-shadow: 0 10px 30px rgba(9, 16, 38, 0.05);
}

.site-header.is-scrolled .header-inner {
  min-height: 82px;
}

.site-header.is-scrolled .logo {
  height: 64px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav .btn,
.main-nav .header-cta,
.main-nav .desktop-cta,
.main-nav .nav-cta {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(217, 222, 234, 0.9);
  border-radius: 16px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 3;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta {
  display: inline-flex !important;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.site-header .btn-primary {
  background: var(--navy);
  color: var(--white);
}

.site-header .btn-primary:hover {
  background: var(--navy-soft);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--navy);
}

/* HERO */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 120px;
  background:
    radial-gradient(circle at 18% 16%, rgba(59, 130, 246, 0.18), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.14), transparent 20%),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(145deg, #04042d 0%, #06063f 34%, #0b0b5f 68%, #07073f 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hero-orb-one {
  width: 360px;
  height: 360px;
  top: 60px;
  left: -40px;
  background: rgba(59, 130, 246, 0.24);
  animation: floatOrbOne 11s infinite;
}

.hero-orb-two {
  width: 300px;
  height: 300px;
  top: 10px;
  right: 30px;
  background: rgba(103, 232, 249, 0.14);
  animation: floatOrbTwo 14s infinite;
}

.hero-orb-three {
  width: 260px;
  height: 260px;
  bottom: 90px;
  right: 28%;
  background: rgba(255, 255, 255, 0.08);
  animation: floatOrbThree 12s infinite;
}

.hero-top {
  padding: 44px 0 0;
}

.hero-text {
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-hero {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.eyebrow-light {
  background: #eef2f9;
  color: var(--navy);
}

.eyebrow-services {
  background: var(--navy);
  color: var(--white);
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.hero-text h1 {
  margin: 20px 0 20px;
  max-width: 860px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.hero-description {
  max-width: 700px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-hero {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-hero:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

/* SERVICES */
.services-section {
  background: var(--white);
  padding: 100px 0;
}

.services-intro {
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.services-heading {
  margin-bottom: 36px;
}

.services-heading .eyebrow-services,
.why-heading .eyebrow-dark,
.contact-text .eyebrow-light {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

.cards-grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow-x: visible;
}

.service-card {
  background: var(--bg);
  border: 1px solid rgba(217, 222, 234, 0.75);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.interactive-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.interactive-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 70px rgba(9, 16, 38, 0.12);
  border-color: rgba(6, 6, 63, 0.16);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--muted);
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li + li {
  margin-top: 8px;
}

/* WHY */
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-heading-dark {
  text-align: left;
}

.section-heading-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.why-heading {
  margin: 0 0 42px 0;
  text-align: left;
  max-width: 760px;
}

.benefit-slider-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.benefit-slider {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 18px;
  align-items: center;
}

.slider-arrow {
  min-height: 72px;
  min-width: 72px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 34px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.slider-arrow:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.benefit-slide-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.38s ease, opacity 0.38s ease;
}

.benefit-slide-card.slide-out-left {
  transform: translateX(-34px);
  opacity: 0;
}

.benefit-slide-card.slide-out-right {
  transform: translateX(34px);
  opacity: 0;
}

.benefit-slide-card.slide-in-left {
  transform: translateX(-34px);
  opacity: 0;
}

.benefit-slide-card.slide-in-right {
  transform: translateX(34px);
  opacity: 0;
}

.benefit-slide-card h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.benefit-slide-card p {
  margin: 0;
  max-width: 700px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

/* COLLABORATIONS */
.collaborations-section {
  padding: 54px 0 36px;
}

.collaborations-label {
  width: 100%;
  display: block;
  margin: 0 0 18px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.marquee-shell {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(217, 222, 234, 0.75);
  border-radius: 24px;
  background: var(--bg);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee-left 34s linear infinite;
}

.logo-item {
  min-width: 230px;
  height: 96px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(217, 222, 234, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  flex-shrink: 0;
}

.collab-logo {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-triumpex,
.logo-seasteward,
.logo-ktz {
  max-height: 82px;
}

.logo-vertom,
.logo-atlas,
.logo-asc,
.logo-emder {
  max-height: 72px;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes floatOrbOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(34px, -18px, 0) scale(1.08);
  }
}

@keyframes floatOrbTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-24px, 30px, 0) scale(1.12);
  }
}

@keyframes floatOrbThree {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(20px, -24px, 0) scale(1.1);
  }
}

/* CONTACT */
.section-contact {
  padding-top: 64px;
  padding-bottom: 92px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: linear-gradient(180deg, #f8faff 0%, #f3f6fb 100%);
  border: 1px solid rgba(217, 222, 234, 0.8);
  border-radius: 28px;
  padding: 34px;
}

.contact-text h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-text p {
  margin: 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(217, 222, 234, 0.8);
  border-radius: 22px;
  padding: 26px;
}

.contact-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-item p {
  margin: 0;
}

.contact-link,
.address-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  transition: color 0.25s ease;
}

.contact-link:hover,
.address-link:hover {
  color: var(--navy);
}

.address-link-icon {
  font-size: 16px;
  line-height: 1;
  color: var(--navy);
  transform: translateY(-1px);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.site-footer {
  padding: 22px 0 26px;
  background: #050531;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cards-grid-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none !important;
  }

  .header-inner {
    min-height: 92px;
    padding: 12px 0;
  }

  .logo {
    height: 92px;
  }

  .site-header.is-scrolled .logo {
    height: 62px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(217, 222, 234, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 50px rgba(9, 16, 38, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
    z-index: 2;
  }

  .main-nav a {
    padding: 10px 6px;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-section {
    padding-top: 34px;
    padding-bottom: 86px;
  }

  .hero-top {
    padding-top: 16px;
  }

  .section,
  .services-section {
    padding: 76px 0;
  }

  .section-contact {
    padding-top: 48px;
    padding-bottom: 76px;
  }

  .hero-text h1 {
    font-size: clamp(36px, 9vw, 54px);
  }

  .hero-description {
    font-size: 17px;
    max-width: 100%;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  /* mobile services: one full card per swipe */
  .cards-grid-services {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
  }

  .cards-grid-services::-webkit-scrollbar {
    display: none;
  }

  .cards-grid-services {
    scrollbar-width: none;
  }

  .service-card {
    scroll-snap-align: start;
    width: 100%;
  }

  .interactive-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(217, 222, 234, 0.75);
  }

  .collaborations-section {
    padding: 48px 0 28px;
  }

  .logo-item {
    min-width: 210px;
    height: 90px;
  }

  .collab-logo {
    max-height: 58px;
  }

  .logo-triumpex,
  .logo-seasteward,
  .logo-ktz {
    max-height: 74px;
  }

  .logo-vertom,
  .logo-atlas,
  .logo-asc,
  .logo-emder {
    max-height: 66px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    gap: 12px;
    min-height: 84px;
  }

  .logo {
    height: 76px;
  }

  .site-header.is-scrolled .logo {
    height: 54px;
  }

  .mobile-menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero-section {
    padding-top: 26px;
    padding-bottom: 72px;
  }

  .hero-top {
    padding: 12px 0 0;
  }

  .hero-text h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 50px;
  }

  .services-section,
  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .cards-grid-services {
    grid-auto-columns: 100%;
  }

  .service-card,
  .contact-panel,
  .contact-details,
  .benefit-slide-card,
  .slider-arrow,
  .marquee-shell,
  .logo-item {
    border-radius: 20px;
  }

  .service-card {
    padding: 22px;
  }

  .service-card p,
  .service-card li {
    font-size: 15px;
  }

  .benefit-slider {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 10px;
  }

  .slider-arrow {
    min-height: 52px;
    min-width: 52px;
    font-size: 26px;
    border-radius: 18px;
  }

  .benefit-slide-card {
    min-height: 210px;
    padding: 22px;
  }

  .benefit-slide-card h3 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .benefit-slide-card p {
    font-size: 16px;
  }

  .marquee-track {
    animation-duration: 42s;
  }

  .logo-item {
    min-width: 170px;
    height: 78px;
    padding: 10px 14px;
  }

  .collab-logo {
    max-height: 46px;
  }

  .logo-triumpex,
  .logo-seasteward,
  .logo-ktz {
    max-height: 60px;
  }

  .logo-vertom,
  .logo-atlas,
  .logo-asc,
  .logo-emder {
    max-height: 52px;
  }

  .section-contact {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .contact-panel {
    padding: 22px;
    gap: 20px;
  }

  .contact-text h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .contact-details {
    padding: 20px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }

  .hero-orb-one {
    width: 220px;
    height: 220px;
  }

  .hero-orb-two {
    width: 180px;
    height: 180px;
  }

  .hero-orb-three {
    width: 160px;
    height: 160px;
  }
}
/* === SERVICES (UPDATED STRUCTURE) === */

.cards-grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Hide mobile slider on desktop */
.mobile-services-slider {
  display: none;
}

/* Service card base */
.service-card {
  background: #f5f7fb;
  border: 1px solid rgba(217, 222, 234, 0.75);
  border-radius: 24px;
  padding: 30px;
}

.interactive-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.interactive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(9, 16, 38, 0.12);
}

/* === MOBILE SERVICES SLIDER === */

@media (max-width: 820px) {

  /* Hide desktop cards */
  .desktop-services-grid {
    display: none;
  }

  /* Show mobile slider */
  .mobile-services-slider {
    display: block;
  }

  .services-slider {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 10px;
  }

  .service-slide-card {
    background: #f5f7fb;
    border: 1px solid rgba(217, 222, 234, 0.75);
    border-radius: 22px;
    padding: 22px;
    min-height: 280px;
  }

  .service-slide-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
  }

  .service-slide-card p {
    margin: 0 0 12px;
    font-size: 15px;
    color: #69708a;
  }

  .service-slide-card ul {
    padding-left: 18px;
    margin: 0;
  }

  .service-slide-card li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* Arrows */
  .slider-arrow {
    min-width: 52px;
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(6, 6, 63, 0.15);
    background: rgba(6, 6, 63, 0.05);
    font-size: 26px;
    color: #06063f;
    cursor: pointer;
  }

  .slider-arrow:active {
    transform: scale(0.96);
  }
}
