/* ============================================
   ControlBoard Theme Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy: #1a1a3e;
  --color-navy-dark: #0f0f2d;
  --color-yellow: #f5c518;
  --color-yellow-hover: #e0b200;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 50px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  line-height: 1.6;
  background: var(--color-white);
}

a {
  color: var(--color-yellow);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-yellow-hover);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

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

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-yellow);
  color: var(--color-yellow);
}

.btn--outline:hover {
  background: var(--color-yellow);
  color: var(--color-navy);
}

.btn--submit {
  background: var(--color-yellow);
  color: var(--color-navy);
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--submit:hover {
  background: var(--color-yellow-hover);
}

/* ============================================
   Header
   ============================================ */
.header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 28px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__link {
  color: var(--color-white);
  font-weight: 400;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: 4px;
}

.header__link:hover {
  color: var(--color-yellow);
  border-color: var(--color-yellow);
}

.header__nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.header__nav-link:hover {
  color: var(--color-yellow);
}

.header__menu-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 0.5rem;
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-navy-dark);
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

.header__mobile-menu.is-open {
  display: flex;
}

.header__close-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  align-self: flex-end;
  padding: 0.5rem;
}

.header__mobile-link {
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header__mobile-link:hover {
  color: var(--color-yellow);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  color: var(--color-white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero__left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__infographic {
  max-width: 100%;
  height: auto;
  max-height: 450px;
}


.hero__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(10, 8, 59, 0.9);
  padding: 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  max-width: 600px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero__logo {
  height: 50px;
  width: auto;
}

.hero__tagline {
  color: var(--color-yellow);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  max-width: 100%;
  color: var(--color-white);
}

.hero__points {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero__points li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero__points a {
  color: var(--color-yellow);
  text-decoration: underline;
}

/* Hero stacked layout (integrations page) */
.hero--integrations {
  min-height: auto;
  padding: 2rem 0;
}

.hero__content--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

.hero--integrations .hero__infographic {
  max-width: 520px;
  max-height: none;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__prose-box {
  background: rgba(10, 8, 59, 0.9);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  max-width: 700px;
  width: 100%;
}

.hero__subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--color-white);
}

.hero__tagline-large {
  color: var(--color-yellow);
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
}

/* ============================================
   Integrate Section
   ============================================ */
.integrate {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 2.5rem 1.5rem;
}

.integrate__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.integrate__intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.integrate__inner h2 {
  color: var(--color-yellow);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   Features
   ============================================ */
.features {
  background: var(--color-gray-50);
  padding: 2.5rem 1.5rem;
}

.features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-left: 4px solid var(--color-yellow);
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--color-navy);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.feature-card li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.feature-card a {
  color: var(--color-navy);
  text-decoration: underline;
}

.feature-card a:hover {
  color: var(--color-navy-dark);
}

/* ============================================
   Industry Sections (Commercial, Asphalt)
   ============================================ */
.industry-section {
  padding: 2.5rem 1.5rem;
  background: var(--color-gray-50);
}

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

.industry-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.industry-section__title {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 2rem;
  text-align: center;
}

.industry-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.industry-section__layout--reverse {
  direction: rtl;
}

.industry-section__layout--reverse > * {
  direction: ltr;
}

.industry-section__images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.industry-section__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  min-height: 300px;
}

.industry-section__thumbs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-section__thumbs img {
  width: 100%;
  height: calc(50% - 0.5rem);
  object-fit: cover;
  border-radius: 8px;
}

.industry-section__content h3 {
  color: var(--color-navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.industry-section__content p {
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .industry-section__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .industry-section__images {
    grid-template-columns: 1fr;
  }
  
  .industry-section__thumbs {
    flex-direction: row;
  }
  
  .industry-section__thumbs img {
    height: 150px;
    flex: 1;
  }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
}

.testimonials__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-yellow);
}

.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--color-yellow);
}

.testimonial__logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.8;
}

.testimonial h4 {
  color: var(--color-yellow);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
}

/* ============================================
   Details
   ============================================ */
