/* Al Saif Travel – sections */

/* hero with booking finder */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 0 0; color: #fff; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,55,64,.85) 0%, rgba(8,55,64,.25) 45%, rgba(8,55,64,.35) 100%); }
.hero__content { margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 700; max-width: 12em; margin-bottom: .6rem; }
.hero__content p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 34em; }

.finder { background: #fff; color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; padding: 0 1.5rem 1.5rem; box-shadow: 0 -10px 40px rgba(8,55,64,.25); }
.finder__tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid #E2EBEA; margin-bottom: 1.2rem; }
.finder__tabs button { font: inherit; font-weight: 500; font-size: 1.05rem; background: none; border: 0; padding: 1.1rem 0 .9rem; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
.finder__tabs button[aria-selected="true"] { color: var(--teal); border-color: var(--marigold); }
.finder__form[hidden] { display: none; }
.finder__form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .8rem; align-items: end; }
.finder__form label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; color: var(--muted); }
.finder__form .wide { grid-column: span 2; }
#f-umrah .wide { grid-column: span 3; }
.finder__form input, .finder__form select { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); border: 1px solid #CFDDDC; border-radius: 12px; padding: .7rem .8rem; background: #F8FBFB; min-height: 50px; width: 100%; }
.finder__form input:focus, .finder__form select:focus { outline: 2px solid var(--lagoon); border-color: var(--lagoon); }
.finder__form input[aria-invalid="true"] { border-color: #C2410C; background: #FFF4EE; }
.finder__form button { font: inherit; font-weight: 600; background: var(--marigold); color: var(--ink); border: 0; border-radius: 12px; padding: 0 1.4rem; min-height: 50px; cursor: pointer; white-space: nowrap; }
.finder__form button:hover { background: #F7BB67; }
.finder__msg { margin: .8rem 0 0; font-weight: 400; color: var(--teal); min-height: 1.5em; }
.finder__msg:empty { display: none; }

/* destinations */
.dest { padding: 5rem 0 4rem; background: var(--sky); }
.dest__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.dest__head h2 { margin: 0; }
.dest__head p { margin: 0; max-width: 30em; color: var(--muted); font-size: .92rem; }
.dest__strip {
  list-style: none; margin: 0; padding: 0 0 1rem;
  padding-inline: max(1.25rem, calc((100vw - 1240px) / 2));
  scroll-padding-inline: max(1.25rem, calc((100vw - 1240px) / 2));
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.ticket { flex: 0 0 clamp(240px, 23vw, 280px); scroll-snap-align: start; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; min-height: 280px; display: flex; flex-direction: column; color: #fff; position: relative; overflow: hidden; }
.ticket::after { content: ""; position: absolute; inset-inline: 1.4rem; bottom: 4.2rem; border-top: 2px dashed rgba(255,255,255,.35); }
.ticket__code { font-size: 4.2rem; font-weight: 700; line-height: 1; letter-spacing: .02em; opacity: .95; direction: ltr; text-align: right; }
.ticket strong { font-size: 1.4rem; margin-top: auto; }
.ticket > span:not(.ticket__code) { font-size: .88rem; opacity: .9; margin-bottom: 1.6rem; }
.ticket em { font-style: normal; font-weight: 600; background: rgba(255,255,255,.95); color: var(--ink); align-self: flex-start; padding: .3rem .9rem; border-radius: 99px; font-size: .92rem; }
.ticket--cai { background: #C9772B; }
.ticket--dxb { background: var(--teal); }
.ticket--ist { background: #7B3F61; }
.ticket--kul { background: #2F6E4A; }
.ticket--add { background: #2E5A8C; }

.local { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 1rem; margin-top: 3rem; }
.local figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.local img { width: 100%; height: 100%; object-fit: cover; }
.local__big { grid-row: span 2; min-height: 460px; }
.local__small { min-height: 230px; }
.local figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 3rem 1.4rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; flex-direction: column; }
.local figcaption strong { font-size: 1.3rem; }
.local figcaption span { font-size: .92rem; max-width: 30em; }
.local__note { background: #fff; border-radius: var(--radius); padding: 1.6rem; }
.local__note p { color: var(--muted); font-size: .95rem; }
.local__note a { font-weight: 500; }

/* packages */
.packs { padding: 5rem 0; }
.packs__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.packs__head h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .92rem; border: 1px solid #CFDDDC; background: #fff; color: var(--ink); border-radius: 99px; padding: .45rem 1.1rem; cursor: pointer; }
.chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.packs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pack { border: 1px solid #E2EBEA; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pack[hidden] { display: none; }
.pack__top { height: 130px; display: flex; align-items: flex-end; padding: 1rem 1.3rem; color: #fff; font-size: 2rem; font-weight: 700; }
.pack__top--cai { background: #C9772B; }
.pack__top--dxb { background: var(--teal); }
.pack__top--kul { background: #2F6E4A; }
.pack__top--ist { background: #7B3F61; }
.pack--photo { grid-column: span 2; flex-direction: row; }
.pack--photo img { width: 50%; object-fit: cover; }
.pack__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pack__body h3 { font-size: 1.15rem; }
.pack__body p { color: var(--muted); font-size: .94rem; }
.pack__price { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid #E2EBEA; font-size: .86rem !important; }
.pack__price strong { display: block; font-size: 1.35rem; color: var(--ink); }
.packs__empty { color: var(--muted); }

/* umrah */
.umrah { background: #F6EEDF; padding: 5rem 0; }
.umrah__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; align-items: start; }
.umrah__intro p { color: #5E5645; }
.umrah__incl { padding: 0; margin: 0; list-style: none; }
.umrah__incl li { padding: .5rem 0; border-bottom: 1px solid #E5D8BD; }
.umrah__table { background: #fff; border-radius: var(--radius); padding: 1.6rem; }
.umrah__table table { width: 100%; border-collapse: collapse; }
.umrah__table th, .umrah__table td { text-align: right; padding: .85rem .5rem; border-bottom: 1px solid #EFE6D3; }
.umrah__table thead th { font-weight: 400; font-size: .84rem; color: #8A7C60; }
.umrah__table tbody th { font-weight: 600; }
.umrah__table td:last-child { font-weight: 600; white-space: nowrap; }
.umrah__small { font-size: .84rem; color: #8A7C60; margin: 1rem 0 1.4rem; }

/* business */
.biz { padding: 5.5rem 0; }
.biz__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.biz h2 { font-size: clamp(2rem, 4vw, 3rem); }
.biz__text > p { font-size: 1.1rem; max-width: 38em; }
.biz__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.biz__facts div { border-top: 3px solid var(--marigold); padding-top: .8rem; }
.biz__facts dt { font-weight: 600; }
.biz__facts dd { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 1100px) {
  .finder__form { grid-template-columns: repeat(3, 1fr); }
  .finder__form button { grid-column: span 3; }
  #f-hotel.finder__form, #f-umrah.finder__form { grid-template-columns: repeat(3, 1fr); }
  #f-hotel .wide, #f-umrah .wide { grid-column: span 3; }
}
@media (max-width: 900px) {
  .packs__list { grid-template-columns: 1fr 1fr; }
  .umrah__grid, .biz__grid { grid-template-columns: 1fr; gap: 2rem; }
  .local { grid-template-columns: 1fr 1fr; }
  .local__big { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 6.5rem; }
  .finder { padding: 0 1rem 1rem; }
  .finder__form, #f-hotel.finder__form, #f-umrah.finder__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .finder__form label { min-width: 0; }
  .finder__form input, .finder__form select { min-width: 0; }
  .finder__form label:first-child, .finder__form label:nth-child(2) { grid-column: span 2; }
  .finder__form button, #f-hotel .wide, #f-umrah .wide { grid-column: span 2; }
  .dest, .packs, .umrah, .biz { padding: 3.5rem 0; }
  .ticket__code { font-size: 3.4rem; }
  .local { grid-template-columns: 1fr; }
  .local__big { grid-column: auto; min-height: 300px; }
  .packs__list { grid-template-columns: 1fr; }
  .pack--photo { grid-column: auto; flex-direction: column; }
  .pack--photo img { width: 100%; aspect-ratio: 16/9; }
  .biz__facts { grid-template-columns: 1fr; }
  .umrah__table { padding: 1rem; overflow-x: auto; }
  .umrah__table table { min-width: 460px; }
}
