/* ==========================================================================
   GOANANDGO AVIATION LIMITED — shared stylesheet for every page.
   Edit the values in :root below to restyle the whole site at once.
   ========================================================================== */

:root{
  --brand:        #0b6bcb;   /* primary brand colour (buttons, links, accents) */
  --brand-dark:   #084d94;   /* darker shade, used on hover                    */
  --ink:          #10192b;   /* main text colour                               */
  --ink-soft:     #5a677d;   /* secondary / paragraph text                     */
  --line:         #e2e8f0;   /* border + divider colour                        */
  --bg:           #ffffff;   /* page background                                */
  --bg-soft:      #f5f8fc;   /* alternating section background                 */
  --navy:         #0d1b2a;   /* dark sections (hero, footer)                   */
  --radius:       14px;      /* corner rounding                                */
  --maxw:         1140px;    /* max content width                              */
  --header-h:     76px;      /* sticky header height (desktop)                 */
  --gut:          24px;      /* page side gutter                               */
  --font:         "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;   /* stop iOS inflating text in landscape */
  text-size-adjust:100%;
  /* The mobile nav drawer is parked off-screen at translateX(100%), which would
     otherwise widen the document and let phones scroll sideways. Clipping here
     stops that; `clip` is preferred because — unlike `hidden` — it does not turn
     <html> into a scroll container, so the sticky header keeps working.
     `hidden` is listed first as the fallback for Safari below 16.            */
  overflow-x:hidden;
  overflow-x:clip;
}
body{
  font-family:var(--font);color:var(--ink);background:var(--bg);
  line-height:1.65;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  overflow-x:clip;
}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none;-webkit-tap-highlight-color:rgba(11,107,203,.15)}
button,a{touch-action:manipulation}  /* kill the 300ms tap delay */

.wrap{
  width:100%;max-width:var(--maxw);margin:0 auto;
  padding-inline:max(var(--gut), env(safe-area-inset-left), env(safe-area-inset-right));
}
section{padding:88px 0}
.alt{background:var(--bg-soft)}

/* anchors must clear the sticky header when jumped to */
[id]{scroll-margin-top:calc(var(--header-h) + 12px)}

