:root {
  --airfy-purple: #3124ff;
  --airfy-purple-dark: #2015df;
  --airfy-lime: #c6f806;
  --airfy-ink: #030712;
  --airfy-muted: #4b5563;
  --airfy-surface: #f1f5f9;
  --airfy-border: rgba(3, 7, 18, .09);
  --airfy-shadow: 0 18px 60px rgba(20, 16, 80, .12);
  --airfy-container: 1280px;
}

.global-container {
  width: min(100% - 80px, var(--airfy-container));
  margin-inline: auto;
}

.global-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
}

.global-header-inner {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1.6fr) minmax(190px, .65fr);
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.global-brand {
  display: inline-flex;
  justify-self: start;
}

.global-brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.global-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.global-navigation a {
  color: var(--airfy-ink);
  font: 500 15px/1.35 Inter, sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}

.global-navigation a:hover,
.global-navigation a[aria-current="page"] {
  color: var(--airfy-purple);
}

.global-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.global-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1.25 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.global-button:hover { transform: translateY(-2px); }
.global-button-primary { color: var(--airfy-ink); background: var(--airfy-lime); }
.global-button-primary:hover { background: #b4e900; }
.global-button-secondary { color: var(--airfy-purple); background: #fff; border-color: var(--airfy-purple); }
.global-button-secondary:hover { background: rgba(49, 36, 255, .05); }
.global-button-inverse { color: var(--airfy-ink); background: #fff; }

.global-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--airfy-ink);
  background: #fff;
  border: 1px solid var(--airfy-border);
  border-radius: 999px;
}

.global-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.global-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.global-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.global-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.global-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 30px;
  color: #fff;
  background: var(--airfy-purple);
}

.global-footer::after {
  content: '';
  position: absolute;
  top: -85px;
  right: -55px;
  width: 190px;
  height: 190px;
  background: var(--airfy-lime);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 100%, 62% 48%, 26% 84%, 0 58%, 35% 23%);
  pointer-events: none;
}

.global-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .65fr));
  gap: 52px;
}

.global-footer-brand img {
  width: auto;
  height: 43px;
  padding: 5px 9px;
  background: #fff;
  border-radius: 10px;
  object-fit: contain;
}

.global-footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .8);
  font: 400 16px/1.55 Inter, sans-serif;
}

.global-footer-column h2 {
  margin: 0 0 15px;
  color: #fff;
  font: 600 17px/1.3 Manrope, sans-serif;
}

.global-footer-column a {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: rgba(255, 255, 255, .78);
  font: 400 14px/1.4 Inter, sans-serif;
  text-decoration: none;
}

.global-footer-column a:hover { color: var(--airfy-lime); }

.global-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(255, 255, 255, .3);
  font: 400 13px/1.45 Inter, sans-serif;
}

:where(.global-header, .global-footer) a:focus-visible,
.global-menu-toggle:focus-visible {
  outline: 3px solid var(--airfy-lime);
  outline-offset: 3px;
}

.home-services-section {
  padding: 80px 0;
  color: #fff;
  background: var(--airfy-purple);
}

.home-services-heading {
  max-width: 790px;
  margin: 0 auto 40px;
  text-align: center;
}

.home-services-kicker {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--airfy-ink);
  background: var(--airfy-lime);
  border-radius: 999px;
  font: 600 12px/1.35 Inter, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-services-heading h2 {
  margin: 16px 0 0;
  color: #fff;
  font: 600 clamp(34px, 5vw, 56px)/1.12 Manrope, sans-serif;
  letter-spacing: -.045em;
}

.home-services-heading p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .8);
  font: 400 18px/1.55 Inter, sans-serif;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 26px;
  color: var(--airfy-ink);
  background: #fff;
  border-radius: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(3, 7, 18, .18);
}

.home-service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-service-topline > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  color: var(--airfy-purple);
  background: var(--airfy-surface);
  border-radius: 999px;
  font: 600 12px/1 Manrope, sans-serif;
}

.home-service-topline small {
  color: #6b7280;
  font: 600 11px/1.3 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-service-card h3 {
  margin: 34px 0 0;
  color: var(--airfy-ink);
  font: 600 25px/1.25 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.home-service-card > p {
  margin: 12px 0 0;
  color: var(--airfy-muted);
  font: 400 15px/1.55 Inter, sans-serif;
}

.home-service-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}

.home-service-bottom strong {
  max-width: 150px;
  color: var(--airfy-ink);
  font: 600 13px/1.35 Inter, sans-serif;
}

.home-service-bottom a {
  color: var(--airfy-purple);
  font: 600 14px/1.35 Inter, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.home-service-bottom a span { display: inline-block; transition: transform .2s ease; }
.home-service-bottom a:hover span { transform: translateX(4px); }

@media (max-width: 1023px) {
  .global-container { width: min(100% - 48px, var(--airfy-container)); }
  .global-header-inner { grid-template-columns: 1fr auto; }
  .global-navigation {
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--airfy-border);
    border-radius: 20px;
    box-shadow: var(--airfy-shadow);
  }
  .global-navigation.is-open { display: flex; }
  .global-navigation a { width: 100%; padding: 9px 2px; font-size: 17px; }
  .global-header-cta { display: none; }
  .global-menu-toggle { display: block; }
  .global-footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .global-footer-column:last-child { grid-column: 2 / -1; }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .global-container { width: min(100% - 40px, var(--airfy-container)); }
  .global-header-inner { min-height: 74px; }
  .global-brand img { height: 35px; }
  .global-navigation { top: 70px; left: 20px; right: 20px; }
  .global-footer { padding-top: 58px; }
  .global-footer::after { width: 140px; height: 140px; }
  .global-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .global-footer-column:last-child { grid-column: auto; }
  .global-footer-bottom { flex-direction: column; margin-top: 42px; }
  .home-services-section { padding: 54px 0; }
  .home-services-grid { grid-template-columns: 1fr; }
  .home-service-card { min-height: 290px; }
}