.details {
  background: var(--color-gray-50);
  padding: 2.5rem 1.5rem;
}

.details__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.detail-block h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.detail-block p {
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
  background: linear-gradient(135deg, #f5c518 0%, #e5be2e 50%, #d4a800 100%);
  padding: 2.5rem 1.5rem;
}

.contact-form__inner {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-form__cta {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form__cta h2 {
  color: var(--color-gray-900);
}

.contact-form__cta p {
  color: var(--color-gray-700);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  color: var(--color-gray-900);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--color-gray-900);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.form-group textarea {
  resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__heading {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--color-yellow);
}

.footer__contact p {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.footer__contact a {
  color: var(--color-white);
}

.footer__contact a:hover {
  color: var(--color-yellow);
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 0.5rem;
}

.footer__nav a {
  color: var(--color-white);
  font-size: 0.85rem;
}

.footer__nav a:hover {
  color: var(--color-yellow);
}

.footer__copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-gray-300);
}

/* ============================================
   Page Content (generic pages)
   ============================================ */
.page-content {
  padding: 3rem 1.5rem;
}

.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content__inner h1 {
  color: var(--color-navy);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.page-content__inner h2 {
  color: var(--color-navy);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content__inner h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content__inner p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-gray-700);
}

.page-content__inner ul, .page-content__inner ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content__inner li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ============================================
   Blog Listing
   ============================================ */
.blog-listing {
  padding: 3rem 1.5rem;
}

.blog-listing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-listing__inner h1 {
  color: var(--color-navy);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.blog-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--color-gray-200);
  padding-bottom: 1rem;
}

.blog-categories a,
.blog-categories__link {
  color: var(--color-gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.blog-categories a:hover,
.blog-categories__link:hover,
.blog-categories__link.is-active {
  color: var(--color-navy);
  border-bottom-color: var(--color-yellow);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-card a {
  display: block;
  color: inherit;
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card a h2,
.blog-card a .blog-card__meta,
.blog-card a p {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.blog-card a h2 {
  padding-top: 1rem;
}

.blog-card a p {
  padding-bottom: 1.5rem;
}

.blog-card h2 {
  color: var(--color-navy);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-gray-600);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-card__category {
  background: var(--color-yellow);
  color: var(--color-navy);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

/* ============================================
   Blog Post
   ============================================ */
.blog-post {
  padding: 2rem 1.5rem 4rem;
}

.blog-post__inner {
  max-width: 750px;
  margin: 0 auto;
}

.blog-post__header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.blog-post__header h1 {
  color: var(--color-navy);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-post__featured-img {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.blog-post__featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-gray-600);
}

.blog-post__content {
  font-size: 1rem;
  line-height: 1.8;
}

.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
  color: var(--color-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post__content h2 { font-size: 1.25rem; }
.blog-post__content h3 { font-size: 1.1rem; }
.blog-post__content h4 { font-size: 1rem; }

.blog-post__content p {
  margin-bottom: 1rem;
  color: var(--color-gray-700);
}

.blog-post__content ul, .blog-post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.blog-post__content li {
  margin-bottom: 0.5rem;
  color: var(--color-gray-700);
}

.blog-post__content strong {
  color: var(--color-gray-900);
}

.blog-post__content a {
  color: var(--color-yellow-hover);
  text-decoration: underline;
}

.blog-post__content blockquote {
  border-left: 4px solid var(--color-yellow);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-gray-50);
  color: var(--color-gray-700);
  font-style: italic;
}

.blog-post__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.blog-post__content th,
.blog-post__content td {
  padding: 0.75rem;
  border: 1px solid var(--color-gray-200);
  text-align: left;
}

.blog-post__content th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
}

.blog-post__content tr:nth-child(even) {
  background: var(--color-gray-50);
}

.blog-post__tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  gap: 0.5rem;
}

.blog-post__tags a {
  background: var(--color-yellow);
  color: var(--color-navy);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   Landing Page
   ============================================ */
.landing {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: var(--color-navy);
  padding: 3rem 1.5rem;
}

.landing__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.landing__alt-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.landing__alt-actions p {
  color: var(--color-white);
  margin-top: 0.75rem;
}

.landing__alt-actions a {
  color: var(--color-white);
}

.landing__content-col {
  color: var(--color-white);
}

.landing__content-col h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.landing__content-col ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.landing__content-col li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* ============================================
   Post Preview (generic lists)
   ============================================ */
.post-preview {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.post-preview h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.post-preview h2 a {
  color: var(--color-navy);
}

.post-preview h2 a:hover {
  color: var(--color-yellow-hover);
}

.post-meta {
  font-size: 0.8rem;
  color: var(--color-gray-600);
  margin-bottom: 0.5rem;
}

/* ============================================
   SEO Landing Pages
   ============================================ */
.seo-hero {
  background: var(--color-navy);
  padding: 2.5rem 1.5rem;
}

.seo-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.seo-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.seo-hero__content {
  color: var(--color-white);
}

.seo-hero__content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--color-white);
}

.seo-hero__content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-gray-200);
  font-size: 1.05rem;
}

.seo-hero__content a {
  color: var(--color-yellow);
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 769px) {
  .header__menu-btn {
    display: none;
  }
  .header__nav {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header__nav-link {
    display: none;
  }

  .hero__title {
    font-size: 1.1rem;
  }

  .hero__tagline {
    font-size: 1rem;
  }

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

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero__infographic {
    max-width: 90%;
  }

  .hero__prose-box {
    padding: 1.5rem;
  }

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

  .seo-hero__inner {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   Typography Improvements (Beads-5)
   ============================================ */
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-navy);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================
   Feature Card Hover Effects (Beads-2)
   ============================================ */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-card__video {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-navy);
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.feature-card__video:hover {
  color: var(--color-yellow-hover);
}

/* ============================================
   Testimonial Card Improvements (Beads-4)
   ============================================ */
.testimonial {
  transition: transform 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
}

.testimonial h4 {
  color: var(--color-yellow);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ============================================
   Modal / Lightbox Styles
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal__content--video {
  max-width: 900px;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.modal__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.modal__video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal__content h2 {
  color: var(--color-navy);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal__content p {
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray-600);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.modal__close:hover {
  background: var(--color-gray-100);
  color: var(--color-navy);
}

/* Video modal close button - positioned inside the black frame */
.modal__content--video .modal__close {
  top: 0.5rem;
  right: 0.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1002;
}

.modal__content--video .modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

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

.modal__form .form-group {
  margin-bottom: 1rem;
}

.modal__form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.25rem;
}

.modal__form input,
.modal__form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.modal__form input:focus,
.modal__form textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

@media (max-width: 600px) {
  .modal__content {
    padding: 1.5rem;
    width: 95%;
  }
  
  .modal__form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================
   Bobby's Mobile/Tablet Fixes (Feb 17)
   ============================================ */

/* Hide extra ControlBoard logo in hero */
.hero__logo {
  display: none !important;
}

/* Mobile and Tablet (< 1024px): Hide industry sections, stack hero */
@media (max-width: 1023px) {
  /* Hide Commercial Construction and Asphalt sections */
  .industry-section {
    display: none !important;
  }
  
  /* Stack hero: infographic on top */
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero__left {
    order: 1;
  }
  
  .hero__right {
    order: 2;
    max-width: 100%;
  }
  
  .hero__infographic {
    max-height: 300px;
    max-width: 80%;
  }

}

/* ── FAQ ── */

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: #f8f9fa;
  padding: 1.25rem;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.25rem;
  border: none;
  outline: none;
  list-style: none;
}

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

.faq-question::before {
  content: '▼';
  float: right;
  transition: transform 0.3s ease;
  color: #666;
}

details:not([open]) .faq-question::before {
  transform: rotate(-90deg);
}

.faq-answer {
  padding: 1.25rem;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0 0 0.50rem 0;
  line-height: 1.6;
  color: #333;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #007bff;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-question:hover {
  background: #e9ecef;
}
