/*
Theme Name: Emara Airways
Theme URI: https://emaraairways.com
Author: Reliancy Kenya Limited
Author URI: https://reliancy.ai
Description: Zero-plugin private aviation, charter enquiry and fleet-management WordPress theme for Emara Airways Limited.
Version: 1.9.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: emara-airways
License: Proprietary
*/

:root {
  --emara-navy:#0B132B;
  --emara-gold:#C5A059;
  --emara-slate:#1C2541;
  --emara-white:#FFFFFF;
  --emara-soft:#F4F6F8;
}

/* Header visibility + support widgets — v1.2.1 */
:root{--emara-header-height:116px}.site-header{top:0!important}body.admin-bar .site-header{top:32px!important}.header-inner{height:var(--emara-header-height)!important;padding-block:12px!important}.brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;min-width:228px!important}.brand img{width:228px!important;max-height:none!important;height:auto!important;object-fit:contain!important;object-position:left center!important}.hero{padding-top:166px!important}section[id],footer[id],#charter-search{scroll-margin-top:calc(var(--emara-header-height) + 18px)}.emara-support-dock{position:fixed;z-index:180;right:22px;bottom:22px;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.emara-support-trigger{border:0;cursor:pointer;font-family:inherit;box-shadow:0 15px 36px rgba(5,18,33,.25);transition:transform .2s ease,box-shadow .2s ease}.emara-support-trigger:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(5,18,33,.3)}.emara-ai-fab{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;color:#0B132B;font-size:12px;font-weight:700;border:1px solid rgba(11,19,43,.08)}.emara-ai-fab .ai-spark{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#0B132B;color:#C5A059;font-size:15px}.emara-whatsapp-fab{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff}.emara-whatsapp-fab svg{width:29px;fill:currentColor}.whatsapp-fab{display:none!important}.emara-support-panel{position:fixed;z-index:190;right:22px;bottom:98px;width:min(360px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 130px));display:flex;flex-direction:column;background:#fff;color:#172033;border:1px solid rgba(11,19,43,.1);border-radius:20px;box-shadow:0 28px 72px rgba(3,12,31,.28);overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .18s ease,transform .18s ease,visibility .18s}.emara-support-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.emara-support-head{display:flex;align-items:center;gap:11px;padding:15px 16px;color:#fff;background:linear-gradient(135deg,#071126,#14294f)}.emara-support-head.whatsapp{background:linear-gradient(135deg,#128c4d,#25D366)}.emara-support-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:0 0 38px;background:rgba(255,255,255,.15);font-weight:700;color:#fff}.emara-support-avatar svg{width:22px;fill:currentColor}.emara-support-title{min-width:0;flex:1}.emara-support-title strong{display:block;font-size:13px;line-height:1.2}.emara-support-title span{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:10px;opacity:.82}.emara-support-title span:before{content:'';width:7px;height:7px;border-radius:50%;background:#7ef0ad}.emara-support-close{width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:21px;line-height:1;cursor:pointer}.emara-chat-body{min-height:190px;max-height:330px;overflow:auto;padding:16px;background:#f5f7fb;display:flex;flex-direction:column;gap:10px}.emara-chat-body.whatsapp-bg{background:#eef7f1}.emara-chat-msg{max-width:87%;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.5;box-shadow:0 2px 7px rgba(3,12,31,.05);white-space:pre-wrap}.emara-chat-msg.bot{align-self:flex-start;background:#fff;border-bottom-left-radius:5px}.emara-chat-msg.user{align-self:flex-end;background:#0B132B;color:#fff;border-bottom-right-radius:5px}.emara-chat-msg.whatsapp-user{align-self:flex-end;background:#d9fdd3;color:#172033;border-bottom-right-radius:5px}.emara-chat-time{display:block;margin-top:5px;font-size:9px;opacity:.55;text-align:right}.emara-chat-form{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid #e7eaf0}.emara-chat-form textarea,.emara-chat-form input{flex:1;min-width:0;height:42px;max-height:92px;resize:none;border:1px solid #dce1e8;border-radius:12px;padding:10px 12px;outline:none;font:inherit;font-size:12px;color:#172033;background:#fff}.emara-chat-form textarea:focus,.emara-chat-form input:focus{border-color:#C5A059;box-shadow:0 0 0 3px rgba(197,160,89,.12)}.emara-chat-send{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:12px;background:#0B132B;color:#fff;display:grid;place-items:center;cursor:pointer;font-size:17px}.emara-chat-send.whatsapp{background:#25D366}.emara-chat-note{padding:0 14px 12px;background:#fff;color:#7a8495;font-size:9px;line-height:1.45}.emara-quick-actions{display:flex;gap:6px;flex-wrap:wrap;padding:0 16px 12px;background:#f5f7fb}.emara-quick-actions button{border:1px solid #dce1e8;background:#fff;color:#35415a;border-radius:999px;padding:6px 9px;font:inherit;font-size:9px;font-weight:700;cursor:pointer}.emara-quick-actions button:hover{border-color:#C5A059;color:#7a581d}@media(max-width:782px){body.admin-bar .site-header{top:46px!important}}@media(max-width:760px){:root{--emara-header-height:86px}.header-inner{height:var(--emara-header-height)!important;padding-block:8px!important}.brand{min-width:0!important}.brand img{width:178px!important}.hero{padding-top:132px!important}.emara-support-dock{right:16px;bottom:16px}.emara-support-panel{right:16px;bottom:88px;width:calc(100vw - 32px);max-height:calc(100dvh - 125px)}.emara-ai-fab{min-height:40px;padding:0 13px}.emara-whatsapp-fab{width:54px;height:54px}}

