/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--header-h, 90px);
}

/* Smooth scrolling is turned on by script.js only after the page has fully
   loaded, so the initial scroll to a #hash on load lands correctly instead
   of getting interrupted by layout shifting under it (see script.js). */
html.smooth-scroll {
  scroll-behavior: smooth;
}

body {
  background-color: #acaeb0;
  color: #1f2328;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: rgba(230, 232, 235, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3), 0 8px 12px 6px rgba(0, 0, 0, 0.15);
}

/* ===== LOGO ===== */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  width: 240px;
  height: 90px;
  object-fit: contain;
}

/* ===== NAVIGATION ===== */
.main-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

/* ===== HEADER CONTACT ===== */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.header-contact-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4b5563;
  transition: color 0.2s ease;
}

.header-contact-link:hover {
  color: #1f2328;
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
    gap: 0;
  }

  .logo-img {
    width: 170px;
    height: 64px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-toggle-bar {
    width: 22px;
    height: 2px;
    background-color: #1f2328;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav,
  .header-contact {
    display: none;
    width: 100%;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-contact {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 0.25rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #d0d4da;
  }

  .dropdown-arrow {
    margin-left: auto;
    padding: 0.75rem;
    margin-right: -0.75rem;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    min-width: 0;
    border: none;
    background: transparent;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu::before {
    content: none;
  }

  .dropdown-link {
    padding: 0.6rem 0.75rem;
  }

  .header-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem 0.25rem 1rem;
    border-top: 1px solid #d0d4da;
    margin-top: 0.25rem;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2328;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #333c8c;
  border-bottom-color: #333c8c;
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background-color: #ffffff;
  border: 1px solid #d0d4da;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item.has-dropdown:hover .dropdown-arrow,
.nav-item.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dropdown-link:hover {
  color: #333c8c;
  background-color: #d0d4da;
  border-left-color: #333c8c;
}

/* ===== HERO SECTION ===== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.28) contrast(1.03);
}

/* Dark gradient overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.17) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}

/* Mobile is the primary viewing context for this hero, and the video reads
   noticeably darker at phone sizes — brighten further here than the bump
   already applied above for desktop/tablet. */
@media (max-width: 640px) {
  .hero-video {
    filter: brightness(1.45) contrast(1.03);
  }

  .hero-section::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 0, 0, 0.19) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.85s;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .hero-tagline {
    font-size: 1rem;
  }
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 2px solid #333c8c;
  color: #333c8c;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.15s;
}

.hero-section .hero-cta {
  border-color: #fff;
  color: #fff;
}

.hero-section .hero-cta:hover {
  background-color: #fff;
  color: #1f2328;
}

.hero-cta:hover {
  background-color: #333c8c;
  color: #ffffff;
}

.section-cta {
  margin-top: 3rem;
  opacity: 1;
  animation: none;
}

/* ===== SHARED SECTION STYLES ===== */
.page-section {
  background-color: #e6e8eb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d0d4da;
}

.section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #333c8c;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f2328;
  margin-bottom: 1.25rem;
}

.section-intro {
  color: #4b5563;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

/* ===== SERVICES BANNER ===== */
.services-banner {
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 1px;
  position: relative;
}

.services-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    #e6e8eb 100%
  );
}

.services-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel {
  background-color: #ffffff;
}

.product-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 62%,
    #ffffff 88%
  );
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
  filter: drop-shadow(0 18px 14px rgba(10, 10, 10, 0.22));
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #d0d4da;
  color: #4b5563;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.carousel-arrow:hover {
  color: #333c8c;
  border-color: #333c8c;
  background-color: #ffffff;
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #d0d4da;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.carousel-dot.active {
  background-color: #1f2328;
}

@media (max-width: 640px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-prev {
    left: 0.75rem;
  }

  .carousel-next {
    right: 0.75rem;
  }
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: #d0d4da;
  border: 1px solid #d0d4da;
}

.service-card {
  background-color: #ffffff;
  padding: 3rem 2.5rem;
  text-align: left;
  transition: background-color 0.25s ease;
}

.service-card:hover {
  background-color: #f3f5f7;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f2328;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b5563;
  border-bottom: 1px solid #1f2328;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-link:hover {
  color: #333c8c;
  border-bottom-color: #333c8c;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #d0d4da;
  border-top: 3px solid #d0d4da;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: border-top-color 0.25s ease, background-color 0.25s ease;
}

