
:root{
  --red:#d90816;
  --black:#161616;
  --light:#f7f7f7;
  --border:#dedede;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--black);
  min-height:100vh;
  background-color:#eaf4fd;
  background-image:linear-gradient(rgba(236,245,253,.82),rgba(236,245,253,.9)),url('assets/n882sf-cloud-background.png');
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
header{
  border-bottom:1px solid var(--border);
  background:#fff;
}
.header-wrap{
  max-width:1100px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
}
.logo{height:58px;max-width:320px;object-fit:contain}
nav a{
  color:var(--black);
  text-decoration:none;
  margin-left:20px;
  font-weight:600;
}
.hero{
  background:linear-gradient(135deg,#fff 0%,#fff 55%,#f7f7f7 100%);
  padding:55px 20px;
  border-bottom:4px solid var(--red);
}
.hero-inner{
  max-width:1100px;
  margin:auto;
}
h1{font-size:42px;margin:0 0 10px}
h2{margin-top:0}
.tagline{font-size:18px;color:#555}
.container{
  max-width:1100px;
  margin:32px auto;
  padding:0 20px;
}
.card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px;
  background:#fff;
  box-shadow:0 7px 22px rgba(0,0,0,.05);
}
.search-grid,.form-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
label{font-size:13px;font-weight:700;display:block;margin-bottom:6px}
input,select{
  width:100%;
  padding:12px;
  border:1px solid #cfcfcf;
  border-radius:8px;
  font-size:15px;
}
button,.btn{
  display:inline-block;
  background:var(--red);
  color:#fff;
  border:none;
  padding:12px 18px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
}
.btn-dark{background:var(--black)}
.flight{
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px;
  margin-bottom:14px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr auto;
  gap:14px;
  align-items:center;
}
.flight strong{display:block;font-size:18px}
.muted{color:#777;font-size:13px}
.price{font-size:22px;font-weight:800;color:var(--red)}
.notice{
  padding:12px 14px;
  background:#fff5f5;
  border-left:4px solid var(--red);
  margin-bottom:20px;
}
table{width:100%;border-collapse:collapse}
th,td{padding:11px;border-bottom:1px solid var(--border);text-align:left;font-size:14px}
th{background:#fafafa}
footer{
  margin-top:50px;
  padding:28px 20px;
  background:var(--black);
  color:#fff;
  text-align:center;
}
@media(max-width:800px){
  .search-grid,.form-grid{grid-template-columns:1fr 1fr}
  .flight{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  body{background-attachment:scroll;background-position:center top}
  .search-grid,.form-grid,.flight{grid-template-columns:1fr}
  h1{font-size:32px}
}

/* Liberia Air home page */
.home-page{--navy:#063568;--blue:#0872ad;background-image:linear-gradient(rgba(236,245,253,.78),rgba(236,245,253,.88)),url('assets/n882sf-cloud-background.png');background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed;color:#072e5c}
.home-page header{position:relative;z-index:2}.home-page .header-wrap{max-width:1240px;padding:14px 24px}.home-page .logo{height:58px}
.home-page nav{display:flex;align-items:center;gap:26px}.home-page nav a{margin:0;color:#072e5c;font-size:14px}
.home-page .hero{padding:0;border:0;background:linear-gradient(90deg,rgba(2,36,76,.94) 0%,rgba(3,52,98,.72) 34%,rgba(4,63,111,.12) 60%,rgba(4,63,111,0) 100%);color:#fff;overflow:hidden}
.home-page .hero-inner{position:relative;max-width:1240px;min-height:330px;padding:42px 28px;display:grid;grid-template-columns:1fr 1.35fr;align-items:center;gap:40px}
.home-page .hero h1{font-size:62px;line-height:.98;margin:14px 0 18px;color:#fff}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:800}.home-page .tagline{color:#fff;font-size:22px;max-width:420px;line-height:1.35}
.hero-btn{display:inline-block;margin-top:26px;background:#e20b24;color:#fff;text-decoration:none;padding:14px 22px;border-radius:8px;font-weight:800}
.route-cloud{min-height:230px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:flex;align-items:center;justify-content:center;gap:12px;background:radial-gradient(circle,rgba(255,255,255,.2),transparent 65%);box-shadow:0 30px 80px rgba(0,0,0,.22)}
.route-cloud strong{font-size:28px}.route-cloud span{font-size:13px}.route-cloud i{font-size:28px;color:#ef233c}
.hero-aircraft-space{min-height:260px}
.home-page .hero-copy .tagline{position:absolute;z-index:3;left:43%;right:3%;top:50%;transform:translateY(-50%);max-width:none;padding:0;background:transparent;color:#062e5b;font-size:34px;line-height:1.15;font-weight:800;text-align:center;text-shadow:0 2px 12px rgba(255,255,255,.9)}
.fleet-band{background:rgba(255,255,255,.88);backdrop-filter:blur(8px);border-bottom:1px solid rgba(215,225,236,.9)}.fleet-band>div{max-width:1240px;margin:auto;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.fleet-band b{font-size:34px}.fleet-band span{font-weight:700}
.home-content{max-width:1240px;margin-top:28px}.booking-panel{background:linear-gradient(135deg,#063568,#075788);color:#fff;border-radius:22px;padding:26px;box-shadow:0 18px 45px rgba(4,47,91,.25)}
.booking-panel h2{font-size:34px}.booking-tabs{display:flex;gap:12px;margin-bottom:20px}.booking-tabs>*{padding:12px 18px;border-radius:8px;background:rgba(255,255,255,.09);color:#fff;text-decoration:none}.booking-tabs strong{background:#fff;color:#07396d}
.booking-panel label{color:#dcecff}.booking-panel input,.booking-panel select{background:#fff;border:0;min-height:52px}.search-action{margin:18px 0 0}.booking-panel button{font-size:17px;padding:15px 26px;background:#e20b24}
.destinations{margin-top:38px}.destination-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.destination-heading>div>span{font-size:12px;font-weight:800;letter-spacing:1.3px;color:#d90816}.destinations h2{margin:5px 0 0;font-size:30px;text-shadow:0 1px 8px rgba(255,255,255,.9)}.destination-heading p{margin:0 0 3px;color:#365879;font-size:14px}.destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.destination-card{overflow:hidden;display:grid;grid-template-rows:190px auto auto;color:#062e5b;border:1px solid rgba(255,255,255,.9);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(3,49,92,.18);transition:transform .2s ease,box-shadow .2s ease}.destination-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(3,49,92,.26)}.destination-photo{display:block;width:100%;height:190px;padding:0;border:0;border-radius:0;background:#dbeaf6;overflow:hidden}.destination-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.destination-card:hover .destination-photo img{transform:scale(1.045)}.destination-info{position:relative;padding:18px 18px 12px;display:grid}.destination-info span{position:absolute;right:16px;top:18px;padding:5px 8px;border-radius:6px;background:#e7f2fb;color:#074c80;font-size:12px;font-weight:800}.destination-info strong{padding-right:58px;font-size:21px;line-height:1.15}.destination-info small{margin-top:5px;color:#567087;font-size:14px}.destination-search{margin:0 18px 18px;width:calc(100% - 36px);padding:12px 16px;border-radius:8px;background:#e20b24}.destination-search:hover,.destination-modal-search:hover{background:#bd071b}.destination-modal{position:fixed;z-index:1000;inset:0;padding:24px;display:none;align-items:center;justify-content:center;background:rgba(0,22,49,.76);backdrop-filter:blur(8px)}.destination-modal.is-open{display:flex}.destination-modal-dialog{position:relative;width:min(920px,100%);overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.45)}.destination-modal-image{display:block;width:100%;height:min(62vh,580px);object-fit:cover;background:#dce8f2}.destination-modal-close{position:absolute;z-index:2;right:16px;top:16px;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(3,38,75,.78);font-size:31px;line-height:1;color:#fff}.destination-modal-copy{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;gap:2px 14px;padding:20px 24px}.destination-modal-code{grid-row:1/3;padding:10px;border-radius:8px;background:#e7f2fb;color:#074c80;font-weight:800}.destination-modal-copy h2{margin:0;font-size:28px}.destination-modal-country{margin:0;color:#567087}.destination-modal-search{grid-column:3;grid-row:1/3;white-space:nowrap;background:#e20b24}.modal-open{overflow:hidden}
.aircraft-network{margin-top:42px}.section-heading{margin-bottom:18px}.section-heading>span,.visual-copy>span{font-size:12px;font-weight:800;letter-spacing:1.3px;color:#d90816}.section-heading h2{margin:5px 0 0;font-size:30px;text-shadow:0 1px 8px rgba(255,255,255,.9)}.aircraft-network-grid{display:grid;grid-template-columns:1fr;gap:24px}.visual-card{overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:18px;background:rgba(255,255,255,.93);box-shadow:0 14px 35px rgba(4,48,90,.18)}.visual-card img{display:block;width:100%}.network-card{display:grid;grid-template-rows:auto auto;overflow:visible;border:0;background:transparent;box-shadow:none}.network-card img{height:520px;object-fit:cover;border-radius:18px;filter:drop-shadow(0 16px 22px rgba(4,48,90,.25))}.network-card .visual-copy{padding:20px 0;background:transparent}.cabin-card{display:grid;grid-template-rows:auto auto;overflow:visible;border:0;background:transparent;box-shadow:none}.cabin-card .visual-copy{padding:20px 0;background:transparent}.cabin-card .visual-copy h3{font-size:32px}.cabin-card .visual-copy p{font-size:17px}.cabin-card img{width:100%;height:auto;margin:-17.45% 0;object-fit:contain;background:transparent;filter:drop-shadow(0 16px 20px rgba(4,48,90,.22))}.visual-copy{padding:20px 22px}.visual-copy h3{margin:5px 0 8px;font-size:24px}.visual-copy p{margin:0;color:#52657a;line-height:1.5}
.baggage-limits{margin-top:46px;padding:30px;border:1px solid rgba(255,255,255,.8);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 14px 35px rgba(4,48,90,.16)}.baggage-heading{text-align:center}.baggage-heading h2{font-size:30px;margin:5px 0 2px;text-shadow:none}.baggage-heading h3{margin:0;font-size:22px;letter-spacing:.4px}.limits-table-wrap{width:100%;max-width:100%;overflow-x:auto}.limits-table{min-width:640px;border-collapse:separate;border-spacing:0;border:1px solid #cbd8e5;border-radius:10px;overflow:hidden}.limits-table th,.limits-table td{padding:10px 12px;border-right:1px solid #cbd8e5;border-bottom:1px solid #cbd8e5;vertical-align:top;font-size:13px;line-height:1.35}.limits-table th{background:#e6f1f9;color:#062e5b;font-size:14px}.limits-table th:last-child,.limits-table td:last-child{border-right:0}.limits-table tbody tr:last-child td{border-bottom:0}.limits-two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-top:25px}.limit-card{min-width:0}.limit-card h3{font-size:19px;margin:0 0 12px}.limits-two-column .limits-table{width:100%;min-width:0;table-layout:fixed}.limits-two-column .limits-table th:first-child,.limits-two-column .limits-table td:first-child{width:43%}.limits-two-column .limits-table th,.limits-two-column .limits-table td{overflow-wrap:anywhere;word-break:normal}.battery-warning{margin-top:25px;padding:20px 22px;border-left:5px solid #d90816;border-radius:10px;background:#fff1f2;color:#51101a}.battery-warning strong{font-size:16px}.battery-warning p{margin:9px 0 0;font-size:14px;line-height:1.55;font-weight:600}
.promise-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:36px 0}.promise-row span{background:rgba(255,255,255,.88);backdrop-filter:blur(8px);border-radius:12px;padding:18px;box-shadow:0 6px 18px rgba(4,48,90,.12)}
.home-page footer{background:#062d58;margin-top:0}
@media(max-width:900px){.home-page nav{display:none}.home-page .hero-inner{grid-template-columns:1fr;min-height:auto}.route-cloud{min-height:160px}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.limits-two-column{grid-template-columns:1fr}.network-card img{height:420px}.cabin-card .visual-copy{padding:26px}.fleet-band>div{flex-wrap:wrap}.promise-row{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.home-page{background-attachment:scroll;background-position:58% top}.home-page .hero h1{font-size:46px}.home-page .hero-copy .tagline{position:static;transform:none;font-size:23px;text-align:left;margin-top:18px;padding:0;background:transparent}.destination-heading{align-items:flex-start;flex-direction:column;gap:6px}.destination-grid{grid-template-columns:1fr}.destination-card{grid-template-rows:210px auto auto}.destination-photo{height:210px}.destination-modal{padding:14px}.destination-modal-image{height:46vh}.destination-modal-copy{grid-template-columns:auto 1fr;padding:17px}.destination-modal-search{grid-column:1/3;grid-row:3;margin-top:13px}.network-card img{height:300px}.cabin-card .visual-copy h3{font-size:27px}.baggage-limits{padding:22px 16px}.baggage-heading h3{font-size:18px}.promise-row{grid-template-columns:1fr}.booking-tabs{overflow:auto}.route-cloud{display:none}.hero-aircraft-space{display:none}}

/* Online check-in */
.checkin-page{max-width:920px}.checkin-intro{font-size:16px;margin:-2px 0 24px}.checkin-form{grid-template-columns:1fr 1fr}.checkin-action{margin:20px 0 0}
.checkin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.checkin-heading h2{margin:4px 0 16px;font-size:30px}.checkin-status{padding:9px 13px;border-radius:999px;background:#fff1f2;color:#be123c;font-size:13px}.checkin-status.is-complete{background:#ecfdf5;color:#047857}
.checkin-flight-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.checkin-flight-grid div{border:1px solid var(--border);border-radius:10px;padding:14px}.checkin-flight-grid span{display:block;color:#6b7280;font-size:13px;margin-bottom:5px}.checkin-flight-grid strong{font-size:16px}.checkin-success{background:#ecfdf5;border-left-color:#059669}.checkin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.checkin-actions form{margin:0}
@media(max-width:700px){.checkin-form,.checkin-flight-grid{grid-template-columns:1fr 1fr}.checkin-heading{align-items:flex-start;flex-direction:column}.checkin-status{margin-bottom:12px}}
@media(max-width:460px){.checkin-form,.checkin-flight-grid{grid-template-columns:1fr}}

/* Jeddah places gallery */
.destination-modal-stage{position:relative}
.destination-modal-image{height:min(56vh,520px)}
.destination-place-name{position:absolute;left:20px;bottom:18px;padding:8px 13px;border-radius:8px;background:rgba(3,38,75,.84);color:#fff;font-size:15px;font-weight:800;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.destination-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;padding:10px;background:#eef5fb}
.destination-gallery[hidden]{display:none}
.destination-gallery button{height:76px;padding:0;overflow:hidden;border:3px solid transparent;border-radius:8px;background:#cbddea;opacity:.72}
.destination-gallery button:hover,.destination-gallery button.is-active{border-color:#e20b24;opacity:1}
.destination-gallery img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:520px){.destination-modal{padding:10px}.destination-modal-image{height:38vh}.destination-gallery{gap:5px;padding:7px}.destination-gallery button{height:55px}.destination-place-name{left:12px;bottom:10px;font-size:13px}}
