/* What Are We — extends Contact Us layout (contactus.css) */

/* Hero image — match products page right-side sizing and alignment */
section.hero.page-hero.page-hero-layout .hero-image-container.page-hero__image {
  flex: 0 0 320px;
  width: 320px;
  height: 320px;
  min-width: 320px;
  min-height: 320px;
  padding: 20px;
  box-sizing: border-box;
  align-self: center;
}

section.hero.page-hero.page-hero-layout #waw-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  section.hero.page-hero.page-hero-layout .hero-image-container.page-hero__image {
    flex: 0 0 240px;
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  section.hero.page-hero.page-hero-layout .hero-image-container.page-hero__image {
    flex: 0 0 auto;
    width: min(100%, 200px);
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 0;
  }
}

.waw-section {
  margin-bottom: 5rem;
}

.waw-section:last-child {
  margin-bottom: 0;
}

.waw-section-lead {
  max-width: 900px;
  margin: -2rem auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}

.waw-intro-card {
  max-width: 1000px;
  margin: 0 auto;
}

.waw-intro-body {
  padding-right: 130px;
}

.waw-intro-body p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.waw-intro-body p:last-child {
  margin-bottom: 0;
}

.waw-content-card {
  max-width: 1000px;
  margin: 2rem auto 0;
  background: #f5f5f5;
  padding: 1.75rem 2rem;
  border-radius: 0;
  border: 1px solid #dddddd;
  border-top: 2px solid #ff0000;
  box-shadow: none;
}

.waw-content-card:hover {
  transform: translateY(-4px);
  border: 2px solid #ff0000;
}

.waw-content-card p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.waw-content-card p:last-child {
  margin-bottom: 0;
}

.waw-bu-grid {
  max-width: 1000px;
}

/* Unified card spacing — matches Contact Us poc-grid (2rem gap) */
.waw-card-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.waw-card-stack .waw-content-card,
.waw-card-stack .waw-bu-grid,
.waw-card-stack .poc-grid {
  margin: 0;
  max-width: none;
  width: 100%;
}

.waw-social-section .waw-social-grid {
  gap: 2rem;
}

.waw-card-text {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.waw-card-text:last-child {
  margin-bottom: 0;
}

.waw-clients-card {
  max-width: 1000px;
  margin: 2rem auto 0;
}

/* Match homepage testimonial cards — grey box with red top line */
.waw-section .poc-card,
.waw-intro-card.office-card {
  background: #f5f5f5;
  border: 1px solid #dddddd;
  border-top: 2px solid #ff0000;
  border-radius: 0;
  box-shadow: none;
}

.waw-section .poc-card:hover,
.waw-intro-card.office-card:hover {
  transform: translateY(-4px);
  border: 2px solid #ff0000;
  box-shadow: none;
}

.waw-clients-list {
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* Core Values — content kept as-is, styled to align with Contact Us */
.core-values-section {
  margin-top: 5rem;
  padding-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: #f5f5f5;
  padding: 1.75rem;
  border-radius: 0;
  border: 1px solid #dddddd;
  border-top: 2px solid #ff0000;
  transition: all 0.25s ease;
  text-align: center;
  box-shadow: none;
}

.value-card:hover {
  transform: translateY(-4px);
  border: 2px solid #ff0000;
  box-shadow: none;
}

.value-card h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #718096;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.value-card p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .waw-intro-body {
    padding-right: 0;
    padding-top: 4.5rem;
  }

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

  .waw-section {
    margin-bottom: 3.5rem;
  }

  .waw-content-card {
    padding: 1.25rem 1.5rem;
  }

  .waw-card-stack,
  .waw-social-section .waw-social-grid {
    gap: 2rem;
  }
}
