/* Build Your Trip Page - Exceptional Egypt Travel */

.bt-hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.bt-hero picture,
.bt-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bt-hero img {
  object-fit: cover;
  filter: saturate(.86) contrast(1.05);
}

.bt-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.38) 45%, rgba(0,0,0,.12)),
    linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.10) 56%);
}

.bt-hero-inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 86px;
}

.bt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
}

.bt-breadcrumb a {
  color: rgba(255,255,255,.88);
}

.bt-hero h1 {
  max-width: 850px;
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 110px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.075em;
}

.bt-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.80);
  font-size: 19px;
}

.bt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.bt-intro {
  padding: clamp(68px, 9vw, 118px) 0 34px;
  background: var(--offwhite);
}

.bt-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}

.bt-intro h2,
.bt-side-panel h2,
.bt-form-head h2,
.bt-trust h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--soft-black);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.bt-intro h2 {
  font-size: clamp(42px, 5.6vw, 68px);
}

.bt-intro p {
  margin: 0;
  color: #505050;
  font-size: 18px;
}

.bt-form-section {
  padding: 46px 0 clamp(86px, 10vw, 138px);
  background: var(--offwhite);
}

.bt-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.bt-side-panel {
  position: sticky;
  top: 104px;
  padding: 34px;
  background: var(--soft-black);
  color: var(--white);
  min-height: 640px;
}

.bt-side-panel h2 {
  color: var(--white);
  font-size: clamp(38px, 4.6vw, 58px);
  margin-top: 16px;
}

.bt-steps {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.bt-steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.bt-steps span,
.bt-trust-cards span {
  font-family: var(--ui);
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.bt-steps h3,
.bt-trust-cards h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 600;
}

.bt-steps p,
.bt-note-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
}

.bt-note-card {
  margin-top: 30px;
  padding: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.bt-note-card strong {
  display: block;
  font-family: var(--ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  margin-bottom: 10px;
}

.bt-note-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--white);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}

.bt-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.bt-form-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.bt-form-head h2 {
  font-size: clamp(38px, 5vw, 62px);
  margin: 13px 0 14px;
}

.bt-form-head p {
  margin: 0;
  color: #5a5a5a;
  font-size: 16px;
}

.bt-form {
  display: grid;
  gap: 28px;
}

.bt-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.bt-form legend {
  width: 100%;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--black);
}

.bt-fields {
  display: grid;
  gap: 16px;
}

.bt-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bt-fields.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bt-field {
  display: grid;
  gap: 8px;
}

.bt-field label,
.bt-consent {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #2d2d2d;
}

.bt-field label span {
  color: var(--gold);
}

.bt-field input,
.bt-field select,
.bt-field textarea {
  width: 100%;
  border: 1px solid rgba(24,24,24,.16);
  background: #fbfaf7;
  color: var(--ink);
  min-height: 52px;
  padding: 0 15px;
  border-radius: 0;
  font-family: var(--ui);
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.bt-field textarea {
  min-height: 160px;
  padding: 15px;
  resize: vertical;
  line-height: 1.7;
}

.bt-field input:focus,
.bt-field select:focus,
.bt-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(185,155,99,.12);
}

.bt-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bt-choice {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(24,24,24,.14);
  background: #fbfaf7;
  cursor: pointer;
  transition: .25s ease;
}

.bt-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bt-choice span {
  position: relative;
  padding-left: 24px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #272727;
}

.bt-choice span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
  border: 1px solid rgba(24,24,24,.35);
  background: transparent;
}

.bt-choice input:checked + span:before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #fbfaf7;
}

.bt-choice:has(input:checked) {
  border-color: rgba(185,155,99,.65);
  background: rgba(185,155,99,.10);
}

.bt-consent-row {
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.bt-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: #505050;
}

.bt-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.bt-submit {
  min-height: 58px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s ease;
}

.bt-submit:hover {
  transform: translateY(-2px);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.bt-trust {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}

.bt-trust-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.bt-trust h2 {
  font-size: clamp(42px, 5.5vw, 70px);
  margin-top: 16px;
}

.bt-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bt-trust-cards article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--offwhite);
  border: 1px solid var(--line);
}

.bt-trust-cards p {
  margin: 0;
  color: #595959;
  font-size: 15px;
}

@media (max-width: 1040px) {
  .bt-layout,
  .bt-intro-grid,
  .bt-trust-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bt-side-panel {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .bt-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .bt-steps article {
    grid-template-columns: 1fr;
    border-bottom: 0;
    border-right: 1px solid rgba(255,255,255,.14);
    padding: 22px;
  }

  .bt-steps article:last-child {
    border-right: 0;
  }

  .bt-trust-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bt-hero {
    min-height: 760px;
    align-items: end;
  }

  .bt-hero-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.24) 35%, rgba(0,0,0,.72)),
      linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.16));
  }

  .bt-hero-inner {
    padding: 94px 0 54px;
  }

  .bt-breadcrumb {
    margin-bottom: 22px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  .bt-hero h1 {
    max-width: 390px;
    font-size: 56px;
    letter-spacing: -.07em;
  }

  .bt-hero p {
    font-size: 16px;
  }

  .bt-hero-actions .btn {
    width: 100%;
  }

  .bt-intro {
    padding: 64px 0 24px;
  }

  .bt-intro h2,
  .bt-side-panel h2,
  .bt-form-head h2,
  .bt-trust h2 {
    font-size: 43px;
  }

  .bt-form-section {
    padding: 30px 0 70px;
  }

  .bt-side-panel,
  .bt-form-card {
    padding: 24px;
  }

  .bt-steps {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .bt-steps article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    padding: 20px 0;
  }

  .bt-fields.two,
  .bt-fields.three,
  .bt-choice-grid,
  .bt-trust-cards {
    grid-template-columns: 1fr;
  }

  .bt-form-card {
    box-shadow: none;
  }

  .bt-submit {
    width: 100%;
  }

  .bt-trust {
    padding: 68px 0;
  }

  .bt-trust-cards article {
    min-height: 210px;
  }
}

@media (max-width: 430px) {
  .bt-hero h1 {
    font-size: 49px;
  }

  .bt-intro h2,
  .bt-side-panel h2,
  .bt-form-head h2,
  .bt-trust h2 {
    font-size: 39px;
  }

  .bt-side-panel,
  .bt-form-card {
    padding: 20px;
  }

  .bt-choice span {
    font-size: 10px;
  }
}