.product-card:hover {
  border-top-color: #1f2328;
  background-color: #f3f5f7;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f2328;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.product-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f2328;
  border-bottom: 1px solid #4b5563;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.product-link:hover {
  color: #1f2328;
  border-bottom-color: #1f2328;
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 0;
  min-height: 100vh;
  display: block;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about-image-wrap {
  overflow: hidden;
  position: relative;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
  background-color: #ffffff;
  min-width: 0;
}

.about-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1f2328;
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.about-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #d0d4da;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2328;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b5563;
}

@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    height: 360px;
  }

  .about-content {
    padding: 4rem 2rem;
  }

  .about-stats {
    gap: 1.5rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  display: block;
  min-height: 100vh;
  padding: 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left panel */
.contact-info {
  position: relative;
  background-image: url('public/2792146.jpg');
  background-size: cover;
  background-position: center top;
  border-right: 1px solid #d0d4da;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(230, 232, 235, 0.92);
  z-index: 0;
}

.contact-info > * {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1f2328;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.contact-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #374151;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s ease;
}

.detail-value:hover {
  color: #333c8c;
}

/* Right panel */
.contact-form-wrap {
  background-color: #ffffff;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4b5563;
}

.form-optional {
  font-weight: 400;
  color: #8a97a6;
  text-transform: none;
  letter-spacing: 0;
}

.form-input {
  background-color: #ffffff;
  border: 1px solid #d0d4da;
  color: #1f2328;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-input::placeholder {
  color: #8a97a6;
}

.form-input:focus {
  border-color: #4b5563;
}

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

.form-submit {
  align-self: flex-start;
  padding: 0.85rem 2.5rem;
  background-color: transparent;
  border: 2px solid #333c8c;
  color: #333c8c;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.form-submit:hover {
  background-color: #333c8c;
  color: #ffffff;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  font-size: 0.9rem;
  line-height: 1.6;
  min-height: 1.4em;
}

.form-status-success {
  color: #1e7a43;
}

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

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 4rem 2rem;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #d9dce1;
  border-top: 1px solid #d0d4da;
}

.footer-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  width: 160px;
  height: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.75;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid #d0d4da;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  color: #333c8c;
  border-color: #333c8c;
}

/* Link columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1f2328;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: #4b5563;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #333c8c;
}

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f2328;
}

.footer-contact-value {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid #d0d4da;
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #1f2328;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .footer-body {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem 3rem;
  }
}

/* ===== LIGHT SECTION VARIANT ===== */
/* Applied via <section class="page-section section-light"> to swap a
   section to the same light-cream tone used for product cards, brightening
   the page without changing its structure. Overrides just the text/link/
   button colors that would otherwise be unreadable on a light background. */
.section-light {
  background-color: #ffffff;
}

.section-light .section-eyebrow {
  color: #333c8c;
  font-weight: 700;
  font-size: 0.9rem;
}

.section-light .section-title {
  color: #1f2328;
}

.section-light .section-intro,
.section-light .about-text {
  color: #374151;
}

.section-light .about-title {
  color: #1f2328;
}

.section-light .capability-item {
  color: #374151;
}

.section-light .capability-item::before {
  color: #1f2328;
}

.section-light .resource-link {
  background-color: #fff;
  border-color: #1f2328;
  color: #1f2328;
}

.section-light .resource-link:hover {
  background-color: #333c8c;
  border-color: #333c8c;
  color: #ffffff;
}

.section-light .resource-link-tag {
  color: #1f2328;
}

.section-light .spec-name,
.section-light .mini-gallery-title {
  color: #1f2328;
}

.section-light .spec-desc {
  color: #4b5563;
}

.section-light .spec-grid li {
  border-bottom-color: #d0d4da;
}

.section-light .diagram-caption {
  color: #4b5563;
}

.section-light .brand-credit-text {
  color: #374151;
}

.section-light .brand-credit-link {
  color: #1f2328;
}

.section-light .brand-credit-link:hover {
  color: #1f2328;
}

.section-light .hero-cta,
.section-light .form-submit {
  border-color: #333c8c;
  color: #333c8c;
}

.section-light .hero-cta:hover,
.section-light .form-submit:hover {
  background-color: #333c8c;
  color: #ffffff;
}

