/* ==========================================================================
   BLIJVEN INNOVATIONS LLC — Core Stylesheet
   Design tokens: burgundy / gold / black / white
   Display face: Cormorant Garamond | Body face: Jost | Utility: Jost (tracked)
   Signature motif: triple-peak "roofline" divider echoing the brand mark
   ========================================================================== */

:root {
  /* Color tokens */
  --burgundy-950: #230810;
  --burgundy-900: #33101a;
  --burgundy-800: #4a1526;
  --burgundy-700: #611c30;
  --burgundy-600: #7a2740;
  --gold-500: #c8a24d;
  --gold-400: #d9bc72;
  --gold-300: #e8d6a3;
  --black-ink: #17110f;
  --white: #fbf8f4;
  --cream: #f2ebe0;
  --cream-dark: #e8dcc8;
  --gray-600: #756e68;
  --gray-300: #cfc7ba;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-height: 84px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 40px rgba(23, 17, 15, 0.12);
  --shadow-deep: 0 20px 60px rgba(23, 17, 15, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--black-ink);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

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

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

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

section { position: relative; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--burgundy-950);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(200, 162, 77, 0.4); }

.btn-outline {
  background: transparent;
  border-color: rgba(251, 248, 244, 0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(251, 248, 244, 0.1); border-color: var(--white); transform: translateY(-3px); }

.btn-dark {
  background: var(--burgundy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--burgundy-800); transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.btn-block { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(35, 8, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 162, 77, 0.18);
  transition: background 0.4s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 46px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--font-display); font-size: 1.32rem; color: var(--white); letter-spacing: 0.02em; }
.nav-brand-tag { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--gray-300);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    flex-direction: column;
    background: var(--burgundy-950);
    padding: 28px 32px 40px;
    gap: 22px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    border-bottom: 1px solid rgba(200,162,77,0.18);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero (roofline signature shape)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,8,16,0.78) 0%, rgba(35,8,16,0.55) 45%, rgba(35,8,16,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-height); }
.hero h1 { color: var(--white); max-width: 820px; }
.hero .lede { font-size: 1.2rem; color: var(--gray-300); max-width: 600px; margin: 20px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.page-hero { min-height: 56vh; }
.page-hero .hero-content { padding-top: calc(var(--nav-height) + 40px); }

/* Roofline divider — echoes the triple-peak brand mark */
.roofline {
  position: relative;
  height: 64px;
  margin-top: -1px;
}
.roofline svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   Section spacing
   ========================================================================== */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--burgundy-950);
  color: var(--white);
}
.section-dark p { color: var(--gray-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   What We Do — feature grid
   ========================================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  border: 1px solid var(--cream-dark);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: var(--gold-500); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy-900), var(--burgundy-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-400);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Partnerships / logos strip
   ========================================================================== */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
}
.partner-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  border: 1px solid rgba(200,162,77,0.3);
  border-radius: var(--radius-sm);
  color: var(--gray-300);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.partner-badge:hover { border-color: var(--gold-500); transform: translateY(-4px); color: var(--white); }
.partner-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

/* ==========================================================================
   Service / program cards with image
   ========================================================================== */
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); }
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover img { transform: scale(1.06); }
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,17,15,0.92) 0%, rgba(23,17,15,0.15) 65%);
  z-index: 1;
}
.service-card-body { position: relative; z-index: 2; padding: 36px; color: var(--white); }
.service-card-body .eyebrow { color: var(--gold-400); }
.service-card-body h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.service-card-body p { color: var(--gray-300); margin-bottom: 20px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-400); font-size: 0.9rem; letter-spacing: 0.03em; font-weight: 500; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(6px); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 42px;
  border: 1px solid var(--cream-dark);
  position: relative;
}
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--gold-500); line-height: 1; margin-bottom: 6px; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 1.2rem; color: var(--black-ink); font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy-800), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-display); font-size: 1.1rem;
}
.testimonial-name { font-weight: 500; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-600); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-deep);
}
@media (max-width: 640px) { .form-panel { padding: 32px 24px; } }

.inquiry-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--cream);
  padding: 6px;
  border-radius: var(--radius-sm);
}
.inquiry-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.inquiry-toggle button.is-active { background: var(--burgundy-950); color: var(--white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--black-ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.field label .req { color: var(--burgundy-700); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--black-ink);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(200,162,77,0.15);
}
.field .error-msg { display: none; color: #a3273f; font-size: 0.78rem; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a3273f; }
.field.has-error .error-msg { display: block; }

.radio-group { display: flex; gap: 14px; flex-wrap: wrap; }
.radio-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--gray-300);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.radio-pill input { width: auto; }
.radio-pill:has(input:checked) { border-color: var(--gold-500); background: rgba(200,162,77,0.1); }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--burgundy-950);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: 26px 0;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.faq-q .plus { font-size: 1.6rem; color: var(--gold-500); transition: transform 0.35s var(--ease); font-weight: 300; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding-top: 14px; margin: 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-card {
  background: var(--burgundy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.pricing-card .price { font-family: var(--font-display); font-size: 4.2rem; color: var(--gold-400); margin: 10px 0; }
.pricing-card .price span { font-size: 1.2rem; color: var(--gray-300); font-family: var(--font-body); }

/* ==========================================================================
   Highlight / feature list with check icons
   ========================================================================== */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; }
.check-item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold-500); margin-top: 2px; }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 3rem; color: var(--gold-400); }
.stat .label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-300); }

/* ==========================================================================
   Values grid (About)
   ========================================================================== */
.value-row {
  display: flex;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: baseline;
}
.value-row .value-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-500); width: 50px; flex-shrink: 0; }
.value-row h3 { margin-bottom: 8px; }
.value-row p { margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--burgundy-950);
  color: var(--gray-300);
  padding: 80px 0 30px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(200,162,77,0.18); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 44px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); }
.footer h4 { color: var(--gold-400); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(200,162,77,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; color: var(--gold-400); }

/* ==========================================================================
   Contact page specifics
   ========================================================================== */
.contact-info-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.contact-info-card .icon-box {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--burgundy-950); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  position: relative;
  background: var(--cream-dark);
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--gold-500);
  color: var(--burgundy-800);
  letter-spacing: 0.03em;
}
