/* sales page: private flight society light, navy identity */
.sales-page .site-header{position:relative;background:#fafafa;box-shadow:none;border-bottom:1px solid #e5e5e5}
.sales-page .sales-hero{background:linear-gradient(100deg,rgba(246,250,251,.96) 5%,rgba(246,250,251,.84) 48%,rgba(246,250,251,.05) 100%),url('assets/images/hero-wing-view.png') center 53%/cover;min-height:460px;display:flex;align-items:center}
.sales-page .sales-hero .shell{width:100%;padding-top:50px;padding-bottom:50px}
.sales-kicker{color:#111111;font-size:10px;font-weight:700;letter-spacing:.2em}
.sales-page .sales-hero h1{font-size:clamp(40px,5vw,67px);max-width:900px;margin:21px 0;color:#171717;line-height:1.14}
.sales-page .sales-hero h1 span{display:block;color:#111111}
.sales-page .sales-hero p{font-size:15px;color:#425d69;max-width:510px}
.sales-intro-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.sale-main-btn,.sale-outline-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #171717;border-radius:5px;background:#171717;color:white;padding:13px 19px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.sale-outline-btn{background:transparent;color:#171717}

.sales-process{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:82px;padding-bottom:62px}
.sales-process h2,.sales-market-heading h2,.sales-contact h2{font-size:clamp(31px,3.5vw,50px);color:#18303d}
.sales-process>p{max-width:570px;color:#647984;font-size:14px;line-height:1.9}

.sales-services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:95px}
.sales-services article{padding:27px;background:#f6f6f6;border-top:2px solid #171717}
.sales-services article>span{font-size:10px;letter-spacing:.16em;color:#497789}
.sales-services h3{font-size:20px;color:#171717;margin:13px 0}
.sales-services p{font-size:13px;color:#6a7d86;line-height:1.8;margin:0}

.sales-market{background:#f5f5f5;padding:80px 0 84px}
.sales-market-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:32px}
.sales-market-heading p{max-width:460px;color:#5f727e;font-size:13px}
.sales-market-heading-table{align-items:start}
.sales-market-heading-table h2{margin-bottom:10px}
.sales-table-subtitle{margin:0;max-width:440px;font-size:14px;color:#687b85}
.sales-table-wrap{background:#fff;border:1px solid #dedede;overflow-x:auto}
.sales-table{width:100%;min-width:1020px;border-collapse:collapse}
.sales-table thead th{padding:16px 14px;background:#f1f1f1;color:#1b3642;font-size:12px;font-weight:800;letter-spacing:.08em;text-align:left;border-bottom:1px solid #dedede}
.sales-table tbody tr.base-row td{border-top:1px solid #e7e7e7}
.sales-table tbody tr:first-child td{border-top:none}
.sales-table td{padding:16px 14px;vertical-align:top;color:#39515c;font-size:13px;line-height:1.65;background:#fff}
.aircraft-name{font-size:15px;font-weight:800;line-height:1.35;color:#1b3642}
.aircraft-meta{font-size:11px;color:#6d8390;margin-top:4px;letter-spacing:.06em;text-transform:uppercase}
.spec-highlights{min-width:340px;color:#5b707b}
.asking-col strong{font-size:18px;color:#1a1a1a;white-space:nowrap}
.actions-col{min-width:170px}
.actions-col .table-link + .table-link{margin-top:10px}
.table-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:none;background:none;color:#111111;font-size:12px;font-weight:700;text-decoration:underline;cursor:pointer}
.table-link-primary{color:#1a1a1a;text-decoration:none;border-bottom:1px solid #a5bbc4;padding-bottom:2px}
.detail-row{display:none}
.detail-row.open{display:table-row}
.detail-row td{padding:0;background:#f8fbfc;border-top:none}
.detail-panel{padding:22px 24px;border-top:1px solid #e2eaee}
.detail-grid{display:grid;grid-template-columns:1.6fr auto;gap:28px;align-items:start}
.detail-panel h3{margin:0 0 8px;font-size:20px;color:#1a1a1a}
.detail-panel p{margin:0;color:#5f727d;font-size:13px;line-height:1.8;max-width:760px}
.detail-actions{display:flex;align-items:center;justify-content:flex-end}
.market-more{display:flex;flex-wrap:wrap;align-items:center;gap:13px 22px;margin:36px 0 8px}
.market-more p{width:100%;font-size:13px;color:#667d87;margin:0}
.market-more a{display:inline-block;padding:12px 15px;border:1px solid #c4d8df;background:white;color:#171717;font-size:12px;font-weight:700;text-decoration:none}
.sale-disclaimer{font-size:11px;color:#728691;margin:25px 0 0}

.sales-contact{padding:86px 0;background:#fff}
.sales-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.sales-contact-grid>div p{max-width:500px;color:#6c8089}
.sales-contact form{display:grid;gap:14px}
.sales-contact label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#2d5260}
.sales-contact input,.sales-contact select,.sales-contact textarea{padding:12px 13px;border:1px solid #cadbe1;border-radius:4px;background:#f8fafb;color:#171717;width:100%;font:inherit;font-size:13px}
.sales-contact button{justify-self:start}
.sales-contact form small{color:#70818a}

@media(max-width:900px){
  .sales-process{gap:30px}
  .sales-services{gap:10px}
  .detail-grid{grid-template-columns:1fr}
  .detail-actions{justify-content:flex-start}
}
@media(max-width:620px){
  .sales-process,.sales-contact-grid,.sales-services{grid-template-columns:1fr}
  .sales-market-heading{display:block}
  .sales-page .sales-hero{min-height:430px;background-position:center}
  .sales-page .sales-hero h1{font-size:37px}
  .sales-page .sales-hero .shell{padding-top:75px}
  .sales-table-wrap{margin:0 -4px}
  .market-more a{width:100%;text-align:center}
}

/* v77 - mobile-only aircraft marketplace: full information without horizontal scrolling. */
@media (max-width: 620px) {
  .sales-market .sales-table-wrap {
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    width: 100%;
    max-width: 100%;
  }
  .sales-market .sales-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-collapse: separate;
  }
  .sales-table thead { display: none; }
  .sales-table tbody { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
  .sales-table tbody tr:not(.detail-row) {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    column-gap: 12px;
    row-gap: 12px;
    width: 100%;
    padding: 18px;
    border: 1px solid #d8e5e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(26, 61, 76, .04);
  }
  .sales-table tbody tr:not(.detail-row) > td {
    display: block;
    min-width: 0;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 12px;
    line-height: 1.55;
  }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(1),
  .sales-table tbody tr:not(.detail-row) > td:nth-child(2),
  .sales-table tbody tr:not(.detail-row) > td:nth-child(5) { grid-column: 1 / -1; }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(2) {
    padding-top: 12px;
    border-top: 1px solid #e5edef;
  }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(2)::before,
  .sales-table tbody tr:not(.detail-row) > td:nth-child(3)::before,
  .sales-table tbody tr:not(.detail-row) > td:nth-child(4)::before {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #66818d;
  }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(2)::before { content: "specifications"; }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(3)::before { content: "base location"; }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(4)::before { content: "asking price"; }
  .sales-table tbody tr:not(.detail-row) > td:nth-child(5) {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e5edef;
  }
  .sales-table .actions-col .table-link + .table-link { margin-top: 0; }
  .sales-table .aircraft-name { font-size: 17px; line-height: 1.35; }
  .sales-table .aircraft-meta { font-size: 10px; }
  .sales-table .spec-highlights { min-width: 0; }
  .sales-table .asking-col strong { font-size: 16px; white-space: normal; }
  .sales-table .actions-col { min-width: 0; }
  .sales-table tbody tr.detail-row { display: none; }
  .sales-table tbody tr.detail-row.open {
    display: block;
    margin-top: -8px;
    overflow: hidden;
    background: #f9fcfd;
    border: 1px solid #d8e5e9;
    border-radius: 13px;
  }
  .sales-table tbody tr.detail-row > td { display: block; width: 100%; padding: 0; }
  .sales-table .detail-panel { padding: 18px; }
  .sales-table .detail-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .sales-table .detail-panel h3 { font-size: 17px; }
  .sales-table .detail-actions { justify-content: flex-start; }
}

/* v258 — selected Wanted aircraft context in enquiry form */
.wanted-selection-summary{
  margin:0 0 2px;
  padding:12px 14px;
  border:1px solid #d8d8d4;
  border-radius:12px;
  background:#f5f5f2;
  color:#1a1a1a;
  font:600 12px/1.45 Inter,Arial,sans-serif;
}
.wanted-selection-summary strong{
  display:block;
  margin-bottom:2px;
  font-size:12px;
}
.wanted-selection-summary span{
  color:#666;
  font-weight:500;
}
@media(max-width:650px){
  .wanted-selection-summary{
    padding:10px 12px;
    font-size:11px;
  }
}

/* v265 — Aircraft Sales: tighter hero spacing + centered next-chapter section */
.sales-page .sales-hero{
  min-height:360px !important;
  align-items:center !important;
}
.sales-page .sales-hero .shell{
  padding-top:28px !important;
  padding-bottom:42px !important;
}
.sales-page .sales-hero h1{
  margin-top:16px !important;
  margin-bottom:18px !important;
}
.sales-page .sales-intro-buttons{
  margin-top:22px !important;
}

.sales-page .sales-process{
  display:block !important;
  max-width:900px !important;
  margin:0 auto !important;
  padding-top:58px !important;
  padding-bottom:58px !important;
  text-align:center !important;
}
.sales-page .sales-process > div{
  text-align:center !important;
}
.sales-page .sales-process .eyebrow{
  display:block !important;
  text-align:center !important;
}
.sales-page .sales-process h2{
  margin:12px auto 22px !important;
  max-width:620px !important;
  text-align:center !important;
  line-height:1.08 !important;
}
.sales-page .sales-process > p{
  max-width:820px !important;
  margin:0 auto !important;
  text-align:center !important;
  line-height:1.75 !important;
}

@media(max-width:620px){
  .sales-page .sales-hero{
    min-height:330px !important;
  }
  .sales-page .sales-hero .shell{
    padding-top:28px !important;
    padding-bottom:34px !important;
  }
  .sales-page .sales-process{
    padding-top:42px !important;
    padding-bottom:44px !important;
  }
}


/* v266 aircraft sales marketplace + contact alignment polish */
.sales-page .sales-market-heading-table{
  display:block !important;
  max-width:1080px !important;
  margin:0 auto 34px !important;
  text-align:center !important;
}
.sales-page .sales-market-heading-table > div,
.sales-page .sales-market-heading-table > p{
  max-width:980px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}
.sales-page .sales-market-heading-table .eyebrow{
  display:block !important;
  text-align:center !important;
}
.sales-page .sales-market-heading-table h2{
  margin:12px auto 12px !important;
  text-align:center !important;
}
.sales-page .sales-market-heading-table .sales-table-subtitle{
  max-width:720px !important;
  margin:0 auto !important;
  text-align:center !important;
}
.sales-page .sales-market-heading-table > p{
  max-width:920px !important;
  margin-top:12px !important;
  color:#5f727e !important;
  font-size:14px !important;
  line-height:1.8 !important;
}

.sales-page .table-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  padding:10px 16px !important;
  border:1px solid #171717 !important;
  border-radius:999px !important;
  background:transparent !important;
  color:#171717 !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  transition:background .2s ease,color .2s ease,border-color .2s ease !important;
}
.sales-page .table-link:hover,
.sales-page .table-link:focus-visible{
  background:#171717 !important;
  color:#ffffff !important;
  border-color:#171717 !important;
  outline:none !important;
}
.sales-page .table-link.table-link-primary{
  padding:0 !important;
  min-height:auto !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#171717 !important;
  text-decoration:none !important;
  border-bottom:1px solid #a5bbc4 !important;
  padding-bottom:2px !important;
}
.sales-page .table-link.table-link-primary:hover,
.sales-page .table-link.table-link-primary:focus-visible{
  background:transparent !important;
  color:#171717 !important;
  border-bottom-color:#171717 !important;
}
.actions-col .table-link + .table-link{
  margin-top:12px !important;
}

.sales-page .sales-contact-grid{
  align-items:center !important;
}
.sales-page .sales-contact-grid > div:first-child{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
.sales-page .sales-contact-grid > div:first-child .eyebrow{
  display:block !important;
  text-align:center !important;
}
.sales-page .sales-contact-grid > div:first-child h2{
  margin:12px auto 18px !important;
  text-align:center !important;
}
.sales-page .sales-contact-grid > div:first-child p{
  max-width:620px !important;
  margin:0 auto !important;
  text-align:center !important;
  line-height:1.8 !important;
}

@media(max-width:900px){
  .sales-page .sales-market-heading-table > p{
    max-width:760px !important;
  }
}
@media(max-width:620px){
  .sales-page .sales-market-heading-table{
    margin-bottom:24px !important;
  }
  .sales-page .sales-market-heading-table h2{
    margin-bottom:10px !important;
  }
  .sales-page .sales-market-heading-table > p{
    margin-top:10px !important;
    font-size:13px !important;
  }
  .sales-page .sales-contact-grid > div:first-child{
    margin-bottom:10px !important;
  }
}
