/* A light visual layer over the original Crewision layout and palette. */
:root {
  --crew-bg: #110928;
  --crew-purple: #9b48ad;
  --crew-purple-bright: #b768ca;
  --crew-text: #fff;
  --crew-muted: #d4ccdf;
  --crew-line: rgba(222, 195, 234, 0.16);
}

body {
  background-color: var(--crew-bg);
  color: var(--crew-text);
  font-weight: 400;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  color: #110928;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
  outline: 3px solid #e8b4f1;
  outline-offset: 3px;
}

* {
  font-weight: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

body .w-container {
  width: min(1200px, calc(100% - 64px));
  padding: 0;
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 84px;
}

nav#nav {
  z-index: 1000;
  height: 76px;
  background: rgba(17, 9, 40, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(7, 3, 24, 0.22);
  backdrop-filter: blur(16px);
}

nav#nav .w-container {
  position: static;
}

nav#nav .w-container .navbar {
  gap: 24px;
}

nav#nav .w-container .navbar .logo-area img {
  display: block;
  width: 185px;
  height: auto;
}

nav#nav .w-container .navbar .menu-area {
  gap: 2px;
  margin: 0;
}

nav#nav .w-container .navbar .menu-area li a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

nav#nav .w-container .navbar .menu-area li a:hover,
nav#nav .w-container .navbar .menu-area li a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

nav#nav .w-container .navbar .menu-area .gao-btn {
  margin-left: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #9340a5, #79308f);
  box-shadow: 0 8px 22px rgba(113, 32, 135, 0.25);
}

nav#nav .w-container .navbar .menu-area .gao-btn:hover,
nav#nav .w-container .navbar .menu-area .gao-btn:focus-visible {
  background: linear-gradient(135deg, #ad55c1, #8d389f);
  transform: translateY(-2px);
}

#head {
  min-height: min(760px, 100vh);
  padding: 150px 0 100px;
  background: radial-gradient(circle at 76% 38%, rgba(127, 42, 138, 0.24), transparent 36%);
}

#head .w-container .flex {
  gap: 7%;
}

#head .w-container .flex .text-area {
  width: 51%;
  max-width: 590px;
}

#head .w-container .flex .text-area h1 {
  color: #fff;
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.12;
}

#head .w-container .flex .text-area .text.t-48 {
  max-width: 560px;
  margin-top: 24px;
  color: #dac9e4;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.5;
}

#head .w-container .flex .img-area {
  width: 42%;
  height: auto;
}

#head .w-container .flex .img-area img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(7, 3, 24, 0.28));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
  transform: translateY(-3px);
}

.hero-primary {
  color: #fff;
  background: linear-gradient(135deg, #873296, #652074);
  box-shadow: 0 12px 28px rgba(79, 16, 99, 0.34);
}

.hero-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.hero-secondary:hover,
.hero-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

#about,
#services,
#products,
#contact {
  margin-top: 0;
  padding: 100px 0;
}

.section-logo img {
  width: 82px;
  height: auto;
}

.section-text {
  margin-top: 26px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
  text-align: center;
}

#about .about-text {
  width: min(780px, 100%);
  margin-top: 34px;
  color: var(--crew-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
}

#services .services-area {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 70px;
}

#services .service {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--crew-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 48px rgba(6, 2, 20, 0.15);
}

#services .service-2 {
  margin: 0;
}

#services .service .flex {
  gap: clamp(30px, 5vw, 68px);
  justify-content: space-between;
}

#services .service .flex > div:nth-child(1),
#services .service .flex > div:nth-child(2) {
  margin: 0;
}

#services .w-container .service .flex .text-area {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

#services .w-container .service .flex .img-area {
  display: block;
  flex: 0 0 38%;
  width: 38%;
  height: auto;
  text-align: center;
}

#services .service .flex .img-area img {
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
}

#services .service .flex .text-area h3 {
  margin: 0 0 22px;
  padding: 0;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
}

#services .service .text-area p {
  margin: 24px 0 8px;
  color: #e2b8eb;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

#services .service .text-area p:first-of-type {
  margin-top: 0;
}

.service-copy {
  display: block;
  color: #ccc5d7;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.service-copy a {
  color: #f2c9fa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#products .logos-area {
  margin-top: 58px;
}

#products .product-item {
  width: min(300px, max(250px, calc((100% - 64px) / 3)));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#products .product-item:hover,
#products .product-item:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(4, 1, 15, 0.28);
}

#products .product-description {
  font-weight: 500;
}

#contact .contact-area {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  margin-top: 62px;
}

#contact .contact-area .address-area,
#contact .contact-area .form-area {
  width: auto;
  margin: 0;
  padding: 36px;
  border: 1px solid var(--crew-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 44px rgba(6, 2, 20, 0.15);
}

#contact .contact-area .address-area .address-title {
  font-size: 22px;
  font-weight: 700;
}

#contact .contact-area .address-area .address-p {
  color: var(--crew-muted);
  line-height: 1.7;
}

