
/* =========================================================
   GY6 SERVICES WEBSITE
   Clean rebuild with organized sections and local assets only.
   ========================================================= */

/* 01. DESIGN TOKENS / COLOR SYSTEM */
:root {
  --blue: #3D78A6;
  --charcoal: #232A31;
  --cream: #F4F1EA;
  --tan: #BFA47A;
  --gold: #BFA47A;
  --gold2: #C6B39A;
  --grayblue: #8D98A5;
  --navy: #152334;
  --panel: #2E465B;
  --panel2: #496C88;
  --white: #FFFFFF;
  --ink: #20272E;
  --muted: #DCE5ED;
  --line: rgba(255,255,255,.16);
  --tan-line: rgba(191,164,122,.34);
  --dark-line: rgba(35,42,49,.14);
  --max: 1180px;
  --head: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
}

/* 02. RESET / BASE */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--white);
  background:
    linear-gradient(rgba(191,164,122,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,164,122,.03) 1px, transparent 1px),
    linear-gradient(180deg, #213646, var(--charcoal));
  background-size: 52px 52px, 52px 52px, auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* 03. TYPOGRAPHY */
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: .98; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(25px, 2.1vw, 34px); }
p { line-height: 1.65; }
.lead { font-size: clamp(18px, 1.7vw, 23px); color: var(--muted); max-width: 720px; }
.eyebrow { color: var(--tan); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 14px; }
.center { text-align: center; }
.text-link { color: var(--tan); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

/* 04. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  background: linear-gradient(180deg, #CDB48C, var(--tan));
  color: var(--charcoal); border: 1px solid rgba(0,0,0,.06);
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(35,42,49,.10);
}
.btn-ghost { background: rgba(255,255,255,.06); color: var(--cream); border: 1px solid rgba(244,241,234,.28); }
.btn:hover { transform: translateY(-1px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center-btn { text-align: center; margin-top: 30px; }

/* 05. HEADER / NAVIGATION */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(135deg, rgba(43,57,70,.96) 0%, rgba(61,120,166,.94) 52%, rgba(141,152,165,.92) 100%); backdrop-filter: blur(14px); border-bottom: 1px solid var(--tan-line); box-shadow: 0 8px 18px rgba(35,42,49,.12); }
.header-row { height: 82px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 22px; align-items: center; }
.brand-full { width: 205px; max-height: 60px; object-fit: contain; }
.brand-mobile { display: none; width: 48px; height: 48px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); align-items: center; }
.desktop-nav a, .mobile-nav a:not(.btn) { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--tan); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--tan-line); color: var(--cream); border-radius: 8px; padding: 10px 12px; }
.mobile-nav { display: none; }