/* visible focus ring for keyboard users, invisible for mouse users */
:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  padding-top:env(safe-area-inset-top);
}
.bar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);min-width:0}
.mark{width:40px;height:40px;flex:none;border-radius:10px;background:var(--brand);display:grid;place-items:center}
.mark svg{width:24px;height:24px;fill:#fff}
/* COMPANY NAME — bold, top of header */
.brand-name{font-size:clamp(1rem,3.4vw,1.35rem);font-weight:800;letter-spacing:-.02em;line-height:1.15;text-transform:uppercase}
.brand-name small{display:block;font-size:.62rem;font-weight:600;letter-spacing:.22em;color:var(--ink-soft);text-transform:uppercase}

nav{display:flex;align-items:center;gap:clamp(14px,2.2vw,30px)}
nav a{color:var(--ink-soft);font-size:.94rem;font-weight:600;white-space:nowrap}
nav a:hover{color:var(--brand)}
nav a[aria-current="page"]{color:var(--brand)}

.btn{
  display:inline-block;padding:12px 24px;border-radius:999px;font-weight:700;font-size:.94rem;
  background:var(--brand);color:#fff;border:2px solid var(--brand);transition:.2s;text-align:center;
  min-height:44px;                  /* comfortable touch target */
}
.btn:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn.ghost:hover{background:#fff;color:var(--navy);border-color:#fff}
.btn.small{padding:9px 18px;font-size:.86rem;min-height:40px}
.btn.outline{background:transparent;color:var(--brand)}
.btn.outline:hover{background:var(--brand);color:#fff}

.menu-btn{
  display:none;background:none;border:0;color:var(--ink);cursor:pointer;line-height:1;
  width:48px;height:48px;margin-right:-10px;font-size:1.6rem;   /* 48px touch target */
  align-items:center;justify-content:center;
}
.nav-backdrop{
  display:none;position:fixed;inset:0;z-index:55;background:rgba(13,27,42,.45);
  opacity:0;transition:opacity .2s;
}
.nav-backdrop.show{display:block;opacity:1}

/* ---------- hero ---------- */
.hero{position:relative;color:#fff;background:var(--navy);overflow:hidden;padding:0}
.hero::before{content:"";position:absolute;inset:0;background:
  radial-gradient(900px 480px at 78% 12%, rgba(11,107,203,.55), transparent 60%),
  linear-gradient(180deg, rgba(13,27,42,.55), rgba(13,27,42,.96));}
.hero-inner{position:relative;padding:clamp(64px,11vw,118px) 0 clamp(56px,10vw,104px);max-width:720px}
.eyebrow{display:inline-block;padding:7px 15px;border-radius:999px;border:1px solid rgba(255,255,255,.3);font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-bottom:22px}
.hero h1{font-size:clamp(1.95rem,6vw,3.6rem);font-weight:800;line-height:1.12;letter-spacing:-.03em;margin-bottom:20px}
.hero p{font-size:clamp(1rem,2.6vw,1.12rem);color:#cdd8e6;margin-bottom:34px;max-width:600px}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px}
.hero-cta .btn{flex:1 1 auto}

/* compact hero used by the inner pages */
.hero.slim .hero-inner{padding:clamp(48px,8vw,76px) 0;max-width:780px}
.crumbs{font-size:.85rem;color:#9fb8d4;margin-bottom:14px}
.crumbs a{color:#9fb8d4}
.crumbs a:hover{color:#fff}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat .n{font-size:clamp(1.7rem,5vw,2.4rem);font-weight:800;color:var(--brand);letter-spacing:-.02em;line-height:1.2}
.stat .l{font-size:clamp(.74rem,2vw,.86rem);color:var(--ink-soft);font-weight:600;text-transform:uppercase;letter-spacing:.08em}

/* ---------- headings ---------- */
.head{max-width:660px;margin-bottom:52px}
.head .kicker,.kicker{font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--brand);margin-bottom:12px}
.head h2,.h2{font-size:clamp(1.55rem,4.2vw,2.5rem);font-weight:800;letter-spacing:-.025em;line-height:1.18;margin-bottom:14px}
.head p{color:var(--ink-soft);font-size:clamp(.98rem,2.4vw,1.05rem)}

/* ---------- cards ---------- */
.grid{display:grid;gap:26px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,32px);transition:.22s}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(16,25,43,.09);border-color:#cfe0f5}
.icon{width:48px;height:48px;border-radius:12px;background:#e8f1fd;display:grid;place-items:center;margin-bottom:20px}
.icon svg{width:26px;height:26px;fill:var(--brand)}
.card h3{font-size:1.2rem;font-weight:700;margin-bottom:10px}
.card p{color:var(--ink-soft);font-size:.97rem}

/* ---------- fleet ---------- */
.fleet{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.plane{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.photo{height:186px;display:grid;place-items:center;background:linear-gradient(135deg,#0d1b2a,#1b4a7a)}
.photo svg{width:96px;height:96px;fill:rgba(255,255,255,.9)}
.plane-body{padding:clamp(20px,3.5vw,26px)}
.plane h3{font-size:1.15rem;font-weight:700;margin-bottom:4px}
.plane .type{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:16px}
.specs{list-style:none;font-size:.93rem;color:var(--ink-soft)}
.specs li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line)}
.specs li:last-child{border:0}
.specs b{color:var(--ink);font-weight:600;text-align:right}

/* ---------- about ---------- */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.checks{list-style:none;margin-top:24px}
.checks li{position:relative;padding:9px 0 9px 34px;color:var(--ink-soft)}
.checks li::before{content:"";position:absolute;left:0;top:15px;width:18px;height:18px;border-radius:50%;background:var(--brand);
  -webkit-mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat #fff;
  mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat}
.panel{background:var(--navy);color:#fff;border-radius:var(--radius);padding:clamp(26px,5vw,40px)}
.panel h3{font-size:1.3rem;font-weight:700;margin-bottom:8px}
.panel p{color:#b9c6d6;font-size:.97rem;margin-bottom:26px}
.mini{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.mini .n{font-size:1.7rem;font-weight:800;color:#63aef5}
.mini .l{font-size:.82rem;color:#9fb0c4}

/* ---------- testimonials ---------- */
.quote{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,32px)}
.quote p{font-size:1.02rem;font-style:italic;color:var(--ink);margin-bottom:22px}
.who{display:flex;align-items:center;gap:13px}
.avatar{width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.who b{display:block;font-size:.95rem}
.who span{font-size:.85rem;color:var(--ink-soft)}

/* ==========================================================================
   DIRECTORS — board page
   ========================================================================== */
.board{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}

.dir{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;
  display:flex;flex-direction:column;transition:.22s;
}
.dir:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(16,25,43,.09);border-color:#cfe0f5}

/* PHOTO FRAME — drop a real photo in and it replaces the initials automatically.
   Portrait crop, 4:5. Recommended upload: 800 x 1000 px JPG.               */
.dir-photo{
  position:relative;aspect-ratio:4/5;background:linear-gradient(150deg,#123a63,#0d1b2a);
  display:grid;place-items:center;overflow:hidden;
}
.dir-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.dir-initials{font-size:clamp(2.4rem,9vw,3.2rem);font-weight:800;color:rgba(255,255,255,.9);letter-spacing:.02em}
.dir-photo::after{        /* soft vignette so text over the photo stays readable */
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,rgba(13,27,42,.35));
}

.dir-body{padding:clamp(20px,3.5vw,28px);display:flex;flex-direction:column;flex:1}
.dir-body h3{font-size:clamp(1.05rem,2.8vw,1.2rem);font-weight:800;letter-spacing:-.01em;line-height:1.25}
.dir-role{font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);margin:6px 0 14px}
.dir-bio{color:var(--ink-soft);font-size:.95rem;margin-bottom:18px}
.dir-meta{list-style:none;font-size:.9rem;margin-top:auto;border-top:1px solid var(--line);padding-top:14px}
.dir-meta li{display:flex;justify-content:space-between;gap:12px;padding:5px 0}
.dir-meta span{color:var(--ink-soft)}
.dir-meta b{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}

/* ==========================================================================
   LICENCES — registrations & documents page
   ========================================================================== */

/* key-value registry table, scrolls on its own if ever too wide */
.reg-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.reg{width:100%;border-collapse:collapse;font-size:clamp(.9rem,2.3vw,.97rem)}
.reg th,.reg td{text-align:left;padding:15px clamp(16px,3vw,22px);border-bottom:1px solid var(--line);vertical-align:top}
.reg tr:last-child th,.reg tr:last-child td{border-bottom:0}
.reg th{font-weight:600;color:var(--ink-soft);width:42%;white-space:nowrap}
.reg td{font-weight:700;font-variant-numeric:tabular-nums;word-break:break-word}

.docs{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.doc{
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
  padding:clamp(22px,4vw,30px);display:flex;flex-direction:column;transition:.22s;
}
.doc:hover{box-shadow:0 16px 40px rgba(16,25,43,.09);border-color:#cfe0f5}
.doc-top{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}
.doc-ico{
  width:46px;height:46px;flex:none;border-radius:11px;background:#e8f1fd;
  display:grid;place-items:center;font-size:.62rem;font-weight:800;color:var(--brand);letter-spacing:.06em;
}
.doc h3{font-size:clamp(1rem,2.6vw,1.14rem);font-weight:700;line-height:1.3}
.doc .issuer{font-size:.84rem;color:var(--ink-soft);margin-top:3px}
.doc-meta{list-style:none;font-size:.9rem;margin-bottom:20px}
.doc-meta li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line)}
.doc-meta li:last-child{border:0}
.doc-meta span{color:var(--ink-soft)}
.doc-meta b{font-weight:600;text-align:right;word-break:break-word}
.doc-foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* status pills */
.pill{
  display:inline-flex;align-items:center;gap:7px;padding:5px 13px;border-radius:999px;
  font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.pill.ok{background:#e6f6ec;color:#1a7f45}
.pill.hold{background:#fff4e0;color:#95601a}
.pill.na{background:#eef1f6;color:#5a677d}

/* callout box for the regulatory-scope note */
.note-box{
  border:1px solid #ffe0b2;background:#fffaf1;border-radius:var(--radius);
  padding:clamp(20px,3.5vw,26px);display:flex;gap:16px;align-items:flex-start;
}
.note-box .bang{
  width:34px;height:34px;flex:none;border-radius:50%;background:#f0a02a;color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:1.05rem;
}
.note-box h3{font-size:1.05rem;font-weight:700;margin-bottom:6px}
.note-box p{color:#7a6547;font-size:.95rem}

/* ---------- contact ---------- */
.contact{display:grid;grid-template-columns:1fr 1.15fr;gap:56px}
.info li{list-style:none;display:flex;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}
.info b{display:block;font-size:.98rem;word-break:break-word}
.info span{color:var(--ink-soft);font-size:.94rem}
form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,34px)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
label{display:block;font-size:.85rem;font-weight:700;margin:0 0 7px}
input,select,textarea{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:9px;
  font:inherit;font-size:16px;          /* 16px stops iOS Safari zooming on focus */
  margin-bottom:18px;background:#fbfcfe;min-height:46px;
}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
textarea{min-height:118px;resize:vertical}
form .btn{width:100%;border:0;cursor:pointer;padding:14px}
.note{margin-top:14px;font-size:.85rem;color:var(--ink-soft);text-align:center}

/* ---------- footer ---------- */
footer{
  background:var(--navy);color:#9fb0c4;padding:60px 0 28px;
  padding-bottom:calc(28px + env(safe-area-inset-bottom));
}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12)}
footer .brand-name{color:#fff}
footer h4{color:#fff;font-size:.95rem;font-weight:700;margin-bottom:14px}
footer ul{list-style:none}
footer li{padding:5px 0;font-size:.92rem;word-break:break-word}
footer a{color:#9fb0c4}
footer a:hover{color:#fff}
.copy{padding-top:22px;text-align:center;font-size:.87rem}
.legal-line{font-size:.84rem;color:#7d8ea3;padding-top:10px;text-align:center}

/* ==========================================================================
   RESPONSIVE — mobile first fixes, largest breakpoint down
   ========================================================================== */

/* tablets and below */
@media(max-width:1000px){
  .docs{grid-template-columns:1fr}
  .board{grid-template-columns:repeat(2,1fr)}
  .fgrid{grid-template-columns:1fr 1fr;gap:28px}
}

@media(max-width:900px){
  .g3,.fleet,.split,.contact{grid-template-columns:1fr}
  .g2{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr;gap:20px}
  section{padding:clamp(44px,9vw,64px) 0}
  .split,.contact{gap:36px}
  .head{margin-bottom:36px}

  /* The blur must go on mobile: any backdrop-filter other than `none` turns the
     header into a containing block for fixed-position descendants, which would
     trap the drawer below inside the header's own 70-odd pixels of height.     */
  header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}

  /* off-canvas navigation drawer */
  .menu-btn{display:flex}
  nav{
    position:fixed;top:0;right:0;bottom:0;z-index:70;
    width:min(320px,86vw);
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
    background:#fff;border-left:1px solid var(--line);
    padding:calc(20px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    box-shadow:-14px 0 40px rgba(13,27,42,.16);
    transform:translateX(100%);transition:transform .26s ease;
    overflow-y:auto;overscroll-behavior:contain;
    visibility:hidden;
  }
  nav.open{transform:translateX(0);visibility:visible}
  nav a{
    display:flex;align-items:center;min-height:52px;   /* generous tap targets */
    padding:6px 0;border-bottom:1px solid var(--line);font-size:1.02rem;color:var(--ink);
  }
  nav .btn{justify-content:center;margin-top:18px;border-bottom:0;min-height:50px;padding:14px 24px}
  body.nav-open{overflow:hidden}                        /* freeze page behind drawer */
}

/* phones */
@media(max-width:640px){
  :root{--gut:18px;--header-h:66px}
  .board{grid-template-columns:1fr;gap:20px}
  .fgrid{grid-template-columns:1fr;gap:26px;text-align:left}
  .mark{width:36px;height:36px}
  .mark svg{width:21px;height:21px}
  /* the strapline costs a whole line in the header on a phone — footer keeps it */
  .bar .brand-name small{display:none}
  .brand-name small{letter-spacing:.16em;font-size:.58rem}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .grid,.fleet,.docs{gap:18px}
  .photo{height:158px}
  .photo svg{width:76px;height:76px}
  .mini{gap:18px}

  /* on a phone the board photos read better wide than tall */
  .dir-photo{aspect-ratio:3/2}
  .dir-photo img{object-position:center 22%}

  /* stack the registry table into label/value rows — no side scrolling */
  .reg-wrap{border:0;background:transparent;overflow:visible}
  .reg,.reg tbody,.reg tr,.reg th,.reg td{display:block;width:auto}
  .reg tr{
    background:#fff;border:1px solid var(--line);border-radius:12px;
    padding:14px 18px;margin-bottom:12px;
  }
  .reg tr:last-child{margin-bottom:0}
  .reg th,.reg td{padding:0;border:0;white-space:normal}
  .reg th{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .reg td{font-size:1rem}

  .doc-foot .btn{width:100%}
  .note-box{flex-direction:column;gap:12px}
}

@media(max-width:420px){
  .stats{grid-template-columns:1fr 1fr;gap:16px}
  .row{grid-template-columns:1fr}
  .specs li,.dir-meta li,.doc-meta li{flex-direction:column;gap:0}
  .specs b,.dir-meta b,.doc-meta b{text-align:left}
}

/* respect the OS "reduce motion" setting */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  .card:hover,.dir:hover{transform:none}
}

/* ---------- print: make the licences page printable ---------- */
@media print{
  header,nav,.menu-btn,footer,.hero-cta,.nav-backdrop{display:none !important}
  body{color:#000}
  .hero{background:#fff;color:#000}
  .hero::before{display:none}
  .doc,.dir,.reg-wrap{break-inside:avoid;box-shadow:none}
  section{padding:18px 0}
}
