/* GREA blue-sky and radiant-sun identity. Scoped to the existing alliance page. */
:root {
  --sky-blue: #0877c2;
  --sky-deep: #063a70;
  --sun-gold: #ffe18a;
}

body { background: #eff8fe; }

.utility-bar {
  background: #052e59;
  border-bottom-color: rgba(255,255,255,.22);
  color: #d6ecfc;
}
.utility-right { color: #ffe19a; }
.site-header {
  background: linear-gradient(105deg, #07477f 0%, #08619f 68%, #0a70ae 100%);
  border-bottom: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 4px 18px rgba(2,36,66,.12);
}
.nav a { color: #e6f5ff; }
.nav a:hover { color: #ffe18a; }
.identity-copy small { color: #cdeaff; }
.language { border-color: rgba(255,255,255,.44); }

/* Return controls remain in reach on both desktop and mobile. */
.return-navigation {
  position: sticky;
  top: 0;
  z-index: 9;
  background: #062e57;
  color: #eaf6ff;
  border-bottom: 1px solid rgba(255,225,154,.4);
  box-shadow: 0 5px 18px rgba(1,27,52,.22);
}
.return-navigation-inner {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.return-navigation-title {
  color: #d1e7f6;
  font: 700 10px Manrope,sans-serif;
  letter-spacing: .19em;
}
.return-navigation-actions { display: flex; align-items: center; gap: 10px; }
.return-navigation-back, .return-navigation-main {
  min-height: 39px;
  padding: 9px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(219,238,252,.7);
  background: rgba(255,255,255,.07);
  color: #f4faff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.return-navigation-back:hover, .return-navigation-main:hover { transform: translateY(-1px); }
.return-navigation-back:hover { background: rgba(255,255,255,.2); }
.return-navigation-main {
  background: #ffdb83;
  color: #133654;
  border-color: #ffdb83;
}
.return-navigation-main:hover { background: #ffe9b1; }

.hero {
  background: linear-gradient(120deg, #07529a, #26a0e2);
  color: #fff;
  min-height: 704px;
}
.hero-image {
  background-image:
    linear-gradient(90deg, rgba(2,40,80,.92) 0%, rgba(3,53,101,.82) 25%, rgba(3,66,119,.56) 46%, rgba(5,74,120,.15) 69%, rgba(2,60,100,.04) 100%),
    linear-gradient(0deg, rgba(2,41,70,.48) 0%, transparent 28%),
    url('/grea-sky-hero.png');
  background-position: center, center, center 49%;
  background-size: cover;
  filter: none;
}
.hero-grain {
  background: radial-gradient(ellipse at 81% 31%, rgba(255,236,159,.13), transparent 39%);
}
.hero-main { min-height: 636px; }
.hero-content { max-width: 740px; }
.hero-kicker { color: #ffe9ab; text-shadow: 0 1px 9px rgba(0,34,66,.6); }
.hero h1 {
  color: #fff;
  text-shadow: 0 3px 20px rgba(2,29,56,.5);
}
.hero-gold, .hero .period { color: #ffe8a3; }
.hero-desc { color: #edf8ff; text-shadow: 0 1px 13px rgba(0,34,66,.75); }
.hero .btn-outline {
  background: rgba(3,54,98,.48);
  border-color: rgba(230,247,255,.85);
  backdrop-filter: blur(6px);
}
.hero .btn-outline:hover { background: rgba(4,65,118,.78); }
.hero-aside {
  visibility: visible;
  flex: 0 0 min(38%, 420px);
  min-width: 320px;
  min-height: 370px;
  align-items: center;
}
.hero-link-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255,232,165,.66);
  border-radius: 12px;
  background: rgba(4,43,79,.58);
  box-shadow: 0 18px 48px rgba(0,25,54,.26);
  backdrop-filter: blur(9px);
}
.hero-link-heading { display: flex; flex-direction: column; gap: 5px; padding: 0 4px 5px; }
.hero-link-heading span { color: #ffe9ab; font: 800 10px Manrope,sans-serif; letter-spacing: .18em; }
.hero-link-heading strong { color: #fff; font-size: 19px; letter-spacing: .02em; }
.hero-portal-link {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  color: #fff;
  border: 1px solid rgba(225,242,255,.48);
  border-radius: 8px;
  background: rgba(8,84,139,.42);
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.hero-portal-link:hover, .hero-portal-link:focus-visible {
  transform: translateY(-2px);
  border-color: #ffe18a;
  background: rgba(9,101,164,.72);
  box-shadow: 0 8px 22px rgba(0,24,54,.24);
  outline: none;
}
.hero-portal-icon { width: 34px; flex: 0 0 34px; color: #ffe18a; font-size: 26px; text-align: center; }
.hero-portal-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hero-portal-copy strong { color: #fff; font-size: 15px; line-height: 1.35; }
.hero-portal-copy small { color: #d8ebfa; font: 700 9px/1.45 Manrope,sans-serif; letter-spacing: .09em; }
.hero-portal-arrow { flex: 0 0 auto; color: #ffe18a; font-size: 21px; font-weight: 800; }
.hero-foot { color: #eaf6ff; border-top-color: rgba(255,255,255,.44); }
.hero-independence { color: #fff6ce; }
.hero-visit-counter {
  background: rgba(4,48,89,.76);
  border-color: rgba(255,232,165,.88);
  backdrop-filter: blur(9px);
}

.bridge-strip {
  background: linear-gradient(100deg, #ffdc83, #ffe8aa 61%, #f8cb6d);
  border-bottom: 1px solid rgba(174,118,22,.2);
}
.mission { background: linear-gradient(180deg, #f5fbff 0%, #e8f6fc 100%); }
.sectors { background: #07345a; }
.closing {
  background-image:
    linear-gradient(90deg, rgba(3,42,77,.96), rgba(4,63,107,.84)),
    url('/grea-sky-hero.png');
  background-position: center, center 58%;
  background-size: cover;
}

@media (max-width: 980px) {
  .hero-main { flex-direction: column; align-items: stretch; gap: 24px; padding-top: 40px; padding-bottom: 38px; }
  .hero-aside { display: flex; width: 100%; min-width: 0; min-height: 0; flex: 0 0 auto; }
  .hero-link-panel { max-width: 560px; }
  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(3,45,86,.89), rgba(3,58,105,.54) 55%, rgba(4,64,110,.12)),
      linear-gradient(0deg, rgba(4,44,79,.5), transparent 35%),
      url('/grea-sky-hero.png');
    background-position: center, center, 73% center;
  }
}

@media (max-width: 700px) {
  .return-navigation-title { display: none; }
  .return-navigation-inner { min-height: 57px; }
  .return-navigation-actions { width: 100%; gap: 8px; }
  .return-navigation-back, .return-navigation-main {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 9px 8px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
  .site-header { background: linear-gradient(100deg,#074276,#0879b9); }
  .hero { min-height: 660px; }
  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(3,45,86,.84), rgba(3,63,117,.55)),
      linear-gradient(0deg, rgba(2,39,74,.73), transparent 55%),
      url('/grea-sky-hero.png');
    /* Keep the sun visible near the right edge of narrow portrait screens. */
    background-position: center, center, 86% center;
  }
  .hero-main { min-height: 590px; }
  .hero-aside { display: flex; width: 100%; }
  .hero-link-panel { gap: 9px; padding: 14px; }
  .hero-portal-link { min-height: 64px; padding: 10px 11px; }
  .hero-link-heading strong { font-size: 17px; }
  .hero-portal-copy strong { font-size: 14px; }
  .hero h1 { text-shadow: 0 2px 16px rgba(0,29,60,.6); }
  .hero-desc { color: #f3faff; }
  .hero-foot { background: rgba(3,46,90,.18); }
}

/* Independent case-directory link placed below the Quick Access panel. */
.hero-aside { flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; }
.hero-link-panel { width: 100%; }
.hero-sales-feature { width: 100%; min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 15px 19px; border: 1px solid rgba(255,229,158,.9); border-radius: 9px; color: #16394f; text-decoration: none; background: linear-gradient(110deg, #fff1c4, #f5cf75); box-shadow: 0 12px 28px rgba(0,33,64,.2); transition: transform .18s, box-shadow .18s; }
.hero-sales-feature:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,33,64,.27); }
.hero-sales-feature-icon { flex: none; color: #a96f00; font-size: 27px; }
.hero-sales-feature-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.hero-sales-feature-copy strong { color: #203e50; font-size: 16px; font-weight: 850; }
.hero-sales-feature-copy small { color: #536a73; font-size: 11px; letter-spacing: .04em; }
.hero-sales-feature-arrow { flex: none; color: #9a690c; font-size: 23px; font-weight: 800; }
@media (max-width: 980px) { .hero-aside { align-items: center; gap: 12px; } .hero-link-panel, .hero-sales-feature { width: min(100%, 560px); } }
@media (max-width: 640px) { .hero-sales-feature { min-height: 72px; padding: 12px 14px; } .hero-sales-feature-copy strong { font-size: 14px; } .hero-sales-feature-copy small { font-size: 10px; } }