.section-light .form-fieldset-legend {
  color: #333c8c;
  border-bottom-color: #d0d4da;
}

.section-light .form-label {
  color: #4b5563;
}

.section-light .form-optional {
  color: #8a97a6;
}

.section-light .form-input {
  background-color: #fff;
  border-color: #d0d4da;
  color: #1f2328;
}

.section-light .form-input::placeholder {
  color: #8a97a6;
}

.section-light .form-input:focus {
  border-color: #1f2328;
}

.section-light .form-note,
.section-light .form-submit-note {
  color: #4b5563;
}

.section-light .form-status-success {
  color: #1e7a43;
}

.section-light .form-status-error {
  color: #b23a3a;
}

/* ===== RESOURCE LINKS (PDF datasheets, etc.) ===== */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: left;
}

/* Left-align under the spec grid instead of centering (ASP Family section).
   Width matches one spec-grid column (760px max-width, 2rem gap, 2 columns). */
.resource-list--left {
  margin-left: 0;
  margin-right: 0;
  max-width: calc((760px - 2rem) / 2);
}

.resource-list--left .resource-link {
  color: #1f2328;
  font-weight: 700;
}

.resource-list--left .resource-link:hover {
  color: #ffffff;
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid #d0d4da;
  color: #4b5563;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.resource-link:hover {
  background-color: #333c8c;
  border-color: #333c8c;
  color: #ffffff;
}

.resource-link-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4b5563;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.resource-link:hover .resource-link-tag {
  color: #4b5563;
}

/* ===== WARRANTY FORMS (Registration & Claim) ===== */
.form-narrow {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

@media (max-width: 640px) {
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

.form-fieldset {
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-fieldset-legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #374151;
  padding: 0 0 0.25rem;
  border-bottom: 1px solid #d0d4da;
  margin-bottom: 0.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
}

.warranty-callout {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  border-left: 3px solid #1f2328;
  text-align: left;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

.form-submit-note {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-photo-wrap {
  background-color: #e6e8eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.product-photo {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-photo-wrap-dark {
  background-color: #e6e8eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spec-list {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}

.spec-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid #d0d4da;
}

.spec-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f2328;
  margin-bottom: 0.35rem;
}

.spec-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.diagram-caption {
  font-size: 0.85rem;
  color: #4b5563;
  margin-top: 1.25rem;
}

.brand-credit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.brand-credit-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-credit-text {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.5;
}

.brand-credit-link {
  color: #4b5563;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.brand-credit-link:hover {
  color: #333c8c;
}

@media (max-width: 768px) {
  .product-photo-wrap,
  .product-photo-wrap-dark {
    height: 320px;
    padding: 2rem;
  }
}

/* Applied via <div class="about-inner about-inner--flip"> to put the photo on
   the right; stacks photo-first on small screens, same as the default. */
@media (min-width: 769px) {
  .about-inner--flip > .product-photo-wrap-dark {
    order: 2;
  }
}

/* ===== COMPACT PRODUCT PAGE ===== */
/* Applied via <body class="compact-page"> — fits a product page into far
   less scrolling by letting sections size to their content instead of
   forcing each one to fill the viewport. */
.compact-page .about-section {
  min-height: 0;
}

.compact-page .about-inner {
  min-height: 0;
}

.compact-page .about-image-wrap {
  min-height: 380px;
}

.compact-page .about-content {
  padding: 3.5rem 3rem;
}

.compact-page .page-section {
  min-height: 0;
}

.compact-page .section-inner {
  padding: 3.5rem 2rem;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.5rem;
  margin-top: 0.5rem;
  text-align: left;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.capability-item::before {
  content: '\2713';
  color: #1f2328;
  font-weight: 700;
  flex-shrink: 0;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.mini-gallery-card .product-photo-wrap {
  height: 260px;
  margin-bottom: 1.25rem;
}

.mini-gallery-card .product-photo-wrap .product-photo {
  max-height: 100%;
}

.mini-gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f2328;
  margin-bottom: 0.5rem;
}

.mini-gallery-text {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

.section-inner .capability-list {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
  max-width: 760px;
  margin: 1rem auto 0;
  text-align: left;
}

.spec-grid li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #d0d4da;
}

.spec-grid li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .capability-list,
  .mini-gallery,
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