/* 06. HERO SECTIONS */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 18%, rgba(191,164,122,.14), transparent 26%), linear-gradient(135deg, #2B3946 0%, var(--blue) 52%, var(--grayblue) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(191,164,122,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(191,164,122,.04) 1px, transparent 1px); background-size: 52px 52px; opacity: .45; pointer-events: none; }
.hero-grid, .page-hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 48px; }
.hero-grid { min-height: 680px; padding: 90px 0; grid-template-columns: minmax(300px,.72fr) minmax(520px,1.05fr); }
.page-hero-grid { min-height: 430px; padding: 78px 0; grid-template-columns: 1.1fr .58fr; }
.page-hero-grid > img { max-height: 585px; margin: auto; filter: drop-shadow(0 12px 22px rgba(35,42,49,.12)); }
.hero-brand-card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05)); border-radius: 22px; padding: 28px; box-shadow: 0 18px 36px rgba(35,42,49,.14); }
.hero-brand-card > img { width: min(620px, 100%); margin: auto; display:block; background: transparent; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.stat-grid span { display: grid; gap: 4px; text-align: center; border: 1px solid var(--tan-line); border-radius: 10px; padding: 14px 10px; background: rgba(35,42,49,.30); color: var(--muted); font-size: 13px; }
.stat-grid b { color: var(--cream); font-family: var(--head); font-size: 24px; }

/* 07. TRUST STRIP / CLIENT LOGOS */
.trust-strip {
  padding: 34px 0 42px;
  background: linear-gradient(90deg, #2B3946 0%, #3D78A6 52%, #8D98A5 100%);
  border-block: 1px solid var(--tan-line);
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  align-items: stretch;
}
.client-logos li {
  min-height: 162px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(191,164,122,.55);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(244,241,234,.98), rgba(233,230,223,.96));
  box-shadow: 0 14px 28px rgba(35,42,49,.12), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.client-logos li:hover {
  transform: translateY(-4px);
  border-color: rgba(191,164,122,.85);
  box-shadow: 0 18px 34px rgba(35,42,49,.18), inset 0 1px 0 rgba(255,255,255,.6);
}
.client-logos img {
  max-width: 88%;
  max-height: 94px;
  object-fit: contain;
  filter: grayscale(100%) saturate(0) contrast(.92) brightness(.96);
  transition: filter .25s ease, transform .25s ease, opacity .25s ease;
  opacity: .9;
}
.client-logos li:hover img {
  filter: grayscale(0%) saturate(1) contrast(1) brightness(1);
  transform: scale(1.03);
  opacity: 1;
}

/* 08. SECTIONS / GRIDS */
.section { padding: 88px 0; }
.section.light { background: var(--cream); color: var(--ink); }
.section-head { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.light .section-head p:not(.eyebrow) { color: #596572; }
.services-preview, .cards-grid, .team-preview, .partners-grid, .states-grid { display: grid; gap: 20px; }
.services-preview { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.team-preview { grid-template-columns: repeat(5, minmax(0,1fr)); }
.partners-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }

/* 09. CARDS */
.service-mini, .service-card, .image-card, .media-card, .partner-card, .team-card, .team-mini, .reference-card { background: linear-gradient(180deg, rgba(73,108,136,.88), rgba(49,69,86,.96)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 24px rgba(35,42,49,.10); }
.service-card { min-height: 258px; }
.icon { width: 58px; height: 58px; border: 1px solid var(--tan-line); border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; color: var(--tan); }
.icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-mini p, .service-card p, .image-card p, .media-card p, .partner-card p { color: #C7D4E0; }
.service-mini a, .media-card a { color: var(--tan); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.light .media-card, .light .reference-card { background: white; color: var(--ink); border-color: var(--dark-line); }
.light .media-card p, .light .reference-card p { color: #596572; }
.reference-card blockquote { margin: 16px 0; padding-left: 16px; border-left: 3px solid var(--tan); color: #33404C; font-weight: 700; }
.role { color: var(--tan) !important; font-weight: 900; }

/* 10. FEATURE SECTIONS */
.dark-feature { padding: 78px 0; background: linear-gradient(180deg, #2B3946, #223240); }
.brand-sigil, .legacy-badge-card { display: grid; place-items: center; }
.brand-sigil img, .seal { max-height: 230px; margin: auto; }
.legacy-grid { grid-template-columns: 1.25fr .55fr; }
.legacy-badge-card { background: white; border: 1px solid var(--dark-line); border-radius: 20px; padding: 28px; box-shadow: 0 10px 20px rgba(35,42,49,.08); }
.legacy-badge-card img { max-height: 160px; margin: auto; }
.proof-grid { display: grid; grid-template-columns: .42fr .58fr; gap: 42px; align-items: center; }
.ron-photo img { width: 100%; height: 450px; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 30px rgba(35,42,49,.16); }
.proof-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 22px; }
.proof-cards a { border: 1px solid var(--tan-line); border-radius: 10px; padding: 16px; color: var(--tan); font-weight: 900; }

/* 11. TEAM / PARTNER CARDS */
.team-mini, .team-card { overflow: hidden; padding: 0; }
.team-mini img, .team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-mini div, .team-card div { padding: 16px; }
.team-mini p, .team-card p { margin: .2rem 0 0; color: var(--tan); font-weight: 800; font-size: 13px; }
.employee-month-card { display: grid; grid-template-columns: 1.15fr .55fr; gap: 28px; align-items: center; padding: 28px; border-radius: 20px; border: 1px solid var(--tan-line); background: linear-gradient(135deg, rgba(244,241,234,.98), rgba(231,237,243,.95)); color: var(--ink); box-shadow: 0 14px 28px rgba(35,42,49,.10); }
.employee-month-card img { border-radius: 16px; max-height: 360px; width: 100%; object-fit: cover; }
.partner-card { text-align: center; }
.partner-card img { width: 112px; height: 112px; object-fit: contain; margin: 0 auto 18px; padding: 14px; border-radius: 50%; background: linear-gradient(180deg, var(--cream), #E7EDF3); border: 1px solid rgba(191,164,122,.45); }

/* 12. FORMS */
.simple-form, .application-form, .contact-form { display: grid; gap: 14px; }
.simple-form input, .simple-form textarea, .application-form input, .application-form select, .application-form textarea, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); color: white; padding: 14px; border-radius: 8px; }
.simple-form textarea, .application-form textarea, .contact-form textarea { min-height: 120px; }
.application-form { grid-template-columns: repeat(3, 1fr); background: linear-gradient(180deg, #6F899F, #506C84); border: 1px solid rgba(244,241,234,.24); border-radius: 18px; padding: 28px; box-shadow: 0 12px 24px rgba(35,42,49,.10); }
.application-form label { font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #16212D; }
.application-form .field { display: grid; gap: 8px; }
.application-form .wide { grid-column: span 2; }
.application-form .full { grid-column: 1 / -1; }
.checkbox-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; color: #16212D; }
.checkbox-row label { background: rgba(244,241,234,.30); padding: 12px; border-radius: 8px; }
.states-grid { grid-template-columns: repeat(4,1fr); }
.state-btn { min-height: 92px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid var(--tan-line); border-radius: 14px; color: white; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.state-btn.selected { background: rgba(191,164,122,.24); border-color: var(--tan); }
.contact-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 28px; align-items: start; }
.contact-form, .contact-panel { background: linear-gradient(180deg, rgba(73,108,136,.92), rgba(49,69,86,.98)); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-panel a { display: block; color: var(--tan); font-size: 24px; font-weight: 900; margin: 8px 0; }
.contact-panel li { margin: 10px 0; }

/* 13. FOOTER */
.site-footer { background: #29343F; border-top: 1px solid var(--tan-line); }
.footer-cta { width: 100%; max-width: none; margin-inline: 0; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 42px calc((100% - min(var(--max), calc(100% - 40px))) / 2); background: linear-gradient(135deg, #50697E 0%, var(--grayblue) 50%, #C6B39A 100%); border-bottom: 1px solid var(--tan-line); }
.footer-cta > div { min-width: 0; }
.footer-cta .btn { justify-self: end; white-space: nowrap; }
.footer-cta img { width: 78px; }
.footer-cta h2 { font-size: clamp(32px, 3vw, 48px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: 42px 0; }
.footer-logo { width: 220px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.68); }
.footer-grid a { display: block; margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; color: rgba(255,255,255,.50); font-size: 13px; }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .compact-principles { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; justify-content: center; }
  .header-row { grid-template-columns: auto 1fr auto; }
  .mobile-nav.open { display: grid; gap: 12px; padding: 16px 20px 22px; background: linear-gradient(135deg, rgba(43,57,70,.98) 0%, rgba(61,120,166,.96) 52%, rgba(141,152,165,.94) 100%); }
  .hero-grid, .page-hero-grid, .split-grid, .proof-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .services-preview, .cards-grid.four, .cards-grid.three, .team-preview, .partners-grid, .states-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .client-logos { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .application-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .brand-full { display: none; }
  .brand-mobile { display: block; }
  .services-preview, .cards-grid.four, .cards-grid.three, .team-preview, .partners-grid, .states-grid, .client-logos, .footer-grid, .application-form, .employee-month-card, .contact-form .row, .proof-cards, .stat-grid { grid-template-columns: 1fr; }
  .footer-cta { padding-inline: 14px; grid-template-columns: 1fr; text-align: left; }
  .footer-cta .btn { justify-self: start; white-space: normal; }
  .checkbox-row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(42px, 15vw, 64px); }
  .section { padding: 66px 0; }
}


/* 10A. LEGACY / GOT YOUR SIX POLISH */
.legacy-copy { max-width: 860px; }
.legacy-copy h2 { max-width: 700px; }
.legacy-copy p:last-child { max-width: 820px; color: #33404C; font-size: 18px; }

.meaning-principle .principle-grid { align-items: start; gap: 34px; }
.compact-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.compact-principles article {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(250,248,243,.95));
  border: 1px solid rgba(191,164,122,.25);
  border-radius: 18px;
  padding: 22px 22px 20px;
  min-height: 188px;
  box-shadow: 0 10px 22px rgba(35,42,49,.06);
}
.compact-principles h3 {
  font-size: clamp(24px, 2vw, 34px);
  margin-bottom: 12px;
}
.compact-principles p {
  margin: 0;
  color: #33404C;
  line-height: 1.55;
}

/* 12A. CONTACT PANEL FIT */
.contact-panel { display: grid; gap: 14px; align-content: start; }
.contact-panel hr { width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,.55); margin: 2px 0 0; }
.contact-panel h3 { margin: 0; }
.service-chip-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.service-chip-list li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  font-weight: 700;
  line-height: 1.35;
}
.contact-note {
  margin-top: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.contact-note strong { display: block; color: var(--tan); font-weight: 900; margin-bottom: 6px; }
.contact-note p { margin: 0; color: #E6EEF4; line-height: 1.55; }
