@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

:root {
  /* Official Geneva Colors */
  --maroon: #981F33;
  --maroon-dark: #6e1624;
  --maroon-light: #b8354a;
  --gray: #5F6B72;
  --gray-light: #8a9499;
  --gray-pale: #f4f5f5;
  --white: #ffffff;
  --dark: #1a1a1a;
  --border: rgba(95,107,114,0.18);
  /* Gradient per brand guide: maroon to gray, 45deg */
  --brand-gradient: linear-gradient(45deg, #981F33, #5F6B72);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* nav is inline in HTML */

/* ─── CONTACT BANNER ─── */
.contact-banner {
  background: var(--gray-pale);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 5%;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.contact-banner a {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 500; color: var(--dark);
  text-decoration: none; transition: color 0.2s;
}
.contact-banner a:hover { color: var(--maroon); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  font-size: 0.90rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 0.8rem 1.8rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  font-size: 0.90rem; font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

.btn-secondary-dark {
  background: transparent;
  color: var(--maroon);
  padding: 0.8rem 1.8rem;
  border: 1.5px solid var(--maroon);
  border-radius: 3px;
  font-size: 0.90rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary-dark:hover { background: var(--maroon); color: var(--white); }

/* ─── HERO (homepage) ─── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  background: linear-gradient(45deg, var(--maroon) 0%, #7a1a2a 40%, var(--gray) 100%);
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 3rem 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.28rem 0.75rem; border-radius: 2px; margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800; color: var(--white);
  line-height: 1.12; margin-bottom: 1.1rem; letter-spacing: -0.02em;
}
.hero h1 span { color: rgba(255,255,255,0.6); font-weight: 400; }
.hero > .hero-inner > div > p {
  font-size: 0.96rem; font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.85; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  /* was rgba(255,255,255,0.08) - 8% white glass over a photograph meant the
     contrast behind each line changed with whatever was in the picture.
     A dark scrim gives the white text one consistent backing. */
  background: rgba(18,18,20,0.62);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px; padding: 1.8rem;
  backdrop-filter: blur(6px);
}
.hero-card h3 {
  font-size: 0.89rem; font-weight: 700; color: rgba(255,255,255,0.88);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.2rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-stat {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-icon {
  flex-shrink: 0; width: 30px; height: 30px;
  background: rgba(255,255,255,0.1); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.hero-stat p { font-size: 0.86rem; color: rgba(255,255,255,0.6); font-weight: 400; line-height: 1.55; }
.hero-stat strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 0.1rem; font-size: 0.89rem; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--brand-gradient);
  padding: 4.5rem 5% 3.5rem;
  position: relative; overflow: hidden;
  margin-top: 72px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
}
.page-hero-inner { max-width: 760px; position: relative; }
.page-hero-back {
  display: inline-block; font-size: 0.80rem; font-weight: 500;
  color: rgba(255,255,255,0.55); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.2rem;
  transition: color 0.2s;
}
.page-hero-back:hover { color: rgba(255,255,255,0.9); }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.page-hero h1 span { color: rgba(255,255,255,0.55); font-weight: 400; }
.page-hero p {
  font-size: 0.97rem; font-weight: 400;
  color: rgba(255,255,255,0.72); line-height: 1.82; max-width: 600px;
}

/* ─── SECTIONS ─── */
.section-full { width: 100%; }
.section-full.section-alt { background: var(--gray-pale); }
.section { max-width: 1200px; margin: 0 auto; padding: 5rem 5%; }

.section-label {
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--maroon); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700; color: var(--dark);
  line-height: 1.25; margin-bottom: 1rem; letter-spacing: -0.01em;
}
.section-sub {
  font-size: 0.95rem; font-weight: 400; color: var(--gray);
  max-width: 620px; line-height: 1.85; margin-bottom: 3rem;
}

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

/* ─── PRODUCT CARDS ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 5px; padding: 1.8rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: block;
}
.product-card:hover {
  border-color: var(--maroon);
  box-shadow: 0 4px 18px rgba(152,31,51,0.1);
  transform: translateY(-2px);
}
.product-card.product-featured {
  border-color: var(--maroon);
  background: #fdf5f6;
}
.product-card-icon {
  width: 36px; height: 36px;
  background: rgba(152,31,51,0.08);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon); margin-bottom: 1rem;
}
.product-card h3 { font-size: 0.96rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.product-card p { font-size: 0.88rem; font-weight: 400; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.product-card-link { font-size: 0.82rem; font-weight: 600; color: var(--maroon); }

/* ─── QUAL BOX ─── */
.qual-box {
  background: var(--brand-gradient);
  border-radius: 5px; padding: 1.8rem;
}
.qual-box h3 {
  font-size: 0.93rem; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.qual-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.qual-list li {
  font-size: 0.88rem; font-weight: 400; color: rgba(255,255,255,0.8);
  padding-left: 1.2rem; position: relative; line-height: 1.6;
}
.qual-list li::before {
  content: '→'; position: absolute; left: 0;
  color: rgba(255,255,255,0.5); font-size: 0.82rem;
}

/* ─── STEPS GRID ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-item {
  padding: 1.5rem 1.5rem 1.5rem 1.8rem;
  border-left: 3px solid var(--maroon);
  background: var(--white);
}
.section-alt .step-item { background: var(--white); }
.step-item h3 { font-size: 0.94rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.step-item p { font-size: 0.88rem; font-weight: 400; color: var(--gray); line-height: 1.7; }

/* ─── INFO BOX ─── */
.info-box {
  background: var(--gray-pale);
  border: 1.5px solid var(--border);
  border-radius: 5px; padding: 1.5rem;
}
.info-box-title { font-size: 0.86rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.info-box p { font-size: 0.88rem; color: var(--gray); font-weight: 400; line-height: 1.7; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--brand-gradient);
  padding: 5rem 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.1);
}
.cta-section h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700; color: var(--white);
  margin-bottom: 0.9rem; position: relative; letter-spacing: -0.01em;
}
.cta-section p {
  font-size: 0.95rem; font-weight: 400;
  color: rgba(255,255,255,0.7);
  max-width: 500px; margin: 0 auto 2.5rem;
  line-height: 1.82; position: relative;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── FOOTER ─── */
footer {
  background: #111;
  padding: 3.5rem 5% 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem;
}
.footer-brand-tag {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-contact a {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.86rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-contact a:hover { color: rgba(255,255,255,0.9); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  font-size: 0.84rem; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.8); }
.footer-legal {
  font-size: 0.77rem; font-weight: 400;
  color: rgba(255,255,255,0.25); line-height: 1.8;
}
.footer-legal a { color: rgba(255,255,255,0.35); }

/* ─── PAGE HERO BADGES ─── */
.page-hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem;
}
.badge {
  display: inline-block;
  font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  padding: 0.25rem 0.72rem; border-radius: 20px;
}

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: var(--dark);
  border-radius: 5px; padding: 1.5rem;
  border-top: 3px solid var(--maroon);
}
.highlight-box h3 {
  font-size: 0.93rem; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 0.6rem;
}
.highlight-box p {
  font-size: 0.88rem; font-weight: 400; color: rgba(255,255,255,0.6);
  line-height: 1.7; margin-bottom: 0;
}

/* ─── CONTACT FORM ─── */
.contact-form label {
  display: block; font-size: 0.80rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.3rem; margin-top: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border); border-radius: 3px;
  font-family: 'Poppins', sans-serif; font-size: 0.89rem;
  color: var(--dark); background: var(--white);
  transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--maroon);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button[type="submit"],
.contact-form .submit-btn {
  width: 100%; margin-top: 1.2rem;
  background: var(--maroon); color: var(--white);
  border: none; border-radius: 3px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 0.93rem;
  font-weight: 600; padding: 0.85rem;
  transition: background 0.2s;
}
.contact-form button[type="submit"]:hover,
.contact-form .submit-btn:hover { background: var(--maroon-dark); }

/* ─── HEROES BADGE ─── */
.heroes-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px; padding: 0.28rem 0.85rem;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85);
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.8rem;
}

