
/* =========================================
   MAS AVIATION — CORPORATE LEGAL PAGES
   SHARED STYLESHEET
========================================= */

.mas-legal-page {
  background: #f4f5f7;
  color: #061632;
}

/* =========================================
   01 — LEGAL PAGE HERO
========================================= */

.mas-legal-hero {
  position: relative;
  padding: 95px 0 105px;
  overflow: hidden;
  background: #061632;
  color: #ffffff;
}

.mas-legal-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -190px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.mas-legal-hero .container {
  position: relative;
  z-index: 1;
}

/* BREADCRUMB */

.mas-legal-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;

  color: #c5cfde;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.mas-legal-breadcrumb a {
  transition: color 0.25s ease;
}

.mas-legal-breadcrumb a:hover {
  color: #ffffff;
}

.mas-legal-breadcrumb span:nth-child(2) {
  color: #c71930;
}

/* EYEBROW */

.mas-legal-eyebrow {
  display: block;
  margin-bottom: 17px;

  color: #ed7181;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

/* HERO TITLE */

.mas-legal-hero h1 {
  margin: 0;

  color: #ffffff;
  font-size: clamp(45px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2.5px;
}

.mas-legal-hero h1 span {
  color: #e54a60;
}

.mas-legal-hero p {
  max-width: 650px;
  margin-top: 25px;

  color: #d4ddea;
  font-size: 16px;
  line-height: 1.9;
}

/* =========================================
   02 — CONTENT LAYOUT
========================================= */

.mas-legal-content-section {
  padding: 85px 0 110px;
  background: #f4f5f7;
}

.mas-legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 35px;
}

/* =========================================
   03 — STICKY SIDEBAR
========================================= */

.mas-legal-sidebar {
  position: sticky;
  top: 115px;

  padding: 27px 22px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 13px;

  box-shadow: 0 10px 30px rgba(6,22,50,0.035);
}

.mas-legal-sidebar-label {
  display: block;
  margin-bottom: 20px;

  color: #c71930;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mas-legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mas-legal-sidebar nav a {
  display: block;
  padding: 11px 12px;

  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;

  color: #49566a;
  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.mas-legal-sidebar nav a:hover,
.mas-legal-sidebar nav a:focus-visible {
  background: #f4f5f7;
  border-left-color: #c71930;
  color: #061632;
}

/* =========================================
   04 — MAIN LEGAL DOCUMENT
========================================= */

.mas-legal-document {
  min-width: 0;
  padding: 48px 55px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 15px;

  box-shadow: 0 15px 45px rgba(6,22,50,0.04);
}

/* DRAFT NOTICE */

.mas-legal-status {
  margin-bottom: 40px;
  padding: 16px 20px;

  border-left: 4px solid #c71930;
  border-radius: 0 8px 8px 0;

  background: #f4f5f7;
  color: #061632;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.7;
}

/* DOCUMENT INTRODUCTION */

.mas-legal-document-heading {
  padding-bottom: 35px;
  border-bottom: 1px solid #e2e7ee;
}

.mas-legal-document-heading > span {
  display: block;
  margin-bottom: 15px;

  color: #c71930;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mas-legal-document-heading h2 {
  margin: 0;

  color: #061632;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
}

.mas-legal-document-heading p {
  margin-top: 19px;

  color: #49566a;
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================
   05 — DOCUMENT SECTIONS
========================================= */

.mas-legal-section {
  padding: 35px 0;
  border-bottom: 1px solid #e2e7ee;

  scroll-margin-top: 120px;
}

.mas-legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mas-legal-section h3 {
  margin: 0 0 20px;

  color: #061632;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.mas-legal-section p {
  margin: 0 0 16px;

  color: #49566a;
  font-size: 15px;
  line-height: 1.9;
}

.mas-legal-section p:last-child {
  margin-bottom: 0;
}

/* LISTS */

.mas-legal-section ul {
  margin: 18px 0 24px;
  padding-left: 24px;
}

.mas-legal-section li {
  margin-bottom: 10px;
  padding-left: 5px;

  color: #49566a;
  font-size: 15px;
  line-height: 1.75;
}

.mas-legal-section li::marker {
  color: #c71930;
}

/* CONTACT EMAIL */

.mas-legal-email {
  display: inline-block;
  margin: 6px 0 20px;

  color: #c71930;
  font-size: 16px;
  font-weight: 750;
  overflow-wrap: anywhere;

  transition: color 0.25s ease;
}

.mas-legal-email:hover {
  color: #061632;
  text-decoration: underline;
}

/* KEYBOARD ACCESSIBILITY */

.mas-legal-page a:focus-visible {
  outline: 3px solid #c71930;
  outline-offset: 4px;
}

/* =========================================
   06 — TABLET RESPONSIVENESS
========================================= */

@media (max-width: 950px) {

  .mas-legal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 22px;
  }

  .mas-legal-document {
    padding: 38px 35px;
  }

  .mas-legal-sidebar {
    padding: 22px 15px;
  }
}

/* =========================================
   07 — MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 700px) {

  .mas-legal-hero {
    padding: 60px 0 75px;
  }

  .mas-legal-breadcrumb {
    margin-bottom: 32px;
    font-size: 10px;
  }

  .mas-legal-hero h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
  }

  .mas-legal-hero p {
    font-size: 14px;
    line-height: 1.8;
  }

  .mas-legal-content-section {
    padding: 45px 0 65px;
  }

  .mas-legal-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mas-legal-sidebar {
    position: static;
    padding: 22px;
  }

  .mas-legal-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .mas-legal-sidebar nav a {
    padding: 10px 8px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .mas-legal-document {
    padding: 30px 22px;
  }

  .mas-legal-document-heading h2 {
    font-size: 29px;
  }

  .mas-legal-document-heading p,
  .mas-legal-section p,
  .mas-legal-section li {
    font-size: 14px;
  }

  .mas-legal-section h3 {
    font-size: 20px;
  }

  .mas-legal-section {
    padding: 28px 0;
    scroll-margin-top: 95px;
  }
}

/* =========================================
   08 — REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  .mas-legal-sidebar nav a,
  .mas-legal-email {
    transition: none;
  }
}