/* --------------------------------------------------------------------------
   IQ200 — Corporate readability + charter search control refinement
   -------------------------------------------------------------------------- */
body{
  font-size:17px!important;
  line-height:1.7!important;
  color:#172033!important;
  text-rendering:optimizeLegibility;
}
body p:not(.eyebrow):not(.fleet-category):not(.form-status){
  font-size:16px!important;
  line-height:1.72!important;
}
body li{line-height:1.68!important}
h1,h2,h3,h4,h5,h6{letter-spacing:-.025em;text-wrap:balance}

/* Header search: brighter, larger, cleaner hierarchy. */
.emara-flight-search{
  border-color:#343a43!important;
  box-shadow:0 22px 56px rgba(0,0,0,.34)!important;
}
.emara-flight-field{
  padding-inline:18px!important;
}
.emara-flight-field span,
.emara-passenger-field>span{
  color:#b5bcc5!important;
  font-size:12px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  margin-bottom:8px!important;
}
.emara-flight-field span svg,
.emara-passenger-field>span svg{
  color:#d7b15f!important;
  fill:currentColor!important;
  opacity:1!important;
}
.emara-flight-field input{
  color:#fff!important;
  font-size:25px!important;
  font-weight:550!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}
.emara-flight-field input::placeholder{
  color:#c2c7ce!important;
  opacity:.9!important;
}
.emara-passenger-control output{
  font-size:26px!important;
  font-weight:700!important;
  color:#fff!important;
}
.emara-passenger-control button{
  color:#fff!important;
  border-color:#3c424a!important;
  background:#121519!important;
  font-weight:700!important;
}
.emara-trip-field strong{
  color:#fff!important;
  font-size:13px!important;
  font-weight:750!important;
}
.emara-trip-field small{
  color:#a4abb4!important;
  font-size:11px!important;
  font-weight:550!important;
}
.emara-language-select select{
  color:#f2f4f7!important;
  font-size:12px!important;
}

/* Dedicated airport swap/refresh control inspired by premium charter portals. */
.emara-swap-airports{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  background:#07090a!important;
  color:#071126!important;
  overflow:visible!important;
  isolation:isolate;
}
.emara-swap-airports svg{display:none!important}
.emara-swap-airports::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 7px 20px rgba(0,0,0,.24)!important;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.emara-swap-airports::after{
  content:"↻"!important;
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  color:#071126!important;
  font-family:Arial,sans-serif!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:900!important;
  transform:rotate(0deg)!important;
  transition:transform .22s ease!important;
}
.emara-swap-airports:hover::before,
.emara-swap-airports:focus-visible::before{
  background:#e0bd72!important;
  border-color:#e0bd72!important;
  transform:scale(1.06)!important;
  box-shadow:0 9px 24px rgba(197,160,89,.28)!important;
}
.emara-swap-airports:hover::after{transform:rotate(22deg)!important}
.emara-swap-airports:active::after{transform:rotate(180deg)!important}
.emara-swap-airports:focus-visible{outline:2px solid #e0bd72!important;outline-offset:-4px!important}

/* Submit arrow: heavy, geometrically centred and visually authoritative. */
.emara-header-submit{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
}
.emara-header-submit svg{
  display:block!important;
  width:34px!important;
  height:34px!important;
  margin:0!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  stroke-width:.7!important;
  stroke-linejoin:round!important;
  stroke-linecap:round!important;
  transform:translateX(1px) scale(1.08)!important;
}
.emara-header-submit:hover svg{transform:translateX(4px) scale(1.08)!important}
.emara-header-submit:focus-visible{outline:2px solid #fff!important;outline-offset:-5px!important}

/* Website-wide legibility: preserve hierarchy, remove washed-out body copy. */
.hero-lead{
  color:rgba(255,255,255,.9)!important;
  font-size:20px!important;
  line-height:1.72!important;
}
.hero-proof{color:rgba(255,255,255,.76)!important;font-size:13px!important}
.section-heading>p,
.routes-copy p:not(.eyebrow),
.service-card p,
.emara-content-box p{
  color:#4b586d!important;
  font-size:16px!important;
}
.service-card h3,.fleet-body h3{font-size:20px!important}
.service-card a,.text-link{font-size:13px!important}
.navy-section .section-heading>p,
.safety-copy>p:not(.eyebrow),
.cta-section p:not(.eyebrow),
.site-footer p,
.site-footer a{
  color:rgba(255,255,255,.8)!important;
}
.check-list li{color:rgba(255,255,255,.88)!important;font-size:14px!important}
.spec-grid small{color:rgba(255,255,255,.68)!important;font-size:10px!important}
.emara-drawer-link{font-size:19px!important;font-weight:600!important}
.emara-drawer-menu .sub-menu .emara-drawer-link{font-size:15px!important;color:#d0d4da!important}
.emara-drawer-support small{color:#a6adb6!important;font-size:10px!important}

@media(max-width:1280px){
  .emara-flight-field input{font-size:21px!important}
  .emara-swap-airports::before,
  .emara-swap-airports::after{width:40px!important;height:40px!important}
  .emara-swap-airports::after{font-size:23px!important}
}
@media(max-width:980px){
  .emara-header-submit::before{content:none!important}
  .emara-header-submit svg{display:block!important;width:30px!important;height:30px!important}
}
@media(max-width:760px){
  body{font-size:16px!important}
  body p:not(.eyebrow):not(.fleet-category):not(.form-status){font-size:15.5px!important}
}