/* breadcrumbs and mobile menu are inline in HTML */

/* ─── RESPONSIVE ─── */

/* ≤960px: stack two-column hero + two-col sections + footer */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }
  .two-col {
    grid-template-columns: 1fr !important;
  }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 1.8rem;
  }
}

/* ≤640px: tighten padding, stack CTAs, clean contact banner */
@media (max-width: 640px) {
  .section         { padding: 3rem 5%; }
  .page-hero       { padding: 3rem 5% 2.5rem; }
  .cta-section     { padding: 3.5rem 5%; }
  .hero-inner      { padding: 2.5rem 5%; }
  .hero-actions    { flex-direction: column; }
  .hero-actions a  { text-align: center; }
  .cta-actions     { flex-direction: column; align-items: stretch; }
  .cta-actions a   { text-align: center; }
  /* hide long NMLS span in contact banner — phone/email links stay */
  .contact-banner span { display: none; }
}


/* ---- brandmark responsive -------------------------------------------------
   Measured on the live nav: brandmark 475px + menu 642px + padding needs a
   ~1269px viewport before the two collide. The long tagline is what drives
   the brandmark's width, so it is the first thing to go - well before the
   wordmark shrinks. Inline styles in the nav mean these need !important. */
@media (max-width: 1280px) {
  .brandmark span:last-child,
  .lp-header-logo span:last-child  { display: none !important; }
}
@media (max-width: 1000px) {
  .brandmark span:first-child,
  .lp-header-logo span:first-child { font-size: 1.35rem !important; }
}
@media (max-width: 640px) {
  .brandmark span:first-child,
  .lp-header-logo span:first-child { font-size: 1.15rem !important; }
}
