/* ClearVue HR Advisors — Brand styles */
:root {
  --navy: #132840;
  --navy-mid: #1F3A5F;
  --navy-soft: #3A5578;
  --gold: #B08D57;
  --gold-light: #C9A96E;
  --cream: #F6F4EF;
  --cream-dark: #EDE9E0;
  --white: #FFFFFF;
  --text: #1a2332;
  --text-muted: #5a6577;
  --border: #DAD4C6;
  --shadow: 0 12px 40px rgba(19, 40, 64, 0.08);
  --radius: 12px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(19, 40, 64, 0.04);
}

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

.logo {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--navy-mid);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--navy-mid);
  color: var(--cream) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-soft);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: rgba(19, 40, 64, 0.04);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(19, 40, 64, 0.03);
}

.btn-full {
  width: 100%;
}

/* Typography helpers */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(176, 141, 87, 0.08), transparent),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--navy-soft);
  font-weight: 500;
}

.hero-trust .dot {
  opacity: 0.5;
}

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

.hero-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  max-width: 360px;
}

.hero-logo {
  margin-bottom: 1.5rem;
  height: 72px;
  width: auto;
}

.hero-card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.9);
}

/* Services */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--cream);
  border-color: transparent;
}

.service-card.featured:hover {
  border-color: transparent;
}

.service-icon {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.service-card.featured h3 {
  color: var(--cream);
}

.featured-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: -0.4rem 0 0.75rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-card.featured li {
  color: rgba(246, 244, 239, 0.88);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Packages */
.packages {
  background: var(--cream);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card.popular {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
}

.package-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.price {
  margin-bottom: 0.5rem;
}

.price .amount {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--navy);
}

.price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.package-for {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 2.6em;
}

.package-card ul {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.package-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: var(--text);
}

.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.note-block h4 {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.note-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.note-block li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 0.85rem;
  position: relative;
}

.note-block li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Technology */
.technology {
  background: var(--navy);
  color: var(--cream);
}

.technology .eyebrow {
  color: var(--gold-light);
}

.technology h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--cream);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.tech-copy > p {
  color: rgba(246, 244, 239, 0.85);
  margin-bottom: 1.25rem;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tech-list li {
  padding-left: 1.15rem;
  position: relative;
  color: rgba(246, 244, 239, 0.9);
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.tech-list strong {
  color: var(--cream);
}

.tech-note {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-style: italic;
}

.tech-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--cream);
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.about-item h3 {
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.about-item p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.client-profile {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}

.client-profile h3 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.client-profile p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(246, 244, 239, 0.9);
}

/* Contact */
.contact {
  background: var(--cream-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-copy > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-line span:last-child {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.contact-line:hover span:last-child {
  color: var(--gold);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(58, 85, 120, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.4em;
}

.form-status.success {
  color: #2d6a4f;
}

.form-status.error {
  color: #9b2226;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(246, 244, 239, 0.75);
  max-width: 28rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.95rem;
  color: rgba(246, 244, 239, 0.85);
  transition: color 0.15s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(246, 244, 239, 0.55);
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .tech-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card.featured {
    grid-column: span 2;
  }

  .packages-grid,
  .pricing-notes,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .package-card.popular {
    transform: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(19, 40, 64, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
