/* ========== What We Do Page Styles ========== */

/* ---------- Hero Section ---------- */
.wwd-hero {
  background: var(--white);
  padding: 6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wwd-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.wwd-hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 3.5vw + 1rem, 3.6rem);
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 1.2rem;
}

.wwd-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--navy-700);
  margin: 0 0 2.5rem;
  max-width: 50ch;
}

.wwd-hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.wwd-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wwd-flow-diagram {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.flow-box {
  transition: fill 0.25s ease, stroke-width 0.25s ease;
}

.flow-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Ecosystem Section ---------- */
.wwd-ecosystem {
  background: var(--mist);
  padding: 6rem 1.5rem;
}

.wwd-ecosystem-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.wwd-section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.8vw + 0.8rem, 2.8rem);
  line-height: 1.2;
  color: var(--navy-900);
  text-align: center;
  margin: 0 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
}

.ecosystem-category {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecosystem-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 33, 54, 0.08);
}

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

.category-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.category-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  margin: 0;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-list li {
  font-size: 0.9rem;
  color: var(--navy-700);
  padding-left: 1.2rem;
  position: relative;
}

.category-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ---------- Connections Section ---------- */
.wwd-connections {
  background: var(--white);
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
}

.wwd-connections-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.connection-visual {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.connection-diagram {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.conn-box {
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.conn-start {
  fill: var(--navy-900);
}

.conn-end {
  fill: var(--green-600);
}

.conn-branch {
  fill: var(--navy-700);
}

.conn-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.connection-copy {
  max-width: 700px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.connection-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--navy-700);
  margin: 0 0 1.2rem;
}

.connection-text strong {
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------- Strategy Section ---------- */
.wwd-strategy {
  background: var(--mist);
  padding: 6rem 1.5rem;
}

.wwd-strategy-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.strategy-intro {
  font-size: 1.05rem;
  color: var(--navy-700);
  margin: 1.5rem 0;
}

.strategy-checklist {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.strategy-checklist li {
  font-size: 0.95rem;
  color: var(--navy-700);
  padding-left: 1.8rem;
  position: relative;
}

.strategy-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
  font-size: 1.2rem;
}

.strategy-flow {
  width: 100%;
  height: auto;
}

.strat-box {
  transition: fill 0.25s ease;
}

.strat-label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

/* ---------- Services Section ---------- */
.wwd-services {
  background: var(--white);
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
}

.wwd-services-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 33, 54, 0.12);
  border-color: var(--green-600);
}

.service-header {
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-900);
  margin: 0 0 0.5rem;
}

.service-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--navy-700);
  margin: 0 0 1.5rem;
}

.service-bullets {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--navy-500);
  padding-left: 1.2rem;
  position: relative;
}

.service-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-600);
  transition: color 0.2s ease;
}

.service-link:hover {
  color: var(--green-700);
}

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

/* ---------- Systems Section ---------- */
.wwd-systems {
  background: var(--mist);
  padding: 6rem 1.5rem;
}

.wwd-systems-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.systems-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy-700);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 3rem;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.system-example {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s ease;
}

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

.system-type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  margin: 0 0 0.8rem;
}

.system-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--navy-700);
  margin: 0 0 1.5rem;
}

.system-services {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.system-service {
  display: inline-block;
  background: var(--mist);
  color: var(--green-600);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid var(--line);
}

.systems-note {
  max-width: 800px;
  margin: 3.5rem auto 0;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--navy-700);
}

.systems-note p {
  margin: 0;
}

.systems-note strong {
  color: var(--navy-900);
}

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

/* ---------- Tech + Human Section ---------- */
.wwd-tech-human {
  background: var(--white);
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
}

.wwd-tech-human-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.tech-flow {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 3rem auto;
  display: block;
}

.tech-box {
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.tech-ai {
  fill: var(--green-600);
}

.tech-human-box {
  fill: var(--navy-900);
}

.tech-execution {
  fill: var(--navy-700);
}

.tech-measure {
  fill: var(--green-600);
}

.tech-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tech-label-sub {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.tech-what {
  margin-top: 0.5rem;
}

.tech-what-title {
  letter-spacing: 0.01em;
}

.tech-what-item {
  letter-spacing: 0.01em;
}

.tech-benefits {
  line-height: 1.8;
}

.benefit-label {
  letter-spacing: 0.01em;
}

.benefit-item {
  letter-spacing: 0.01em;
}

.benefit-desc {
  letter-spacing: 0.01em;
}

/* ---------- Execution Section ---------- */
.wwd-execution {
  background: var(--mist);
  padding: 6rem 1.5rem;
}

.wwd-execution-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.execution-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy-700);
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 3rem;
}

.execution-flow {
  width: 100%;
  height: auto;
  margin: 3rem 0;
  display: block;
}

.exec-box {
  transition: fill 0.25s ease;
}

.exec-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 13px;
}

.execution-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.execution-point {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.execution-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  margin: 0 0 1rem;
}

.execution-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--navy-700);
  margin: 0;
}

@media (max-width: 900px) {
  .execution-details { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .execution-details { grid-template-columns: 1fr; }
}

/* ---------- Final CTA Section ---------- */
.wwd-final-cta {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: 6rem 1.5rem;
  text-align: center;
  color: var(--white);
}

.wwd-final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.wwd-cta-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.5vw + 1rem, 2.8rem);
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 1rem;
}

.wwd-cta-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2.5rem;
}

.wwd-cta-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: #4C8A24;
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 900px) {
  .wwd-hero-inner,
  .wwd-strategy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .wwd-hero-h1 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.4rem); }
  .wwd-section-heading { font-size: clamp(1.6rem, 2.2vw + 0.5rem, 2.2rem); }
}

@media (max-width: 600px) {
  .wwd-hero,
  .wwd-ecosystem,
  .wwd-connections,
  .wwd-strategy,
  .wwd-services,
  .wwd-systems,
  .wwd-tech-human,
  .wwd-execution,
  .wwd-final-cta {
    padding: 4rem 1.2rem;
  }

  .wwd-hero-h1 { font-size: 1.6rem; }
  .wwd-hero-sub { font-size: 1rem; }
  .wwd-section-heading { font-size: 1.5rem; }

  .wwd-hero-actions { flex-direction: column; }
  .wwd-cta-actions { flex-direction: column; }

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

  .strategy-checklist { grid-template-columns: 1fr; }

  .ecosystem-grid { gap: 1.5rem; }
}

/* ---------- Print & Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .ecosystem-category,
  .service-card,
  .system-example {
    transition: none;
  }
}

@media print {
  .wwd-hero-actions,
  .wwd-cta-actions {
    display: none;
  }
}
