/* ==========================================================================
   Global Sat LLC — site stylesheet
   Brand colors sampled from the logo: navy #002060, gold #f0c858, red #f81820
   ========================================================================== */

:root {
  --navy: #002060;
  --navy-deep: #00143d;
  --navy-soft: #0e3a8f;
  --gold: #f0c858;
  --gold-deep: #cf9f1f;
  --red: #e5141c;
  --red-deep: #b80e15;
  --ink: #1b2432;
  --muted: #5c6675;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --line: #e2e6ee;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0, 32, 96, 0.08);
  --shadow-lg: 0 18px 50px rgba(0, 32, 96, 0.16);
  --radius: 14px;
  --container: 1180px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}

.lead { font-size: 1.15rem; color: var(--muted); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #f6d475; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; }

.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover { text-decoration: none; color: var(--red); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep); color: #d7deeb; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar a { color: #fff; font-weight: 500; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: inline-block; padding: .6rem .9rem; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .98rem;
}
.nav a:hover { background: var(--bg-alt); text-decoration: none; color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: .75rem; padding: .6rem 1.2rem; }
.nav .btn:hover { box-shadow: none; transform: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-deep) url("../images/dishes-desert.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,20,61,.92) 0%, rgba(0,32,96,.72) 55%, rgba(0,32,96,.35) 100%);
}
.hero .container { position: relative; padding: clamp(5rem, 12vw, 9.5rem) 0; max-width: 860px; margin-left: max(1rem, (100% - var(--container)) / 2); }
.hero h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--gold); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 640px; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.page-hero { background-image: url("../images/dish-tower.jpg"); background-position: center 40%; }
.page-hero .container { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.page-hero--automation { background-image: url("../images/playbox-blue.jpg"); background-position: center 40%; }
.page-hero--contact { background-image: url("../images/dishes-desert.jpg"); background-position: center 60%; }

/* Stats strip ------------------------------------------------------------ */
.stats { background: var(--navy); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { padding: 1.5rem 1rem; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold); line-height: 1.1; }
.stat__label { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: .3rem; }

/* Two-column intro --------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.pull-quote {
  margin: 1.5rem 0 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--gold);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem; font-weight: 500; color: var(--navy);
}

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.card__body > :last-child { margin-top: auto; padding-top: .6rem; }
.card h3 { margin-bottom: .2rem; }

.service-card .card__media { aspect-ratio: 5 / 3; }

/* Check list ------------------------------------------------------------- */
.checklist li { position: relative; padding-left: 1.9rem; margin: .45rem 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23002060' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.checklist--2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }

/* Value tiles ------------------------------------------------------------ */
.value {
  padding: 1.8rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}
.value__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1rem;
}
.value__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.15rem; }
.value p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Platform chips (home) -------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--navy);
}
.chip:hover { border-color: var(--gold); background: #fff8e1; text-decoration: none; }

/* CTA band --------------------------------------------------------------- */
.cta {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft)); color: #fff;
}
.cta .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { margin: 0; color: rgba(255,255,255,.82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta__phone { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); font-weight: 700; }

/* Platform cards (satellites page) ---------------------------------------- */
.platform .card__media { aspect-ratio: 1164 / 682; background: #eaf0f6; }
.platform__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #163c8f 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.platform__placeholder svg { width: 54%; height: 54%; }
.platform__pos { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

/* Feature rows (automation page) ----------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature--flip .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.feature__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1rem; }
.feature__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.6rem; }

/* Contact ---------------------------------------------------------------- */
.person { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center; padding: 1.5rem; }
.person img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg-alt); }
.person__role { font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); }
.person h3 { margin: .2rem 0 .5rem; }
.person ul li { margin: .25rem 0; display: flex; gap: .55rem; align-items: center; }
.person ul svg { width: 16px; height: 16px; fill: var(--navy); flex: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.form-card { padding: 2rem; }
.form-card h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid #cfd6e2; border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.form-status { margin-top: .8rem; font-size: .95rem; font-weight: 500; color: var(--navy); min-height: 1.2em; }

.address-card { padding: 0; }
.address-card__body { padding: 1.6rem 1.8rem; }
.address-card ul li { display: flex; gap: .7rem; align-items: flex-start; margin: .55rem 0; }
.address-card ul svg { width: 18px; height: 18px; fill: var(--navy); flex: none; margin-top: .25rem; }
.map { aspect-ratio: 4 / 3; width: 100%; border: 0; display: block; filter: saturate(.9); }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: .8rem; }
.footer li { margin: .35rem 0; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--navy); }
.footer p { color: var(--muted); }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .85rem;
}

/* Misc ------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.error-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.error-page .code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); color: var(--gold); line-height: 1; }

/* Reveal animation ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .5rem 1rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .6rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 1rem; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; border-bottom: 0; }
  .split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .split__media { order: -1; }
  .checklist--2col { grid-template-columns: 1fr; }
  .topbar__item--hide-sm { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header .container { min-height: 70px; }
  .brand img { height: 44px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .person ul li { justify-content: center; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat:first-child { border-top: 0; }
  .cta .container { flex-direction: column; align-items: flex-start; }
}

@media print {
  .header, .topbar, .nav-toggle, .cta, .hero__actions { display: none !important; }
  .hero { background: none; color: #000; }
  .hero::before { display: none; }
  .hero h1 { color: #000; }
}

/* Honeypot field: kept off-screen for people, visible to spam bots */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
#recaptcha:empty { display: none; }