#contact .contact-area .address-area .address-iconText {
  min-height: 44px;
  margin-bottom: 12px;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

#contact .contact-area .address-area .address-iconText:hover,
#contact .contact-area .address-area .address-iconText:focus-visible {
  color: #e8b4f1;
  transform: translateX(3px);
}

#contact .form-area {
  text-align: left;
}

#contact .form-area label {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 600;
}

#contact .form-area .input-area,
#contact .form-area .message-area {
  margin-bottom: 20px;
}

#contact .form-area input:not([type="hidden"]):not(.send-btn),
#contact .form-area textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(221, 192, 231, 0.23);
  border-radius: 12px;
  background: rgba(11, 5, 28, 0.58);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#contact .form-area textarea {
  min-height: 150px;
  resize: vertical;
}

#contact .form-area input:focus,
#contact .form-area textarea:focus {
  outline: none;
  border-color: #c579d4;
  box-shadow: 0 0 0 3px rgba(178, 92, 198, 0.2);
}

#contact .form-area .button-area {
  margin-bottom: 0;
}

#contact .form-area .send-btn {
  width: 100%;
  height: 52px;
  margin: 6px 0 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #873296, #652074);
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#contact .form-area .send-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(88, 17, 106, 0.3);
}

#footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 58px 0 34px;
  border-top: 1px solid var(--crew-line);
  background: rgba(8, 4, 23, 0.48);
}

#footer .footer-area .social-media,
#footer .footer-area .copyright-area {
  margin-top: 30px;
}

#footer .footer-area .social-media a {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 180ms ease, transform 180ms ease;
}

#footer .footer-area .social-media a:hover,
#footer .footer-area .social-media a:focus-visible {
  background: #7f2a8a;
  transform: translateY(-3px);
}

.linkedin-glyph {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

@media (min-width: 769px) and (max-width: 840px) {
  nav#nav .w-container .navbar {
    gap: 14px;
  }

  nav#nav .w-container .navbar .logo-area img {
    width: 155px;
  }

  nav#nav .w-container .navbar .menu-area li a {
    padding: 10px 9px;
    font-size: 13px;
  }

  nav#nav .w-container .navbar .menu-area .gao-btn {
    margin-left: 3px;
    padding: 10px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  #head {
    min-height: auto;
    padding: 150px 0 90px;
  }

  #head .w-container .flex {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  #head .w-container .flex .text-area,
  #head .w-container .flex .img-area {
    width: min(620px, 100%);
    max-width: 100%;
  }

  #head .w-container .flex .img-area {
    display: block;
  }

  .hero-actions {
    justify-content: center;
  }

  #services .service .flex {
    flex-direction: column;
  }

  #services .w-container .service .flex .img-area,
  #services .w-container .service .flex .text-area {
    width: 100%;
    flex: auto;
  }

  #services .w-container .service .flex .img-area img {
    max-width: 440px;
    max-height: 300px;
  }

  #contact .contact-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body .w-container {
    width: calc(100% - 36px);
    padding: 0;
  }

  nav#nav {
    height: 68px;
  }

  nav#nav .w-container .navbar .logo-area {
    width: auto;
  }

  nav#nav .w-container .navbar .logo-area img {
    width: 155px;
  }

  nav#nav .menu-button-container {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  nav#nav .menu-button,
  nav#nav .menu-button::before,
  nav#nav .menu-button::after {
    width: 28px;
  }

  nav#nav .menu-button {
    position: relative;
  }

  nav#nav .menu {
    display: none;
    top: 68px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--crew-line);
    background: #170e2c;
    box-shadow: 0 20px 30px rgba(5, 2, 17, 0.25);
  }

  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  #menu-toggle ~ .menu li,
  #menu-toggle:checked ~ .menu li {
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    transition: none;
  }

  nav#nav .menu li a {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border-radius: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }

  nav#nav .menu li a:hover,
  nav#nav .menu li a:focus-visible {
    background: rgba(255, 255, 255, 0.09);
  }

  #head {
    padding: 130px 0 70px;
  }

  #head .w-container .flex .text-area h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  #head .w-container .flex .text-area .text.t-48 {
    font-size: 19px;
  }

  #about,
  #services,
  #products,
  #contact {
    padding: 78px 0;
  }

  .section-logo img {
    width: 66px;
  }

  #about .about-text {
    font-size: 16px;
    line-height: 1.75;
  }

  #services .services-area {
    gap: 20px;
    margin-top: 44px;
  }

  #services .service {
    padding: 26px;
  }

  #services .service .flex .text-area h3 {
    font-size: 27px;
  }

  #products .product-item {
    width: min(360px, 100%);
  }

  #contact .contact-area {
    gap: 20px;
    margin-top: 44px;
  }

  #contact .contact-area .address-area,
  #contact .contact-area .form-area {
    padding: 26px !important;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  #head .w-container .flex .img-area {
    width: min(360px, 100%);
  }

  #services .service .flex .img-area img {
    max-height: 240px;
  }

  #footer .footer-area .footer-logo img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
