/* Fuego Leads placeholder — static HTML/CSS */

:root {
  --color-bg: #0c0f14;
  --color-bg-alt: #121820;
  --color-surface: #1a222d;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8ecf1;
  --color-muted: #9aa5b5;
  --color-accent: #f05a28;
  --color-accent-soft: #ff8a5c;
  --color-accent-glow: rgba(240, 90, 40, 0.35);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --radius: 12px;
  --header-h: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #fff;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-block: 0.625rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 4rem;
  width: auto;
}

.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent-soft);
}

.site-nav .nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff !important;
}

.site-nav .nav-cta:hover {
  background: var(--color-accent-soft);
  color: #0c0f14 !important;
}

.site-nav .has-sub {
  position: relative;
}

/* Invisible bridge so the menu stays open across the gap below “Services” */
.site-nav .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.5rem;
}

.site-nav .has-sub > span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: default;
}

.site-nav .has-sub ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 14rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.site-nav .has-sub:hover ul,
.site-nav .has-sub:focus-within ul {
  display: flex;
}

.site-nav .has-sub ul a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.site-nav .has-sub ul a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 72vh, 40rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/images/hero-business-team.jpg");
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, var(--color-accent-glow), transparent 55%),
    linear-gradient(
      105deg,
      rgba(8, 10, 14, 0.94) 0%,
      rgba(8, 10, 14, 0.82) 42%,
      rgba(12, 15, 20, 0.55) 100%
    ),
    linear-gradient(180deg, transparent 55%, var(--color-bg) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-photo-credit {
  position: absolute;
  right: 1.25rem;
  bottom: 0.75rem;
  z-index: 1;
  margin: 0;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-photo-credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.hero-photo-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-soft);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 32rem;
  margin: 0 0 1.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: min(100%, 18rem);
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(26, 34, 45, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card strong {
  display: block;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.hero-card span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-soft);
  color: #0c0f14;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: var(--color-accent-soft);
  color: var(--color-accent-soft);
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
}

.section-header .highlight {
  font-size: 1.125rem;
  color: var(--color-text);
}

.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Stat banner */
.stat-banner {
  padding: 4rem 0;
  text-align: center;
  background:
    linear-gradient(135deg, #1f1410 0%, #2a1812 40%, var(--color-bg) 100%);
  border-block: 1px solid var(--color-border);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  margin: 0;
  color: var(--color-accent-soft);
}

.stat-caption {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.cta-panel {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--color-surface), #0f1319);
  border: 1px solid var(--color-border);
}

.section-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/images/health-plans.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, var(--color-accent-glow), transparent 55%),
    linear-gradient(
      100deg,
      rgba(8, 10, 14, 0.92) 0%,
      rgba(8, 10, 14, 0.78) 45%,
      rgba(12, 15, 20, 0.65) 100%
    );
}

.about-inner {
  position: relative;
  z-index: 1;
}

.section-about .cta-panel {
  background: rgba(12, 15, 20, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cta-panel h3 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.pill-list li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(240, 90, 40, 0.12);
  border: 1px solid rgba(240, 90, 40, 0.25);
  color: var(--color-accent-soft);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--color-accent);
}

.visual-block {
  min-height: 16rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.visual-block img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
}

.container.narrow {
  max-width: 40rem;
}

/* FAQ */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent-soft);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.contact-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.875rem;
}

.form-status--success {
  color: #7dcea0;
}

.form-status--error {
  color: #f1948a;
}

.contact-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.form-recaptcha-notice {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.form-recaptcha-notice a {
  color: var(--color-muted);
}

/* Steps */
.section-steps {
  background: var(--color-bg-alt);
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.steps-grid li {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent-soft);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.steps-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.steps-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Light sections (about, careers) */
.section-light {
  background: #f7f8fa;
  color: #1a222d;
}

.section-light .section-header h2 {
  color: #0c0f14;
}

.section-light .section-header p {
  color: #4a5568;
}

.section-light .section-header .highlight {
  color: #1a222d;
}

/* Careers (ADP widget) */

.careers-widget {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1a1a1a;
  overflow: hidden;
}

.careers-widget recruitment-current-openings {
  display: block;
  min-height: 12rem;
}

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: linear-gradient(90deg, #2a1812, #1a1210);
  border-top: 1px solid var(--color-border);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  background: #080a0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 2rem;
}

.footer-brand {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .card-grid.three,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse {
    direction: ltr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
  }

  .nav-check:checked ~ .site-nav {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav > ul > li {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav > ul > li > a,
  .site-nav .has-sub > span {
    display: block;
    padding: 0.85rem 0;
  }

  .site-nav .has-sub ul {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.75rem 1rem;
    margin: 0;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}
