/* ==========================================================================
   Skye HR Solutions: Design System
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-800: #122a4d;
  --sky: #2f80ed;
  --sky-light: #eaf4ff;
  --amber: #f2994a;
  --white: #ffffff;
  --ink: #1a2233;
  --muted: #5c6b80;
  --border: #e3e9f2;
  --bg-soft: #f7f9fc;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.14);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--muted); }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 60px 0; } }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--sky-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(242, 153, 74, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(242, 153, 74, 0.45); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-sky {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.3);
}
.btn-sky:hover { box-shadow: 0 14px 30px rgba(47, 128, 237, 0.4); }

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--sky); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; width: 100%; }
  .nav-cta .btn-sky { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #163459 0%, var(--navy) 55%, #081527 100%);
  color: var(--white);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero-actions { justify-content: center; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #bcd6ff;
  background: rgba(47, 128, 237, 0.18);
  border: 1px solid rgba(47, 128, 237, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--amber); }

.hero-sub {
  color: #c9d6ea;
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #9db2d1;
  font-size: 0.85rem;
}
.hero-badges strong { color: var(--white); display: block; font-family: var(--font-head); font-size: 1.5rem; }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); margin-bottom: 18px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #dbe6f5;
  font-size: 0.95rem;
}
.hero-card li svg { flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Logos / trust strip
   ========================================================================== */

.trust-strip {
  padding: 40px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-strip p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trust-strip .regions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card.cio .icon { background: var(--sky-light); }
.service-card.hr .icon { background: #fff3e8; }

.service-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.service-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}
.service-card li svg { flex-shrink: 0; margin-top: 4px; color: var(--sky); }
.service-card.hr li svg { color: var(--amber); }

.service-card .who-for {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
.service-card .who-for strong { color: var(--navy); }

/* ==========================================================================
   How it works
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.process-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ==========================================================================
   Consultants
   ========================================================================== */

.consultants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .consultants-grid { grid-template-columns: 1fr; } }

.consultant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.consultant-photo {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.consultant-photo.ben { background: linear-gradient(135deg, #163459, var(--navy)); }
.consultant-photo.charlotte { background: linear-gradient(135deg, #f2994a, #d97a2b); }

.consultant-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.consultant-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.consultant-card.charlotte .consultant-role { color: var(--amber); }

.consultant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.consultant-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--sky-light);
  color: var(--sky);
  padding: 5px 12px;
  border-radius: 999px;
}
.consultant-card.charlotte .consultant-tags span { background: #fff3e8; color: var(--amber); }

.consultant-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.consultant-card .consultant-actions {
  flex-direction: column;
  align-items: stretch;
}
.consultant-card .consultant-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   Why fractional / stats
   ========================================================================== */

.why-section { background: var(--navy); color: var(--white); }
.why-section h2, .why-section .section-head p { color: var(--white); }
.why-section .section-label { background: rgba(47,128,237,0.2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.why-card h3 { color: var(--white); font-size: 1.05rem; }
.why-card p { color: #b9c6dc; margin: 0; font-size: 0.92rem; }
.why-card .icon { color: var(--amber); margin-bottom: 14px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p.quote {
  color: var(--ink);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-person .name { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.testimonial-person .role { font-size: 0.82rem; color: var(--muted); }

.testimonial-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--sky);
  transition: transform 0.2s ease;
}
.faq-question .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer-inner { padding: 0 24px 20px; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky-light);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong { color: var(--navy); display: block; font-size: 0.95rem; }
.contact-info-list span { font-size: 0.9rem; color: var(--muted); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.success { display: block; background: #e6f6ec; color: #1e7a3d; }
.form-status.error { display: block; background: #fdeceb; color: #b3261e; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-band {
  background: linear-gradient(120deg, var(--sky), #1c5fc2);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dcebff; max-width: 560px; margin: 0 auto 32px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #081527;
  color: #9db2d1;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #8496b3; font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #9db2d1; font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #6f83a0;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }
